Skip to main content
GET
Python

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

knowledge_base_id
string
required

Query Parameters

chunk_id
string | null

Optional search by chunk_id

metadata_filters
string | null

Optional search by metadata fields, encoded as a JSON object

max_chunks
integer
default:10

Maximum number of chunks returned by the get_chunks endpoint. Defaults to 10 and cannot be greater than 2000.

Required range: 1 <= x <= 2000

Response

Successful Response

chunks
ChunkV2WithoutScore · object[]
required

List of chunks that match the chunk_id and metadata filters