Skip to main content

Fail a leased capture-agent job safely

POST 

/api/v1/capture-agent/jobs/:job_id/failure

Requires the narrow device credential and current lease token. Records one server-defined scan_failed, assembly_failed, or local_storage_failed reason, clears the lease, and returns the terminal job without accepting agent-supplied error text.

Request​

Responses​

Terminal failure recorded and lease cleared

Response Headers
    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.