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

# GET /v1/compute/plans

```text
GET https://weights.fyi/run/v1/compute/plans
Authorization: Bearer <token>                    scope: read
```

**Available since:** 2026-10-31: included in this build; see [What is live](/run/docs/what-is-live.md) for deployment status.

**Answer time:** synchronous snapshot; reads current progress without advancing scheduling.

Lists the ComputePlans owned by the calling account, newest first, with each stage's progress and pack counts. Another account's plans never appear. Use it to see what is queued, running or finished without keeping your own index of plan identifiers. A plan that waits here (`queued`, `waiting_price`, `ready_to_wake`, `waiting_capacity`) costs nothing while it waits ([Queued work](/run/docs/how-it-works.md#queued-work)).

Pages hold at most `limit` plans. When more remain, `next_cursor` is a string: send it as `cursor`, with the same filters, for the next page. It is null on the last page. Plans are ordered by admission time, then by `plan_id`, both descending.

## Request

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | Bearer token with `read`. |
| `state` | query | no | A plan state from [the receipt](/run/docs/reference/compute-plans-get.md), or `active` for every plan not `completed`, `failed` or `cancelled`. |
| `wake_policy` | query | no | `standard`, `scavenger_stream` or `piggyback`. |
| `qos_priority` | query | no | The QoS tier the schedule declares (`qos_priority`, else `qos_tier`, else `qos`); a value from [capabilities](/run/docs/reference/compute-capabilities.md) `qos_classes`. Plans that declare none match no value. |
| `limit` | query | no | Integer 1–200; default 50. |
| `cursor` | query | no | The `next_cursor` of an earlier page. |
| `scope` | query | no | `workspace`, the default: every plan of the workspace your credential acts in. `mine`: the plans submitted with this key; for a signed-in person, the plans you submitted and those submitted with any key you issued in this workspace. A credential that names no person and no key has nothing of its own and is refused `mine`. |

Each parameter may be given once. Unknown parameters are refused, so a misspelt filter never lists everything.

## Return value

**200 OK** with an object:

| Field | Meaning |
|---|---|
| `plans` | Array of plan summaries, newest admission first. |
| `next_cursor` | String for the next page, or null. |
| `limit` | The page size used. |
| `plans[].plan_id`, `operation_key`, `tenant_id` | The plan's identity. |
| `plans[].state` | Plan state, as in the receipt. |
| `plans[].created_at_ms`, `updated_at_ms` | Integer Unix timestamps in milliseconds. |
| `plans[].wake_policy`, `qos_priority` | The schedule's wake policy (`standard` may start capacity; `scavenger_stream` and `piggyback` only use what already runs), and its declared QoS tier or null. |
| `plans[].qos_class` | `standard` or `flex`: the class the tier resolves to. The scheduling weight is a third thing: 4, 3, 2 or 1 by tier, or an explicit `priority_weight`; see [submission](/run/docs/reference/compute-plans-create.md). |
| `plans[].window_start_ms`, `until_ms` | The schedule window; `until_ms` is the deadline at which unfinished work fails or, under `incomplete: ok`, settles. |
| `plans[].pack_counts` | Object: packs per state, summed over stages. |
| `plans[].leases_live`, `total_accrued_cost_usd_micros` | Integers summed over stages. |
| `plans[].submitted_by` | `person_id`, the person behind the credential that submitted the plan, and `token_id`, the key it came with (null for a signed-in session). Recorded when the plan was admitted. Both null: the submitter was not recorded; a plan admitted before 16 November 2026 names a person only where its `tenancy.actor_email` matched exactly one member of the workspace. |
| `plans[].stages[].stage_id`, `stream_id`, `needs` | Authored identifier, `plan_id~stage_id`, dependencies. |
| `plans[].stages[].kind`, `model` | Workload kind and model, or null. |
| `plans[].stages[].state`, `stream_sealed`, `continuous` | Stage state, whether its stream is closed, and whether it is a continuous stream whose pack counts are a live queue rather than progress toward a total. |
| `plans[].continuous` | Boolean: at least one stage is a continuous stream. |
| `plans[].stages[].packs_total`, `packs_completed`, `items_completed`, `steps_completed`, `accrued_cost_usd_micros` | Integer progress, as in the receipt. |
| `plans[].stages[].pack_counts` | Object: the stage's packs per stored state, every state a pack can hold listed, zeros included. |
| `plans[].stages[].leases_live` | Unexpired leases workers hold on this stage. Their identities are not shown. |

## Errors

| Status | Code | Meaning |
|---|---|---|
| `400` | `invalid_compute_plan` | Unknown or repeated parameter, unknown filter value, `limit` outside 1–200, or a cursor this call did not issue. |
| `400` | `invalid_scope` | `scope` is neither `mine` nor `workspace`, or `mine` was asked by a credential that names no person and no key. |
| `401` | `unauthorized`, `invalid_token`, `token_revoked`, `token_expired` | Supply a valid token. |
| `403` | `scope_required`, `account_suspended` | Token lacks `read`, or the account is suspended. |

## Examples

```sh
curl -s 'https://weights.fyi/run/v1/compute/plans?state=active&limit=20' \
  -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

## History

- 2026-10-31: documented the account-scoped plan list, filters and cursor.
- 2026-11-16: told the declared tier, the resolved class and the scheduling weight apart.
- 2026-11-16 (built, live with the deploy that carries it): `scope=mine`, and `submitted_by` on each plan.

## See also

- [Read a plan](/run/docs/reference/compute-plans-get.md)
- [Submit a plan](/run/docs/reference/compute-plans-create.md)
- [Read events](/run/docs/reference/compute-events.md)
