cliDeterministic

Save sop draft

pipeline save-sop-draft

Save a personalized Reply/SDR SOP as an inactive versioned workspace draft. No hosted inference. Review before publication.

Parameters

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

Example

CLI commandbash
pipeline save-sop-draft \
--skill-name "example" \
--overlay-md "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