Skip to main content

Publish sequence draft

Publish the current sequence draft. This changes the active sequence configuration and requires an authenticated user session.

POST/api/sequences/{sequence_id}/draft/publish
HTTP referenceScope authenticated user sessionUpdated September 27, 2026

This page documents the canonical HTTP contract for this endpoint.

Publishing replaces the saved configuration without activating a DRAFT sequence. Use the separate status request when activation is authorized. It saves the definition through the same configuration command as Update sequence. Required reconciliation is durably admitted with the saved configuration. The response keeps {success, published, sequence, draft}; a published definition is not proof that provider or queued-work reconciliation has finished. When sequence.config_reconciliation.operation_run_id is present, follow its canonical operation run.

Path parameters

  • sequence_idrequired

    string

    Sequence identifier.

Query parameters

  • actorUserId · optional

    string

    Optional active same-organization actor override.

Errors

StatusMeaning
401An authenticated user session is required.
404Sequence not found.
422The draft cannot be published until its configuration validates.

Docs