Get RAG chunks for a document

Get all RAG chunks for a specific knowledge base document.

Parámetros de ruta

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

Encabezados

xi-api-keystringOpcional

Parámetros de consulta

embedding_modelenumRequeridoValor predeterminado: e5_mistral_7b_instruct
The embedding model used to retrieve the chunk.
Valores permitidos:
page_sizeintegerOpcional1-100Valor predeterminado: 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.

Respuesta

Successful Response
chunkslist of objects
next_cursorstringOpcional

Errores

422
Chunks List Request Unprocessable Entity Error