GET
/threads/{thread_id}
curl \
--request GET 'https://api.openai.com/v1/threads/{thread_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"object": "thread",
"created_at": 42,
"tool_resources": {
"code_interpreter": {
"file_ids": []
},
"file_search": {
"vector_store_ids": [
"string"
]
}
},
"metadata": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}