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.
Path parameters
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"
}
]
}Changes
Changed in 2 of the 3 revisions of this API.6
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○