Agents Platform
Get All Rag Chunks For A Document
Get all RAG chunks for a specific knowledge base document.
GET
Get All Rag Chunks For A Document
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Path Parameters
The id of a document from the knowledge base. This is returned on document addition.
Example:
"21m00Tcm4TlvDq8ikWAM"
Query Parameters
The embedding model used to retrieve the chunk.
Available options:
e5_mistral_7b_instruct, multilingual_e5_large_instruct Examples:
"e5_mistral_7b_instruct"
"multilingual_e5_large_instruct"
How many documents to return at maximum. Can not exceed 100, defaults to 30.
Required range:
1 <= x <= 100Used for fetching next page. Cursor is returned in the response.