Claim the next review items
Changed onClaims the next reviewable fields, in queue order under the given filters, for the person behind the credential (the signed-in user of an OAuth token, or the person who created the API key). Concurrent callers get disjoint batches: an item freshly claimed by someone else is skipped and counted in held_by_others; an abandoned claim is reclaimed. A claim stays fresh for a few minutes; keep it with POST /v1/field-reviews/claims (touch) and hand it back with release. The person's review assignment rules and permission for fields marked complex apply as in the app. Requires the reviews:write scope and a person with the edit permission. Send an Idempotency-Key to make a retry return the same batch instead of claiming another.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Headers
Unique key for idempotent requests, at most 64 characters (a longer key is refused with 400 invalid_idempotency_key before any work). A retry with the same key, request and API key within 24 hours returns the first response with Idempotent-Replayed: true; the same key on a different request or from another API key answers 422 idempotency_key_reused. On POST /v1/extract the key caches the extraction result for the workspace instead: any key of the workspace sending it gets that result with cached: true.
Request body
A pipeline_document_id.
Keep only items of this review reason (as listed by GET /v1/field-reviews).
<pipeline_document_id>:<field_key> to start the batch at.
Response
The claimed items.
Changes
- info
endpoint added
- info