Field Reviews

Resolve many field-review items at once

Changed on

Send an Idempotency-Key so a retry returns the first response and never applies the decision twice. App keys. An app service key reaches this route and every item is checked individually: an item whose run belongs to a Spec the app does not hold at act is reported as { "ok": false, "error": "insufficient_grant" } and is never resolved. act is a distinct grant from read, so an app that can list an item still cannot decide it without one.

post/v1/field-reviews/bulk-resolve

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
action, 'approve' | 'correct' | 'override' required
corrected_value, string
reason, string
items, object[] required

Response

{ resolved, failed, results[] }

Changes