> ## Documentation Index
> Fetch the complete documentation index at: https://weights.fyi/run/llms.txt

# GET /v1/jobs/{job_id}/results

```text
GET https://weights.fyi/run/v1/jobs/<job_id>/results[?after=<seq>][&limit=<1 to 1,000>]
Authorization: Bearer <token>                    scope: read
```

**Available since:** 2026-10-08, when the service went live on weights.fyi/run, training jobs included. finished rows only with `complete`, and the trained model's `artifact`.

**Answer time:** synchronous: the answer holds the results written so far and never waits for more.

Returns what a job produced: for a page job one row per page in the order sent, with its label and probabilities; for a training job the record of the training, with every epoch's metrics, the model, the resumes and the checkpoints. You can read at any moment. A page job's answer holds only finished rows, as an unbroken run from your cursor: it stops before the first page that is still waiting or with the model, so a page that finishes out of order is returned once the pages before it have finished.

A page job pages by `seq`: at most 1,000 rows (or `limit`) after `after`, and `next_after` to ask after next, `null` at the job's last page. Each page is answered exactly once, through moves to new hardware too, and its text is deleted once its result is written, so these rows are the only record ([Jobs, progress and results](/run/docs/jobs.md#results-exactly-once)). `input_sha` is the SHA-256 of the text you sent, so you can match and prove results without ids; in Python, `hashlib.sha256(text.encode("utf-8")).hexdigest()`.

## Request

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | `Bearer` and your token. The token needs the `read` scope. Reads are not counted against the token's request rate. |
| `job_id` | path | yes | The job whose results you read. |
| `after` | query | no | For a page job: list the rows after this `seq`, a whole number from 0 to the job's number of pages. The default is 0, the beginning. |
| `limit` | query | no | For a page job: list at most this many rows, from 1 to 1,000. The default is 1,000. |

## Return value

**200 OK** with one object.

### A page job

| Field | Meaning |
|---|---|
| `job_id` | The job's identifier. |
| `status` | The job's status at the moment of reading: `QUEUED`, `RUNNING`, `SUCCEEDED`, `FAILED` or `CANCELLED`. |
| `results` | The finished rows after `after`, in `seq` order without a gap, at most `limit` of them. Never a waiting or running page. |
| `results[].seq` | The page's sequence number, 1 for the first page you sent. |
| `results[].id` | Your own identifier for the page, as text, or `null` when you sent none. |
| `results[].input_sha` | The SHA-256 of the page's UTF-8 text, 64 hexadecimal characters. |
| `results[].label` | The role the model gives the page: `detail`, `listing`, `landing`, `not_vacancy` or `unresolved`; `null` on a failed or cancelled page. |
| `results[].probabilities` | The model's calibrated probability for each of the five labels, as an object from label to number; `null` on a failed or cancelled page. |
| `results[].status` | `done`, `failed` or `cancelled` (stopped before it was sent). A row is returned only once it holds one of these three; pages still `queued` or `leased` are never listed. |
| `results[].error` | Why a page failed: `page_too_large` (did not fit one call), the model's own code when it refused the page, or `max_tries:` and the last fault's code after 3 failures on our side; otherwise `null`. |
| `next_after` | The `seq` of the last row returned, to send as `after` next; unchanged from your `after` when no further row has finished. `null` once the job has ended and this answer reaches its last page. |
| `complete` | `true` once the job has finished and this answer reached its last row; until then `next_after` stays a number, `Retry-After: 1` is sent, and `results` holds only an unbroken run of finished rows from your cursor, stopping before the first unfinished one. An unmoved cursor means: wait and ask again. |

### A training job

