Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude
API/schemas
Schema

BatchRunResponse

Result of a WorkPlan batch fan-out (cycles execute asynchronously).

FieldTypeDescription
workstream_idrequiredstring (uuid)—
job_definition_idrequiredstring (uuid)—
job_permakeystring | nullJob (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_idstring (uuid) | nullThe 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_permakeystring | nullThe 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.
requestedrequiredinteger—
startedrequiredinteger—
failedrequiredinteger—
cyclesobject[]Per-cycle outcomes: [{cycle_id, client_id, workflow_id, status, error?}]
item shape
Empty object.