Get RAG chunks for a document

Get all RAG chunks for a specific knowledge base document.

Pfadparameter

documentation_idstringErforderlich
The id of a document from the knowledge base. This is returned on document addition.

Header

xi-api-keystringOptional

Abfrageparameter

embedding_modelenumErforderlichStandardwert ist e5_mistral_7b_instruct
The embedding model used to retrieve the chunk.
Erlaubte Werte:
page_sizeintegerOptional1-100Standardwert ist 30
How many documents to return at maximum. Can not exceed 100, defaults to 30.
cursorstringOptional
Used for fetching next page. Cursor is returned in the response.

Antwort

Successful Response
chunkslist of objects
next_cursorstringOptional

Fehler

422
Chunks List Request Unprocessable Entity Error