v1
latestOpenAPI 3.1.02026-08-06284092.1 KBFinalise a job (kicks off deferred analysis)
Transition IN_PROGRESS -> ANALYSING and fire the analysis worker.
Pre-flight: every workflow step must have at least one captured result (PENDING / RUNNING / COMPLETED / ERRORED - slice 5 adds the "skipped is allowed" relaxation). The credit budget is checked but not yet debited - the worker charges per-step so a failing step refunds cleanly.
Returns immediately with status="analysing"; clients poll GET /{id} to see per-step transitions and the terminal completed / completed_with_errors state.
Re-run path: when the job is already in COMPLETED_WITH_ERRORS, the request reopens analysis for only the ERRORED steps (each is refunded and reset to PENDING) and re-enters the same worker. COMPLETED / ABANDONED / ANALYSING all return 409.
Path parameters
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"
}
]
}