http://localhost:3000/api/v1
All endpoints require a Bearer token in the
Authorization header, except GET /api/v1/health. See Authentication for details.Health check
"up" with no authentication required. Use this to verify your instance is running.
Content type
All request and response bodies use JSON. Set the following header on every request:Endpoint reference
| Method | Path | Description |
|---|---|---|
GET | /api/v1/health | Health check — returns "up" |
POST | /api/v1/ingest/upload/url | Get a presigned S3 URL for direct file upload |
POST | /api/v1/ingest/process | Ingest and chunk a document into the vector store |
POST | /api/v1/chat/completions | Query documents in a session and receive an answer |
GET | /api/v1/chat/history/:sessionId | Retrieve paginated chat history for a session |
DELETE | /api/v1/chat/:sessionId | Delete all chat messages for a session |
GET | /api/v1/session/ | List all sessions for the authenticated user |
POST | /api/v1/session/ | Create a new session |
PATCH | /api/v1/session/:sessionId | Rename a session |
DELETE | /api/v1/session/:sessionId | Delete a session |
Explore endpoints
Get upload URL
Request a presigned S3 URL to upload a document directly to object storage.
Ingest document
Process an uploaded document into chunks and store embeddings.
Chat
Query your documents, retrieve chat history, and delete conversations.
Sessions
Create, list, rename, and delete chat sessions.