v3
latestOpenAPI 3.1.02026-07-311,4541,5202.3 MBCreate Workflow Version
Create a new draft row from the client payload.
Pure CRUD: inserts one new row with is_read_only=False using the content the client sends (name, tasks, description, type, trigger_event_type, is_starred). Does NOT clone from other rows and does NOT touch other rows.
The FE owns the "draft dance" — when the user wants to edit a committed workflow, the FE reads the current state locally and sends it here as the new draft's content.
The view forces identity/scope fields (workflow_id from the URL, organization from the caller) so the client can't reparent a row into another family or org.
Path parameters
Headers
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.