v1
latestOpenAPI 3.1.02026-08-06284092.1 KBworkflows
Overwrite an existing workflow draft
Overwrite the caller's draft in place with the latest form state.
A draft keeps a single snapshot (version 1) that is rewritten in place on every save, so drafts never accumulate versions. Metadata and the full step list are replaced from the payload. Still lenient: an incomplete draft saves fine. Only the draft's author can call this.
put/api/v2/workflows/drafts/{workflow_id}
Path parameters
workflow_idstring required
Request body
Example request
{
"steps": [
{
"agent_id": "object-detection-v1"
}
]
}Response
Successful Response
Example response
{
"steps": [
{
"name": "Overview shot",
"workflow_note": "Stand back and capture the whole subject in frame.",
"agent_id": "object-detection-v1"
}
]
}