Last updated 9 months ago
Was this helpful?
OpenAI
The ID of the thread to which the run and run step belongs.
The ID of the run to which the run step belongs.
The ID of the run step to retrieve.
Represents a step in execution of a run.
OK
{ "id": "text", "object": "thread.run.step", "created_at": 1, "assistant_id": "text", "thread_id": "text", "run_id": "text", "type": "message_creation", "status": "in_progress", "step_details": { "type": "message_creation", "message_creation": { "message_id": "text" } }, "last_error": { "code": "server_error", "message": "text" }, "expired_at": 1, "cancelled_at": 1, "failed_at": 1, "completed_at": 1, "metadata": {}, "usage": { "completion_tokens": 1, "prompt_tokens": 1, "total_tokens": 1 } }