---
title: "Poll job status, cost and artifacts"
method: GET
path: "/jobs/{id}"
---

# Poll job status, cost and artifacts

`GET /jobs/{id}`

## Request

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

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.

## Path parameters

- `id` string, required

## Response `200`

The job.

- Job
  - `id` string
  - `status` 'submitted' | 'running' | 'reconciling' | 'completed' | 'failed' | 'cancelled'
  - `polling_url` string
  - `cost` string: USD, set once settled.
  - `retail_cost_limit` string, nullable: Effective per-request retail USD cap after combining request and API-key limits.
  - `routing` object: Validated routing controls frozen when the job was submitted.
  - `artifacts` object[]
    - `id` string
    - `content_type` string
    - `size_bytes` integer

## Other responses

- `401`: Missing or invalid API key.
- `404`: Unknown job or owned by another account.

---

[API](https://skmtc.dev/openmayhem/apis/openmayhem-api.md) · [All operations](https://skmtc.dev/openmayhem/apis/openmayhem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openmayhem/apis/openmayhem-api/revisions/0ea33ad12f21?raw)
