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

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

cursorstring#
Cursor from the previous page's next_cursor.

Length: 1–1000

limitinteger#
Sources per page.

Default: 50

Range: 1–100

Responses

application/json
One page of sources.
dataobject[]#
Sources on this page.
next_cursorstring#
Cursor for the next page, or null on the last page. Send it back as cursor.