sdkDeterministic

Submit content authoring

pipeline.submitContentAuthoring

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

TypeScripttypescript
await pipeline.submitContentAuthoring({
"authoringRunId": "00000000-0000-4000-8000-000000000000",
"bundleId": "00000000-0000-4000-8000-000000000000",
"bundleVersion": 1,
"clientRunId": "00000000-0000-4000-8000-000000000000",
"artifact": {
"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"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline