Path parameters
-
The ID of the thread to retrieve.
GET
/threads/{thread_id}
curl \
-X GET https://api.openai.com/v1/threads/{thread_id} \
-H "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": {}
}