Skip to main content
get/knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence
Request example
Response
get/knowledge-fs/spaces/{knowledge_base_id}/traces/{query_record_id}/evidence

Authorization

Authorizationstringheaderrequired#

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_idstringrequired#
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_idstringrequired#
Query record ID: the x-query-run-id response header of Run Query, or id from List Query Records.

Query parameters

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

Length: 1–1000

limitinteger#
Entries per page.

Default: 100

Range: 1–100

Responses

application/json
One page of chunk entries. name and target_id are the chunk's ID, and resource_type is node.
consistency_classstring#
Always null in these views.
dataobject[]#
Entries of this page, in the order the run recorded them.
next_cursorstring#
Cursor for the next page, or null on the last page. Send it back as cursor.
pathstring#
Internal path of the view, for example /queries/<query_record_id>/evidence. Informational. This API does not serve it.
previewboolean#
Always null in these views.
truncatedboolean#
true when more entries exist beyond this page. Follow next_cursor to read them.