Skip to main content
GET
Get a single chunk by id (version-agnostic)

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token>. The token is either a user token / OAuth access token, or a service-account API key (cfk_...). A key is valid on every endpoint and acts as its service account, an organization member with per-store permissions. Refused keys answer 403 with Invalid API key., API key revoked., API key expired. or API key disabled..

Path Parameters

project_id
string<uuid>
required

UUID of the project

chunk_id
string<uuid>
required

UUID of the chunk

Response

The chunk row.

id
string
required

Chunk id (UUID).

document_id
string
required

Id of the source document this chunk belongs to.

content
string | null

Chunk text content.

blocks
object[] | null

Layout blocks (with bounding boxes) backing this chunk.

previous_chunk_id
string | null
next_chunk_id
string | null
start_char_idx
integer | null
end_char_idx
integer | null