GET
/
v1
/
threads
/
{threadId}
/
runs
/
{runId}
/
steps
/
{stepId}

Authorizations

X-Tune-Key
string
header
required

Tune 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
required

The ID of the thread that was run.

runId
string
required

The ID of the run the run step belongs.

stepId
string
required

The ID of the run step to retrieve.

Response

200 - application/json
assistantId
string
cancelledAt
string

The time the step was cancelled.

completedAt
string

The time the step was completed.

createdAt
string

The time the step was created.

expiresAt
string

The time the step expires.

failedAt
string

The time the step failed.

id
string

The ID of the step.

lastError
object
metadata
object

The metadata for the step.

object
string

"thread.run.step".

runId
string

The ID of the run.

status
string

in_progress, cancelled, failed, completed, or expired..

stepDetails
object
threadId
string

The ID of the thread.

type
string

"tool_calls" or "message_creation".

usage
object