Endpoints Overview

All available API endpoints at a glance

Chat & Inference
POST/api/v1/chat/completionsPrimary
OpenAI-compatible chat completions — supports system messages, multi-turn, streaming
POST/api/v1/ask?model=model_name
Simple single-turn ask endpoint — minimal request format
RAG System
POST/api/v1/context/conversations/create
Create a RAG conversation (knowledge base container)
POST/api/v1/rag/index
Index documents into vector DB for semantic search
POST/api/v1/rag/search
Semantic search across indexed documents with relevance scoring
POST/api/v1/rag/chat
Chat with AI using indexed documents as context
GET/api/v1/rag/stats/:conversationId
Get vector collection statistics for a conversation
API Keys & Analytics
GET/api/v1/keys
List all API keys for the authenticated user
POST/api/v1/keys
Create a new API key
DELETE/api/v1/keys/:id
Delete an API key by ID
GET/api/v1/keys/:id/analyticsAnalytics
Get real-time analytics for a specific API key
System
GET/api/health
Health check — for uptime monitoring and load balancer probes