curl --request PATCH \
--url https://api.orq.ai/v2/conversations/{conversation_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "Renamed Conversation",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}
'{
"entityId": "<string>",
"kind": "conversation",
"displayName": "<string>",
"createdAt": 123,
"updatedAt": 123,
"_id": "conv_01kd6fjj8ppaa2f5nj5q1j0ft2",
"createdById": "<string>",
"updatedById": "<string>",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}Modifies an existing conversation’s properties. Only the fields provided in the request body will be updated; all other fields remain unchanged. Changes are applied immediately.
curl --request PATCH \
--url https://api.orq.ai/v2/conversations/{conversation_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "Renamed Conversation",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}
'{
"entityId": "<string>",
"kind": "conversation",
"displayName": "<string>",
"createdAt": 123,
"updatedAt": 123,
"_id": "conv_01kd6fjj8ppaa2f5nj5q1j0ft2",
"createdById": "<string>",
"updatedById": "<string>",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the conversation to update
"conv_01jj1hdhn79xas7a01wb3hysdb"
Conversation successfully updated. Returns the complete updated conversation object.
Identifier of the parent entity (agent, deployment, etc.) this conversation belongs to.
Type discriminator indicating this is a conversation
conversation Display name for the conversation. Can be auto-generated or set by the user.
100Unix timestamp (in milliseconds) when the conversation was created
Unix timestamp (in milliseconds) when the conversation was last updated
Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the conversation, prefixed with "conv_"
Optional identifier of the user or agent that created the conversation
Optional identifier of the user or agent that last updated the conversation
Optional metadata associated with the conversation.
Show child attributes
Was this page helpful?