Skip to main content
POST
Get embedding chunks for an upload

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json
upload
string
required

The ID of the upload whose embedding chunks to retrieve

Example:

"665a1b2c3d4e5f6789012300"

Response

Embedding chunks retrieved successfully

success
boolean
Example:

true

data
object[]

Embedding chunks sorted by chunkIndex (max 1000)

embeddingModel
object | null

Model actually used to generate these chunks' vectors. Null when the upload has no recorded embedding model.

currentEmbeddingModel
object | null

The institution's currently-configured embedding model (what a re-ingestion would use). Compare against embeddingModel to detect drift.

chunkMaxChars
integer

Soft cap (characters) for segment edit/create UI. Matches the server-side RAG chunk-size constant so admin edits stay in lockstep with new ingestion output.

Example:

8000