apiDeterministic
Save sop draft
PUT /api/agents/sop
Save a personalized Reply/SDR SOP as an inactive versioned workspace draft. No hosted inference. Review before publication.
Parameters
workspaceId
string
No description.
skillNamerequired
string
No description.
overlayMdrequired
string
No description.
expectedDraftCreatedAtrequired
string | null
Exact pending draft createdAt, null only when no draft exists.
Example
REST requestbash
curl -X PUT "https://app.pipeline.help/api/agents/sop" \-H "Authorization: Bearer $PIPELINE_API_KEY" \-H "Content-Type: application/json" \-d '{"skillName":"example","overlayMd":"example","expectedDraftCreatedAt":"2026-01-01T00:00:00.000Z"}'
Response
Success response schemajson schema
{"type": "object","properties": {"overlay": {"type": "object"},"version": {"type": "object"}},"required": ["overlay","version"]}
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.