Skip to main content
DELETE
Delete multiple chunks

Authorizations

Authorization
string
header
required

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

Path Parameters

knowledge_id
string
required

The unique identifier of the knowledge base

datasource_id
string
required

The unique identifier of the datasource.

Body

application/json
chunk_ids
string[]
required

Array of chunk IDs to delete

Required array length: 1 - 100 elements

Response

200 - application/json

Chunks deletion result

deleted_count
number
required

Number of chunks successfully deleted

failed_ids
string[]

Array of chunk IDs that failed to delete