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

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.
deletion_batch_idstringrequired#
Deletion batch ID: batch_id from Delete Document Files in Batch. Its status_url points here.

Responses

application/json
The batch, with each accepted file's job as it is now.
batch_idstring#
ID of the batch that records this request.
itemsobject[]#
One entry per accepted file.
resultsobject[]#
One entry per requested file, with its outcome.
status_urlstring#
URL of Get Deletion Batch for this batch: absolute when the deployment sets SERVICE_API_URL, otherwise a path that starts with /v1/. Delete Document Files in Batch also sends it in the Location response header.
totalinteger#
Number of files in the original request.