Schema
BatchRunResponse
Result of a WorkPlan batch fan-out (cycles execute asynchronously).
| Field | Type | Description |
|---|---|---|
workstream_idrequired | string (uuid) | — |
job_definition_idrequired | string (uuid) | — |
job_permakey | string | null | Job (WorkPlan) permakey — the PLAN's stable reference. NOT the cycle address: a plan permakey in the cycle slot is the bug this card closes. Kept for the workplan deep-link / fleet grouping only. |
cycle_launch_id | string (uuid) | null | The cycle_launch (the product's Cycle - one launch of a plan) this batch minted. The launch's OWN permakey (cycle_launch_permakey) is the canonical cycle address the launcher navigates to (/workstreams/{ws}/cycles/{launch_permakey}) — card 'Every link the app emits uses the cycle's own address'. Null only on a defensive no-mint path (the mint is the first write, so a real run has it). |
cycle_launch_permakey | string | null | The cycle_launch's stable permakey — the canonical CYCLE address. The post-create navigation lands here DIRECTLY (no redirect): /workstreams/{ws}/cycles/{cycle_launch_permakey}. Null only on a defensive no-mint path; the launcher falls back to job_permakey (which the flat cycle-slot resolver redirects to the workplan) so a legacy/edge row never dead-ends. |
requestedrequired | integer | — |
startedrequired | integer | — |
failedrequired | integer | — |
cycles | object[] | Per-cycle outcomes: [{cycle_id, client_id, workflow_id, status, error?}]item shapeEmpty object. |