Skip to main content
GET
Read a run

Authorizations

Authorization
string
header
required

An organisation API key: Authorization: Bearer apk_org_live_…

Path Parameters

id
string<uuid>
required

Query Parameters

wait_seconds
integer
default:25
Required range: 0 <= x <= 55
limit
integer
Required range: 1 <= x <= 50

Response

Success

id
string<uuid>
status
enum<string>
Available options:
requires_approval,
running,
completed,
partial,
needs_input,
needs_selection,
unsupported,
cancelled,
failed
question
string
plan
object
answer
object | null

Apiosk's reading of the results, with evidence pointers. Null for a direct call.

data
object

The source document, when the run produced exactly one.

results
object[]
usage
object
balance
object
errors
object[]
retry_after_ms
integer