Field Reviews

Claim the next review items

Changed on

Claims 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.

post/v1/field-reviews/checkout

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Headers

Idempotency-Key, string

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

object required
pipeline_id, string uuid
document_id, string uuid

A pipeline_document_id.

field_key, string
trigger, 'gate' | 'declarative' | 'pattern'
reason, string

Keep only items of this review reason (as listed by GET /v1/field-reviews).

group, 'field' | 'document' | 'assignee'
sort, 'recent' | 'flagged' | 'alpha' | 'field'
tags, string[]
q, string
older_than_hours, integer
batch_size, integer
start_key, string

<pipeline_document_id>:<field_key> to start the batch at.

Response

The claimed items.

object required
claimed_by, string uuid
items, object[]
total, integer
held_by_others, integer

Changes