Create delivery
create_deliveryCreate a shipped public delivery from selected undelivered batches: batches no other delivery carries, including ready Batches of several finished workflow runs. Supply its version label (free-form; semver like 2.4.0 is common but not required) and a factual summary. To record a release that shipped before the project used Pizza Developer, omit batchIds and pass shippedAt, the real past ship date (ISO date or date-time); without shippedAt it ships now. A delivery without batches never completes a workflow run's Delivery stage. In a run of a workflow that starts at Delivery, any ready Batches no delivery carries can go in, and the call completes the run's Delivery stage. When the project has a workflow that starts at Delivery, create_delivery outside a workflow run is refused and the refusal names that workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | No | Optional client measurements, stored on the workflow step this call completes. | |
| summary | Yes | Factual summary of what shipped. | |
| version | Yes | Version label, such as 2.4.0. | |
| batchIds | No | Undelivered Batches to include. | |
| projectId | Yes | Id of the Project. | |
| requestId | No | Optional unique ID for this create. After a timeout, retry with the same requestId and arguments: the record already created is returned instead of a duplicate. | |
| shippedAt | No | Ship date, as an ISO date or date-time. |