v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBauto-agent
Fail Sandbox Run
Mark a run as failed when the agent itself catches an unrecoverable error.
Args: run_id: Run UUID from the path. body: {"error_message": "..."}. callback_token: One-time token issued at run creation.
Raises: HTTPException 401: Token invalid or run already finalized. HTTPException 404: Run not found.
post/auto-agent/run/{run_id}/fail
Path parameters
run_idstring required
Headers
X-Callback-Tokenstring required
Request body
Response
Successful Response