Batch Delete Documents

Delete multiple documents in a single transaction. All ids must belong to the supplied knowledge base; mismatches fail the request with 400 before any rows are touched. Capped at 200 ids per call.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired

Request

This endpoint expects an object.
idslist of stringsRequired

Response

Documents deleted.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error