Documentation
Compute plans and streams
View .mdOpenAPI

Get a pack

GEThttps://weights.fyi/run/v1/streams/{stage_id}/packs/{pack_id}scope: read
text
GET https://weights.fyi/run/v1/streams/{stage_id}/packs/{pack_id}
Authorization: Bearer <token>                    scope: read
Available since
2026-10-30: included in this build; see What is live for deployment status.
Answer time
synchronous persisted-state read.

Read one registered pack's state and output receipt. Use the plan-qualified stream_id (plan_id~stage_id) returned at registration, or the stage identifier you authored together with ?plan_id=.... Reading does not lease or retry work.

The receipt remains null until completion. Access is limited to the owning workspace; another workspace receives 404.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer token with read scope.
stage_idpathyesPlan-qualified stream ID, or the authored stage identifier.
plan_idquerynoNames the plan when stage_id is an authored identifier that more than one of your plans uses; without it such a call answers 409 ambiguous_compute_stage. With a qualified stream ID it must name the same plan, else 404.
pack_idpathyesRegistered pack ID.

Return value

200 OK returns plan_id, authored stage_id, stream_id, pack_id, ordinal, persisted state, lease, lease_expires_ms and receipt. The receipt is null before completion. Completed receipts include output location, digest, size and model identity where supplied. The lease view is null, or holds only its identity, expiry and retry history: lease_id, lease_expires_ms, attempt_count, failure_count, dead_letter_reason, dead_letter_history.

Errors

StatusCodeMeaning
401unauthorizedSupply a valid token.
403scope_required, compute_tenancy_unauthorizedRead access is unavailable.
404compute_stage_not_found, compute_pack_not_foundAbsent or inaccessible work, or a plan_id that disagrees with a qualified stream ID.
409ambiguous_compute_stageThe authored stage identifier exists in several of your plans. Use the stream_id, or add ?plan_id=....

Examples

sh
curl -s https://weights.fyi/run/v1/streams/STAGE_ID/packs/PACK_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"

History

  • 2026-10-30: added persisted state and receipt lookup.
  • 2026-11-16: documented plan_id addressing, the ambiguity refusal and the lease fields.

See also

See register a pack, retry failed packs and accept reviewed loss.