Skip to main content
Every paid call — direct or Ask — produces a run with the same shape. A run’s id is the id of the ask or call that created it.

Read a run

Both are the same endpoint. Only the key that created a run can read it.
An approved run whose worker stopped — a deploy, a crash — is resumed from its saved journal when you read it. Nothing is paid twice: work already paid for is never re-dispatched.

The run object

object | null
Apiosk’s reading of the results, with a pointer into the document behind every observation. Present when the question asked for one; null for a direct call.
array
The source documents themselves, each with the source that produced it and a result_ref you can quote in support tickets.
array
Per-step problems, each with a code and a message. A partial run has both results and errors.
object
Present when a paused run accepts a company selection or structured input. Contains the signed state and permitted actions, including their input schemas. Continue the saved task using the same API key.

Status codes