Fail run

http
POST /runs/{run_id}/fail

Fail a run.

Parameters

NameInRequiredDescription
X-Veryfront-Run-Terminal-TokenheaderRequired for execution credentials.
run_idpathYesRun for a terminal action. A fresh or different terminal request against an already-terminal run or stale execution generation returns 409. Retrying the identical request with the same idempotency key returns its stored result after replay authorization.
Idempotency-KeyheaderYes

Request body

FieldTypeRequiredDescription
errorobjectYesFailure details, present only when the run failed.

Responses

StatusDescription
200Terminal run
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
413Payload too large
429Rate limit exceeded