Save a new workflow draft
Changed onPersist an in-progress workflow as a resumable draft.
A draft is a real workflow row in draft status: it is private to its author, never appears in the normal workflow list, never counts against the plan's workflow cap, and cannot be run, cloned, promoted, or shared. Validation is deliberately loose so a half-finished workflow (missing steps, an unconfigured agent, no name) still saves. There is no capacity gate here on purpose. The cap is enforced only when the draft is published. No WORKFLOW_CREATED audit is written for a draft; that is emitted at publish time when the workflow becomes real.
Request
- Base URLhttps://api.ai.vision.tiliter.com
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.",
"operator_reference_file_urls": [],
"agent_id": "object-detection-v1"
}
]
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- warning
added the new
barcodeenum value to the//response property for the response status - info
added the new optional request property
/ - info
added the new
barcodeenum value to the request property/// - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status
- warning