Skip to main content
POST
Get chunks total count

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
q
string
default:""

Search query to find chunks by text content

enabled
boolean

Filter chunks by enabled status

status
enum<string>

Filter chunks by processing status

Available options:
pending,
processing,
completed,
failed,
queued

Response

200 - application/json

Chunks count

count
number
required