Skip to main content
get/knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve
Request example
Response
get/knowledge-fs/spaces/{knowledge_base_id}/document-references/resolve

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 parameters

document_asset_idstringrequired#
Document file ID: id from List Document Files, or documentAssetId in a citation. Must be a UUID.

Length: 1–255

document_asset_versionintegerrequired#
The document file's version, or documentVersion in a citation. A document file's version is always 1.

Range: >= 1

Responses

application/json
The document and revision.
document_idstring#
The document ID. Pass it to Get Document or List Chunks.
revisioninteger#
The revision built from this file version. Pass it with document_id to List Chunks.