Skip to main content
GET
/
v1
/
imports
/
contexts
/
{contextId}
/
extraction-reviews
List AI extraction reviews (the human-review queue)
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/imports/contexts/{contextId}/extraction-reviews \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "candidates": [
        {
          "fields": [
            {
              "canonicalKey": "<string>",
              "confidence": 0.5,
              "page": 123,
              "value": "<string>",
              "region": "<string>"
            }
          ],
          "source": "<string>"
        }
      ],
      "contextId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "sourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z",
      "version": 123,
      "ingestionJobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "rejectReason": "<string>",
      "reviewerId": "<string>"
    }
  ],
  "limit": 123,
  "nextCursor": "<string>",
  "prevCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Path Parameters

contextId
string<uuid>
required

Context ID

Query Parameters

status
enum<string>

Filter by status

Available options:
PENDING_REVIEW,
APPROVED,
REJECTED
limit
integer<int64>

Page size

Required range: 1 <= x <= 200
cursor
string

Opaque pagination cursor

Response

OK

items
object[] | null
required

Extraction reviews on this page

limit
integer<int64>
required

Page size requested

Example:

50

nextCursor
string

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

prevCursor
string

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