Skip to main content
GET
List Missing Chunks

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Path Parameters

knowledge_base_id
string<uuid>
required

Knowledge base ID: the last segment of the Service API endpoint shown in the knowledge base's API Access dialog (…/knowledge-fs/spaces/<knowledge base ID>), and the segment after /datasets/new/ in the address bar.

query_record_id
string<uuid>
required

Query record ID: the x-query-run-id response header of Run Query, or id from List Query Records.

Query Parameters

cursor
string

Cursor from the previous page's next_cursor. Entries are addressed by offset, so 0 starts from the first entry.

Required string length: 1 - 1000
limit
integer
default:100

Entries per page.

Required range: 1 <= x <= 100

Response

One page of missing-chunk entries:

  • name is missing-<n>.
  • target_id is the expected chunk ID when recorded, else the entry name.
  • resource_type is evidence.
consistency_class
string | null

Always null in these views.

data
object[]

Entries of this page, in the order the run recorded them.

next_cursor
string | null

Cursor for the next page, or null on the last page. Send it back as cursor.

path
string

Internal path of the view, for example /queries/<query_record_id>/evidence. Informational. This API does not serve it.

preview
boolean | null

Always null in these views.

truncated
boolean

true when more entries exist beyond this page. Follow next_cursor to read them.