v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Ingestion

List AI extraction reviews (the human-review queue)

Cursor-paginated list of extraction reviews for a context, optionally filtered by lifecycle status (e.g. PENDING_REVIEW for the queue). Tenant from the JWT, context from the path. Reads already-stored config-only candidates; it does not egress anything.

get/v1/imports/contexts/{contextId}/extraction-reviews

Path parameters

contextIdstring uuid required

Context ID

Context ID

Query parameters

status'PENDING_REVIEW' | 'APPROVED' | 'REJECTED'

Filter by status

Filter by status

limitinteger

Page size

Page size

cursorstring

Opaque pagination cursor

Opaque pagination cursor

Response

OK

limitinteger required

Page size requested

nextCursorstring

Opaque cursor for the next page; empty when there are no more pages

prevCursorstring

Opaque cursor for the previous page; empty when at the start

Example response

{
  "items": [
    {
      "candidates": [
        {
          "fields": [
            {
              "canonicalKey": "amount",
              "confidence": 0.95,
              "page": 1,
              "value": "100.50"
            }
          ],
          "source": "text_layer"
        }
      ],
      "contextId": "550e8400-e29b-41d4-a716-446655440000",
      "createdAt": "2025-01-15T10:30:00Z",
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "ingestionJobId": "550e8400-e29b-41d4-a716-446655440000",
      "sourceId": "550e8400-e29b-41d4-a716-446655440000",
      "status": "PENDING_REVIEW",
      "updatedAt": "2025-01-15T10:35:00Z",
      "version": 1
    }
  ],
  "limit": 50
}