Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude
API/schemas
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``.

FieldTypeDescription
idrequiredstring (uuid)Launch record UUID
permakeyrequiredstringFresh permakey minted for this launch (not the plan's, not any instance's)
workstream_idrequiredstring (uuid)The WorkStream this launch ran
job_definition_idstring (uuid) | nullThe WorkPlan this launch ran, when there was one. Null for run-once / a WorkStream by itself.
client_idstring (uuid) | nullThe 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.
labelrequiredstringIdentifies the launch on name surfaces. A clientless/planless run is identified by this, never a placeholder.
periodstring | nullThe launch's period fact (YYYY-MM). Null when no period.
workstream_versioninteger | nullWorkStream version integer at launch. Null until the run-version card lands.
launched_viarequiredstringHow the launch was triggered (fan_out/batch/run_once/skill/...)
launched_by_user_idstring | nullUser who triggered the launch
started_atrequiredstring (date-time)When the launch was minted (the launch's own start)
completed_atstring (date-time) | nullWhen every instance reached a terminal state. Derived from the instances' tallies (max completed_at), never stored ahead of them.
statusrequiredstringDerived from the instances' tallies — pending/running/completed/failed. Never stored ahead of the instances.
client_countrequiredintegerNumber of instances in this launch (the roster size)
instancesCycleLaunchInstanceResponse[]The per-client instance rows this launch created
item shape