apiDeterministic
Submit content authoring
POST /api/v1/content/authoring/submit
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
REST requestbash
curl -X POST "https://app.pipeline.help/api/v1/content/authoring/submit" \-H "Authorization: Bearer $PIPELINE_API_KEY" \-H "Content-Type: application/json" \-d '{"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"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.