curl --location --request GET 'https://api.openai.com/v1/threads/thread_abc123/runs/run_abc123/steps/step_abc123' \
--header 'Authorization: Bearer $OPENAI_API_KEY' \
--header 'OpenAI-Beta: assistants=v1' \
--header 'Content-Type: application/json'
{
"id": "string",
"object": "string",
"created_at": 0,
"run_id": "string",
"assistant_id": "string",
"thread_id": "string",
"type": "string",
"status": "string",
"cancelled_at": null,
"completed_at": 0,
"expired_at": null,
"failed_at": null,
"last_error": null,
"step_details": {
"type": "string",
"message_creation": {
"message_id": "string"
}
},
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}