Retrieve a ChatKit thread
$ openai beta:chatkit:threads retrieve
GET
/chatkit/threads/{thread_id}Retrieve a ChatKit thread by its identifier.
Retrieve a ChatKit thread
openai beta:chatkit:threads retrieve \
--api-key 'My API Key' \
--thread-id cthr_123Response example
{
"id": "cthr_abc123",
"object": "chatkit.thread",
"title": "Customer escalation",
"created_at": 1712345600,
"status": {
"type": "active"
},
"user": "user_123"
}
Returns Examples
Response example
{
"id": "cthr_abc123",
"object": "chatkit.thread",
"title": "Customer escalation",
"created_at": 1712345600,
"status": {
"type": "active"
},
"user": "user_123"
}