Skip to main content
GET
/
api
/
v1
/
chunks
{
  "chunks": [
    {
      "id": "<string>",
      "content_id": "<string>",
      "collection_id": "<string>",
      "content": "<string>",
      "metadata": {},
      "chunk_index": 123,
      "size": 123,
      "created_at": 123
    }
  ],
  "total_count": 0,
  "next_cursor": "<string>",
  "has_more": false
}

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

Query Parameters

collection_id
string | null

Filter by collection ID

content_id
string | null

Filter by content ID

cursor
string | null

Cursor for pagination (use next_cursor from previous response)

limit
integer
default:50

Number of items to return

Required range: 1 <= x <= 500
include_embedding
boolean
default:false

Include embedding vectors

Response

Successful Response

Response model for listing chunks with cursor-based pagination.

chunks
ChunkResponse · object[]

List of chunks

total_count
integer
default:0

Number of chunks returned in this request

next_cursor
string | null

Cursor for next page. None if no more pages.

has_more
boolean
default:false

Whether there are more chunks to fetch