Skip to main content

Claim the next queued job for this capture agent

POST 

/api/v1/capture-agent/jobs/claim

Requires the narrow device credential. Returns one matching job and a new lease token, or 204 when no work is queued; expired uncanceled leases are requeued and only the new token's digest is stored.

Responses​

Matching job claimed with a newly issued lease token

Response Headers
    X-Request-Id

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