Schema
CycleLaunchResponse
A launch record — the product's Cycle — fetchable by its permakey. Card "A launch creates one cycle record with its own permakey": one launch of a plan (or a run with no plan) mints exactly one record with a fresh permakey of its own. Status is NOT stored on the record; it is derived from the instances' tallies (``status`` below) so it can never be stored ahead of them. Three things are optional independently: the plan (``job_definition_id``), the client (``client_id``), and the period (``period``); a WorkStream run by itself has none of the three and is identified by its ``label``.
| Field | Type | Description |
|---|---|---|
idrequired | string (uuid) | Launch record UUID |
permakeyrequired | string | Fresh permakey minted for this launch (not the plan's, not any instance's) |
workstream_idrequired | string (uuid) | The WorkStream this launch ran |
job_definition_id | string (uuid) | null | The WorkPlan this launch ran, when there was one. Null for run-once / a WorkStream by itself. |
client_id | string (uuid) | null | The single client this launch is for, when there is exactly one (run-once single client). Null for a multi-client fan-out (the clients live on the instances) and for a clientless run. |
labelrequired | string | Identifies the launch on name surfaces. A clientless/planless run is identified by this, never a placeholder. |
period | string | null | The launch's period fact (YYYY-MM). Null when no period. |
workstream_version | integer | null | WorkStream version integer at launch. Null until the run-version card lands. |
launched_viarequired | string | How the launch was triggered (fan_out/batch/run_once/skill/...) |
launched_by_user_id | string | null | User who triggered the launch |
started_atrequired | string (date-time) | When the launch was minted (the launch's own start) |
completed_at | string (date-time) | null | When every instance reached a terminal state. Derived from the instances' tallies (max completed_at), never stored ahead of them. |
statusrequired | string | Derived from the instances' tallies — pending/running/completed/failed. Never stored ahead of the instances. |
client_countrequired | integer | Number of instances in this launch (the roster size) |
instances | CycleLaunchInstanceResponse[] | The per-client instance rows this launch createditem shape |