| Field | Meaning |
|---|---|
| `job_id`, `status` | As for a page job. |
| `kind` | `finetune`. |
| `state` | Where the training is: `queued`, `preparing`, `training`, `moving`, `finishing`, or `done` once the job is finished. |
| `stop_reason` | Why the training stopped: `epoch_limit`, `validation_patience`, `cancelled`, `failed`, or another word from the training; `null` while it runs. |
| `error` | The code a failed job ended with; otherwise `null`. |
| `model` | The trained model, or `null` before there is one: `id` (`ft_` followed by the job's 24 hexadecimal characters), `base` (the model it was trained from), `best_epoch` and `best_step` (where it came from), `macro_f1` (its validation score), `can_run` (`false` for now) and `note` (one sentence on running it). `artifact`, with `path` (the address of [GET /v1/jobs/{job_id}/model.safetensors](/run/docs/reference/jobs-model.md)), `sha256` (the weights' digest) and `format` (`safetensors`), and a `note` that says to load the weights with the base model's configuration and tokenizer. |
| `epochs` | One entry per finished epoch, in order: `epoch`; the validation `accuracy`, `brier` score, `ece` (expected calibration error), `f1` per label, `macro_f1`, `nll` (negative log-likelihood) and `pages`; `confusion`, the confusion matrix over the five labels; `improved`, whether it beat every earlier epoch; `elapsed_seconds`; and `recorded_at`, when the service recorded it. |
| `coverage` | How many pages the training used: `train_pages` and `validation_pages`, as the training reported them. |
| `resumes` | One entry per resume after a move: `at`, when it happened; `from_step`, the step it resumed from; `last_step_seen` and `last_checkpoint_step`, the last step the service had seen and the checkpoint the training resumed from; `lost_steps` and `lost_steps_seen`, the steps done again; `taken_back`, whether the hardware was taken back; `source`, where the checkpoint was read from; and `node_attempt`, the count of the training's restarts, under the name the service gives it. |
| `steps_lost_total` | The steps done again over every resume. |
| `checkpoints.best` | The `epoch` and `step` of the checkpoint the model was made from, or `null`. |
| `checkpoints.latest` | The `step` of the last checkpoint saved and when (`at`), or `null`. |
| (paging) | A training job's results are one object: `after` and `limit` are ignored, and the fields grow epoch by epoch, `model` staying `null` until the end. |

## Errors

| Status | Code | When it happens | What to do |
|---|---|---|---|
| `400` | `invalid_parameter` | `after` or `limit` is not a whole number. | Send whole numbers. |
| `400` | `parameter_out_of_range` | `after` is below 0 or above the job's number of pages, or `limit` is outside 1 to 1,000; `low` and `high` give the bounds. | Stay inside them. Note that `after` above the job's size is refused rather than answered with an empty list. |
| `401` | `unauthorized`, `invalid_token`, `token_revoked`, `token_expired` | No token, or one that does not work (any more). | Use a valid token. |
| `403` | `scope_required`, `account_suspended` | The token lacks `read`, or the account is suspended. | Use a token with `read`; for a suspended account, talk to us. |
| `404` | `job_not_found` | The job does not exist or belongs to another account. | Check the id. |

## Examples

The first two rows of a five-page job, from a test copy of the service:

```sh
curl -s "https://weights.fyi/run/v1/jobs/JOB_ID/results?after=0&limit=2" -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

```json
{
  "job_id": "job_5e7c50ca2489d324a215b0ba",
  "status": "SUCCEEDED",
  "results": [
    {"seq": 1, "id": "page-000001", "input_sha": "809f756b65c64bed8fc568254ad4604343a41d876d22f6334503ea587cb1ffc0",
     "label": "listing",
     "probabilities": {"detail": 0.04, "listing": 0.88, "landing": 0.05, "not_vacancy": 0.02, "unresolved": 0.01},
     "status": "done", "error": null},
    {"seq": 2, "id": "page-000002", "input_sha": "9de63a8f1489ec0fd159882d2e10e8ed92177a667f42e3d3284a7a86485fb6a2",
     "label": "detail",
     "probabilities": {"detail": 0.91, "listing": 0.03, "landing": 0.02, "not_vacancy": 0.03, "unresolved": 0.01},
     "status": "done", "error": null}
  ],
  "next_after": 2
}
```

## Patterns

### Reading results exactly once

Store each batch of rows together with the new cursor, so a crash cannot skip or repeat a page:

```sh
after=0
while [ "$after" != "null" ]; do
  curl -s "https://weights.fyi/run/v1/jobs/JOB_ID/results?after=$after" -H "Authorization: Bearer $WEIGHTS_API_KEY" > page.json
  jq -c '.results[]' page.json >> results.ndjson
  next=$(jq -r .next_after page.json)
  [ "$next" = "$after" ] && sleep 1   # no further row has finished yet: the answer's Retry-After
  after=$next
done
```

It is safe while the job still runs: every row returned is final, so append them all. When `next_after` comes back unchanged the loop waits the answer's `Retry-After`, one second, and it ends when `next_after` is `null`. For a whole job as one file, use [results.ndjson](/run/docs/reference/jobs-results-ndjson.md).

## History

- 2026-10-08: live: rows by `seq` with `after`, `limit` and `next_after`, each page answered once across a move (checked on 200,000 pages in the live drill); a training job's record.
- 2026-10-10 implementation review: finished rows only, `complete`, `Retry-After: 1`; the model's `artifact`.
- 2026-11-16: removed the claim that waiting and running rows are listed; the answer is the unbroken run of finished rows.

## See also

[GET /v1/jobs/{job_id}](/run/docs/reference/jobs-get.md), [GET /v1/jobs/{job_id}/model.safetensors](/run/docs/reference/jobs-model.md), [Fine-tune a model](/run/docs/fine-tune.md).
