Get Chat Thread
GET
/thread/get/{chatThread_id}
Chat APIs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/thread/get/1'
Response Response Example
[
{
"id": 7,
"comments": [],
"feedback": [],
"question": "Tell me about conflict resolution skills",
"response": {
"query": "'Share information on conflict resolution skills with Saad Shaikh'",
"answer": "Sorry, couldn't find the answer in the provided documents.",
"indexes": [],
"sources": "",
"cache_hit": false,
"references": [],
"total_tokens": 2594,
"prompt_tokens": 2153,
"completion_tokens": 441,
"followup_questions": [
"1. How can individuals enhance their conflict resolution skills in both personal and professional settings?",
"2. What are some effective strategies for de-escalating conflicts and promoting positive resolutions?",
"3. In what ways can the practice of active listening contribute to successful conflict resolution outcomes?"
]
},
"created_by": "sshaikh@datasciencedojo.com",
"created_on": "2024-01-23T00:28:40.170307Z",
"is_deleted": false,
"total_tokens": 2594,
"prompt_tokens": 2153,
"completion_tokens": 441,
"cache_hit": false,
"query_source": "web",
"message_id": null,
"chat_thread": 1,
"agent": 19,
"user": 2,
"llm_config": null
}
]
Request
Path Params
chatThread_id
integer
required
Example:
1