List document chunks

List document chunks with filtering options. Returns raw, unprocessed text chunks from the knowledge model.

get/v1/knowledge-models/{knowledge_model_id}/chunks

Path parameters

knowledge_model_idstring required

Query parameters

document_idstring nullable

Filter by specific document ID

Filter by specific document ID

document_type'base' | 'uploaded' | 'system' | 'conference' | 'translation_dict' | 'vimeo' | 'youtube' | 'attachment' | 'webcrawler'

Filter by document type

content_type'text' | 'json' | 'table' | 'image' | 'transcript' | 'dataframe'

Filter by chunk content type

sort'chunk_index' | 'document_id'

Sort by field, e.g. 'chunk_index'

offsetinteger
limitinteger

Response

Successful Response

totalinteger required

Total count of available records. It can be larger than results count.

Changes

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