Skip to main content
POST
List chunks with offset-based pagination

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
limit
integer
default:100
Required range: 1 <= x <= 200
page
integer
default:1

Response

200 - application/json

Chunks successfully retrieved

object
enum<string>
required
Available options:
list
data
object[]
required
has_more
boolean
required