curl --request POST \
--url https://api.orq.ai/v2/conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"entityId": "<string>",
"generatingTitle": true
},
"displayName": "Support Chat #1234"
}
'{
"entityId": "<string>",
"kind": "conversation",
"displayName": "<string>",
"createdAt": 123,
"updatedAt": 123,
"_id": "conv_01kd6fjj8e7qh48zwfsfwbaba1",
"createdById": "<string>",
"updatedById": "<string>",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}Creates a new conversation in the workspace. Conversations serve as containers for organizing related messages and interactions. Each conversation is assigned a unique identifier and timestamps for tracking.
curl --request POST \
--url https://api.orq.ai/v2/conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"entityId": "<string>",
"generatingTitle": true
},
"displayName": "Support Chat #1234"
}
'{
"entityId": "<string>",
"kind": "conversation",
"displayName": "<string>",
"createdAt": 123,
"updatedAt": 123,
"_id": "conv_01kd6fjj8e7qh48zwfsfwbaba1",
"createdById": "<string>",
"updatedById": "<string>",
"metadata": {
"generatingTitle": true,
"entityId": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Conversation successfully created. Returns the complete conversation object including the generated ID and timestamps.
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?