Action required: Entity management is moving from Workspaces to Projects. Migrate your entities now. See how to move entities in our guide.
curl --request PATCH \
--url https://api.orq.ai/v2/conversations/{conversation_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "Updated Support Session",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}
'{
"kind": "conversation",
"displayName": "Product Feature Discussion",
"createdAt": 1734789600000,
"updatedAt": 1734793200000,
"_id": "conv_01jj1hdhn79xas7a01wb3hysdb",
"createdById": "user_01jj1hdhn79xas7a01wb3hysdb",
"updatedById": "user_01jj1hdhn79xas7a01wb3hysdb",
"metadata": {
"generatingTitle": true,
"entityId": "agent_01jj1hdhn79xas7a01wb3hysdb",
"model": "openai/gpt-4o"
}
}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": "Updated Support Session",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}
'{
"kind": "conversation",
"displayName": "Product Feature Discussion",
"createdAt": 1734789600000,
"updatedAt": 1734793200000,
"_id": "conv_01jj1hdhn79xas7a01wb3hysdb",
"createdById": "user_01jj1hdhn79xas7a01wb3hysdb",
"updatedById": "user_01jj1hdhn79xas7a01wb3hysdb",
"metadata": {
"generatingTitle": true,
"entityId": "agent_01jj1hdhn79xas7a01wb3hysdb",
"model": "openai/gpt-4o"
}
}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.
Resource type discriminator.
conversation Human-readable name for the conversation. Maximum 100 characters.
100"Product Feature Discussion"
Unix timestamp in milliseconds when the conversation was created.
1734789600000
Unix timestamp in milliseconds when the conversation was last modified.
1734793200000
Unique conversation identifier with conv_ prefix.
"conv_01jj1hdhn79xas7a01wb3hysdb"
Identifier of the user or system that created the conversation.
"user_01jj1hdhn79xas7a01wb3hysdb"
Identifier of the user or system that last modified the conversation.
"user_01jj1hdhn79xas7a01wb3hysdb"
Additional conversation metadata.
Show child attributes
Was this page helpful?