---
title: "List jobs (paged; ?label=)"
method: GET
path: "/preview/jobs"
tags: ["jobs"]
---

# List jobs (paged; ?label=)

`GET /preview/jobs`

## Request

- Base URL: `https://autoresearch.sfcompute.com`
- URL: `https://autoresearch.sfcompute.com/preview/jobs`
- Auth: HTTP bearer

List your jobs, newest first (org admins see the whole org's jobs; members see their own). `label` filters to one sweep. `summary: true` returns the rollup instead of rows: {total, by_state, failures_by_reason, oldest_queued_age_seconds, results} - `results` carries each terminal job's exit code and the JSON it wrote to $GMN_RESULT_PATH, so "which of the 100 is best" is this one call. A large queued count and a growing oldest_queued_age_seconds are not a reason to cancel or to stop submitting: a sustained backlog is what raises the fleet's procurement target for the shape, so the depth you are reading is what starts the machines that drain it (each queued job's queue.demand_note says it in full).

## Query parameters

- `cursor` string, nullable: Resume after this job id (the previous page's `next_cursor`) - keyset pagination, newest first.
- `limit` integer, nullable: Max jobs to return (default 50, cap 200).
- `label` string, nullable: Filter to one sweep's jobs by label (an indexed filter, GMAN-24).
- `workspace` string

## Request body

- object
  - `summary` boolean, nullable: true = return the rollup instead of rows: {total, by_state, failures_by_reason, oldest_queued_age_seconds, results} - "which of the 100 is best" in one call.

## Response `200`

The capability's JSON result.

- List: The list envelope every paging endpoint returns.
  - `items` Result[], required
    - `object` string: The resource type, when the result is one resource.
  - `next_cursor` string: Pass as ?cursor= for the next page. Absent on the last page. Opaque: never parse it.
  - `object` 'list', required

## Other responses

- `400`: Malformed request: bad JSON, a parameter that does not parse, or a value outside its range. Code `invalid`.
- `401`: No bearer token, or one this API cannot verify. Code `unauthenticated`.
- `403`: Authenticated, but the token's scopes or the account's role do not reach this operation. The message names the scope word to request. Code `forbidden`.
- `404`: No such route. Code `not_found`; the body names the OpenAPI document.
- `422`: A well-formed request the platform declined: no such node, a cap reached, a state that forbids the move. The message says which, and what to do instead. Code `refused`.
- `429`: Over this door's per-customer budget. Wait `Retry-After` seconds. Code `rate_limited`.
- `500`: Our fault. Retry; if it persists, quote the request-id. Code `internal`.

---

[API](https://skmtc.dev/givemeanode/apis/autoresearch-customer-api.md) · [All operations](https://skmtc.dev/givemeanode/apis/autoresearch-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/givemeanode/apis/autoresearch-customer-api/revisions/f88dcb70ac6c?raw)
