Skip to main content
GET
/
runs
/
{runId}
Get a run
curl --request GET \
  --url https://api.subconscious.dev/v1/runs/{runId} \
  --header 'Authorization: Bearer <token>'
{
  "runId": "<string>",
  "status": "queued",
  "result": {
    "answer": "<string>",
    "reasoning": {}
  },
  "usage": {
    "inputTokens": 123,
    "outputTokens": 123,
    "toolCalls": {},
    "durationMs": 123
  },
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key generated on the Subconscious platform

Path Parameters

runId
string
required

The ID of the run to retrieve

Response

Run details

runId
string
required

Unique identifier for the run

status
enum<string>
required

Current status of the run

Available options:
queued,
running,
succeeded,
failed,
canceled,
timed_out
result
object

Run result (only present for terminal states)

usage
object

Token usage and timing (only present for terminal states)

error

Error details (only present for failed runs)