RAG Query & Document Ingestion
POST
/v1/ai/{project_id}/ragIngest large documents (up to 5 MB) with configurable overlap and query context-grounded LLM responses.
#
Ingestion
Chunking Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
document | string | yes | Document content (up to 5 MB payload size). |
namespace | string | yes | Target partition namespace. |
chunk_size | number | no | Target characters per chunk (default 1000). |
chunk_overlap | number | no | Overlapping characters between consecutive chunks (default 200). |
metadata | object | no | Arbitrary JSON metadata attached to each chunk. |
#
Management
Namespace Lifecycle Operations
GET /v1/ai/{project_id}/rag/namespaces: Lists all active RAG namespaces.DELETE /v1/ai/{project_id}/rag/{namespace}: Deletes all chunks and vector entries in the namespace.POST /v1/ai/{project_id}/rag/{namespace}/reindex: Recomputes embeddings for all chunks in the namespace when switching embedding models.
v1.0 · revised Oct 31, 2026