cliDeterministic

Submit content authoring

pipeline submit-content-authoring

Validate cited research, one idea, and one LinkedIn draft against an unexpired prepared bundle, then persist exactly one reviewable draft and optionally notify Slack. Never invokes hosted inference, schedules, publishes, or creates a workflow.

Parameters

workspaceId
string
No description.
authoringRunIdrequired
string
No description.
bundleIdrequired
string
No description.
bundleVersionrequired
integer
No description.
clientRunIdrequired
string
No description.
artifactrequired
object
No description.

Example

CLI commandbash
pipeline submit-content-authoring \
--authoring-run-id "00000000-0000-4000-8000-000000000000" \
--bundle-id "00000000-0000-4000-8000-000000000000" \
--bundle-version 1 \
--client-run-id "00000000-0000-4000-8000-000000000000" \
--artifact-json '{"research":[{"url":"https://example.com","title":"example","summary":"example"}],"idea":{"title":"example","angle":"example","evidenceIds":["example"]},"draft":{"postType":"thought_leadership","hook":"example","body":"example","fullPost":"example","evidenceIds":["example"]}}'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"authoringRunId": {
"type": "string"
},
"draftId": {
"type": "string"
},
"reviewUrl": {
"type": "string"
},
"slackDelivery": {
"type": [
"object",
"null"
]
}
},
"required": [
"authoringRunId",
"draftId",
"reviewUrl"
]
}

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