Skip to main content
GET
Get a generation run

Authorizations

X-API-Key
string
header
required

Path Parameters

run_id
string<uuid>
required

Response

Successful Response

A generation job's current state. Poll this until status is terminal.

created_at
string<date-time>
required
domain
string
required

The domain this job is researching.

error
string | null
required

Why generation failed: infra trouble, or too little public content.

id
string<uuid>
required
status
enum<string>
required

Where a context-generation job has got to.

Jobs are stored PENDING: committed, with the workflow that will work on them not yet started, which a crash between the two can leave for ever. The research's first step claims the job (RUNNING), and the deadline sweep fails one nothing ever claimed. A reader never sees PENDING: to everyone outside the repository a job waiting for its workflow is already running. The two terminal states are absorbing: a job never leaves them.

Available options:
pending,
running,
succeeded,
failed
updated_at
string<date-time>
required
steps
AiStep · object[]

What the research did, one step per piece of work once it is done: the documents and pages it read, the sections it wrote. Grows while the job runs; kept once it finishes.

Maximum array length: 40