Skip to main content
GET
Get Deletion Batch

Authorizations

Authorization
string
header
required

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_id
string<uuid>
required

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_id
string<uuid>
required

Deletion batch ID: batch_id from Delete Document Files in Batch. Its status_url points here.

Response

The batch, with each accepted file's job as it is now.

batch_id
string | null

ID of the batch that records this request.

items
object[]

One entry per accepted file.

results
object[]

One entry per requested file, with its outcome.

status_url
string | null

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.

total
integer

Number of files in the original request.