Path parameters
-
The ID of the assistant to retrieve.
GET
/assistants/{assistant_id}
curl \
-X GET https://api.openai.com/v1/assistants/{assistant_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"object": "assistant",
"created_at": 42,
"name": "string",
"description": "string",
"model": "string",
"instructions": "string",
"tools": [
{
"type": "code_interpreter"
}
],
"tool_resources": {
"code_interpreter": {
"file_ids": []
},
"file_search": {
"vector_store_ids": [
"string"
]
}
},
"metadata": {},
"temperature": 1,
"top_p": 1,
"response_format": "none"
}