sdkDeterministic
Update content strategy
pipeline.updateContentStrategy
Edit an exact saved content strategy without hosted inference. Preserves omitted fields and never schedules or publishes posts.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
strategyIdrequired
string
No description.
name
string
No description.
goal
string | null
No description.
pillars
object[]
No description.
weeklyDistribution
object
No description.
platformDistribution
object
No description.
Example
TypeScripttypescript
await pipeline.updateContentStrategy({"strategyId": "00000000-0000-4000-8000-000000000000"})
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"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.