v1
latestOpenAPI 3.1.02026-08-06284092.1 KBjobs
Append an ad-hoc step to a job
Append 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.
post/api/v2/jobs/{job_id}/extra-steps
Path parameters
job_idstring required
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"
}
],
"extra_steps": [
{
"agent_id": "object-detection-v1"
}
]
}