Get a ChatThread-Corpus connection
GET
/api/v2/chat-threads/{chatthread_id}/corpora/{corpus_id}
Chat Thread/Corpus Connectionv2
This endpoint provides information about the ChatThread and the Corpus that are connected including any relevant metadata.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/chat-threads//corpora/'
Response Response Example
200 - Example 1
{
"success": true,
"message": "string",
"data": {
"id": 0,
"chatthread": {
"id": 0,
"corpus_id": 0,
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"modified_by": "string",
"modified_on": "2019-08-24T14:15:22Z",
"title": "string",
"is_deleted": true,
"chat_id": "string",
"agent": 0,
"user": 0
},
"corpus": {
"id": 0,
"indexing_mode": {
"id": 0,
"mode": "exhaustive"
},
"name": "string",
"description": "string",
"owner": {
"id": 0,
"email": "user@example.com",
"is_superuser": true,
"first_name": "string",
"last_name": "string",
"organization": {
"id": 0,
"org_name": "string"
}
},
"tags": [
"string"
]
},
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"modified_by": "string",
"modified_on": "2019-08-24T14:15:22Z",
"is_deleted": true,
"connected_by": 0
}
}
Request
Path Params
chatthread_id
integerÂ
required
corpus_id
integerÂ
required