Welcome to the API Documentation Center
Quickstart: Get started with the API or see the Product Overview.
Use the search bar or sidebar to find endpoints, guides, and error codes.
Use the search bar or sidebar to find endpoints, guides, and error codes.
API Version: v2
Stable
What’s New:
- 2025-09-01: Added new Feedback endpoint
- 2025-08-15: Improved error code documentation
- 2025-08-01: v2 API released
Chat
Conversational API for chat-based tasks. Integrate real-time or asynchronous chat with flexible context and RAG support.
Upload
Upload and manage files or data for indexing, search, and retrieval-augmented generation workflows.
Prompt Manager
Manage, test, and version prompt templates for your LLM and RAG pipelines.
Knowledge
Knowledge base and search endpoints for semantic retrieval and context injection.
Logs
Access and stream logs for observability and debugging.
Feedback
Submit and review user feedback for continuous improvement.
Schemas
Canonical JSON Schemas for all major request and response formats.
Note: All API requests must be made over HTTPS and authenticated with your API key.
Popular Endpoints (Flexible RAG):
- POST /v2/flexible-rag/query – Query with flexible RAG pipeline
- POST /v2/flexible-rag/upload – Upload data for flexible RAG
- GET /v2/flexible-rag/status – Check RAG pipeline status