Documents

Returns all chunks for a specific document.

Returns all chunks for a specific document.

get/documents/{document_id}/chunks

Request

Path parameters

document_idstring required

Id of the document.

Query parameters

collection_idstring required

Id of the collection the document belongs to.

Response

Successful operation

textstring required

The text represented by the chunk

idinteger required

The identifier of the chunk

namestring required
sizeinteger required

The size in bytes.

pagesstring required
start_timenumber double nullable

For audio/video transcript chunks, the start time in seconds of the chunk's content, located within the document's diarization segments: exact at a speaker segment's boundary, and linearly interpolated by character position when a segment spans multiple chunks. Populated for transcript chunks returned by the get_chunks endpoint (including a mid-segment continuation chunk); null for non-transcript chunks and documents without captured segment timestamps. Chunk search and match results do not carry per-chunk times — use get_chunks, or get_audio_timestamps for full exact per-segment timing.

end_timenumber double nullable

For audio/video transcript chunks, the end time in seconds of the chunk's content, located within the document's diarization segments: exact at a speaker segment's boundary (so the final chunk ends at the true segment end) and linearly interpolated by character position within a segment that spans multiple chunks, so it never overshoots the text the chunk holds. Populated for transcript chunks returned by the get_chunks endpoint; null for non-transcript chunks and documents without captured segment timestamps. Chunk search and match results do not carry per-chunk times.

topicstring required
scorenumber double required

Changes

No recorded changes to this operation across all 1 revision of this API.