Get RAG chunks for a document

Get all RAG chunks for a specific knowledge base document.

Parâmetros de caminho

documentation_idstringObrigatório
The id of a document from the knowledge base. This is returned on document addition.

Cabeçalhos

xi-api-keystringOpcional

Parâmetros de consulta

embedding_modelenumObrigatórioPadrão é e5_mistral_7b_instruct
The embedding model used to retrieve the chunk.
Valores permitidos:
page_sizeintegerOpcional1-100Padrão é 30
How many documents to return at maximum. Can not exceed 100, defaults to 30.
cursorstringOpcional
Used for fetching next page. Cursor is returned in the response.

Resposta

Successful Response
chunkslist of objects
next_cursorstringOpcional

Erros

422
Chunks List Request Unprocessable Entity Error