Skip to main content
get/knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks
Request example
Response
get/knowledge-fs/spaces/{knowledge_base_id}/logical-documents/{document_id}/processing-tasks

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.
document_idstringrequired#
The document ID, from List Documents.

Query parameters

cursorstring#
Cursor from the previous page's next_cursor.

Length: 1–1000

limitinteger#
Tasks per page.

Default: 50

Range: 1–100

Responses

application/json
One page of indexing tasks.
dataobject[]#
One page of indexing tasks, oldest first.
next_cursorstring#
Cursor for the next page, or null on the last page. Send it back as cursor.