Run Steps
Retrieve run step
Retrieve a run step.
GET
/
v1
/
threads
/
{threadId}
/
runs
/
{runId}
/
steps
/
{stepId}
Authorizations
X-Tune-Key
string
headerrequiredTune API Keys are the preferred way to authenticate with the API. You can create an API Key from your Tune Studio Profile → 'Access Keys' (in sidebar)
Path Parameters
threadId
string
requiredThe ID of the thread that was run.
runId
string
requiredThe ID of the run the run step belongs.
stepId
string
requiredThe ID of the run step to retrieve.
Response
200 - application/json
id
string
The ID of the step.
object
string
"thread.run.step".
createdAt
string
The time the step was created.
assistantId
string
threadId
string
The ID of the thread.
runId
string
The ID of the run.
type
string
"tool_calls" or "message_creation".
status
string
in_progress, cancelled, failed, completed, or expired..
stepDetails
object
lastError
object
expiresAt
string
The time the step expires.
cancelledAt
string
The time the step was cancelled.
completedAt
string
The time the step was completed.
failedAt
string
The time the step failed.
metadata
object
The metadata for the step.
usage
object
Was this page helpful?