Append an ad-hoc step to a job
Changed onAppend an ad-hoc step to a running job.
Only allowed when the workflow's allow_adhoc_step flag is true. The new step appends at max(existing sort_order) + 1 across both workflow steps and prior extras, so the UI's sort order is stable.
Like :func:submit_job_step, this is capture-only: the metadata arrives as multipart/form-data form fields, the image as a file upload (written straight to object storage), and the background analysis runs at /analyse time.
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.
Path parameters
Request body multipart/form-data
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"
}
],
"extra_steps": [
{
"agent_id": "object-detection-v1"
}
]
}Changes
- 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 - warning
added the new
barcodeenum value to the//response property for the response status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status
- warning