Skip to main content
POST
Create Chunks

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

Body

application/json

Request to create chunks from existing content.

content_id
string
required

Content ID to create chunks from

reader
string | null
default:native

Reader to use for processing

force_rechunk
boolean
default:false

Force re-chunking even if chunks already exist

Response

Successful Response

Response for chunk creation.

status
string
required

Status of the operation

message
string
required

Summary message

content_ids_processed
string[]

Successfully processed content IDs

content_ids_failed
string[]

Failed content IDs

total_chunks_created
integer
default:0

Total number of chunks created