agent_id
as a path parameter.agent_id
, follow this guide:201 Created
response with:id
of the created chat thread.created_by
, created_on
, and optional fields like corpus_id
and chat_id
.is_deleted
.agent
and user
IDs.title
of the chat thread for identification.curl --location -g --request POST 'https:///v2/api/agent/0/chat-thread' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '
{
"success": true,
"message": "Chat Thread created successfully.",
"data": {
"id": 1002,
"corpus_id": null,
"created_by": "user@example.com",
"created_on": "2025-01-24T22:55:14.774136Z",
"modified_by": "",
"modified_on": "2025-01-24T22:55:14.774166Z",
"title": "Sample Thread Title",
"is_deleted": false,
"chat_id": null,
"agent": 101,
"user": 500
}
}