Poll job status, cost and artifacts

Text in a finished job's result (answers, reasoning, tool calls, transcripts, prompts) is deleted five minutes after the first read of the finished job and at most one hour after it finishes; the result then carries text_expired: true. Status, usage, cost and receipts remain.

get/jobs/{id}

Request

  • Base URL: https://api.openmayhem.ai/v1
  • URL: https://api.openmayhem.ai/v1/jobs/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Job id.

Response

The job.

idstring
status'submitted' | 'running' | 'reconciling' | 'completed' | 'failed' | 'cancelled'
polling_urlstring
coststring

USD, set once settled.

retail_cost_limitstring nullable

Effective per-request retail USD cap after combining request and API-key limits.

routingobject

Validated routing controls frozen when the job was submitted.

Changes

No recorded changes to this operation across all 1 revision of this API.