cliDeterministic

Save content strategy

pipeline save-content-strategy

Persist a content strategy authored by the caller. Does not invoke Pipeline hosted inference.

Parameters

workspaceId
string
Optional with API key auth, inferred from the key.
name
string
No description.
pillarsrequired
object[]
No description.
weeklyDistributionrequired
object
No description.
platformDistribution
object
No description.

Example

CLI commandbash
pipeline save-content-strategy \
--pillars-json '[{"id":"00000000-0000-4000-8000-000000000000","name":"example","purpose":"example","funnelStage":"tofu","postTypes":[{"id":"00000000-0000-4000-8000-000000000000","name":"example","description":"example","promptHints":"example"}]}]' \
--weekly-distribution-json '{}'

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"name": {
"type": "string"
},
"isActive": {
"type": "boolean"
}
},
"required": [
"id",
"workspaceId",
"name",
"isActive"
]
}
},
"required": [
"success",
"data"
]
}

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