cliDeterministic

Publish sop draft

pipeline publish-sop-draft

Publish the exact reviewed SOP draft after explicit user approval. Does not enable Autopilot, change runtime cadence or send messages. Preserve workspace HITL.

Parameters

workspaceId
string
No description.
skillNamerequired
string
No description.
expectedDraftCreatedAtrequired
string
Exact pending draft createdAt, null only when no draft exists.

Example

CLI commandbash
pipeline publish-sop-draft \
--skill-name "example" \
--expected-draft-created-at "2026-01-01T00:00:00.000Z"

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"overlay": {
"type": "object"
},
"version": {
"type": "object"
}
},
"required": [
"overlay",
"version"
]
}

Exit codes

1
Invalid input or local configuration.
2
The API or tool returned an error.
3
Authentication failed.
4
A network request failed.
Pipeline CLI documentation | Pipeline