Skip to main content
POST
Delete Chunks Batch

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Workspace-Id
string | null

The workspace ID

Body

application/json

Request to delete multiple chunks.

chunk_ids
string[]
required

List of chunk IDs to delete

Response

Successful Response

Response for chunk deletion.

status
string
required

Status of the operation

message
string
required

Summary message

deleted_count
integer
default:0

Number of chunks deleted

failed_ids
string[]

Chunk IDs that failed to delete