API Reference
Integrate Vestric into your own applications with our REST API. Full programmatic control over documents, chatbots, and conversations.
# Base URL
https://api.vestric.ai/v1
# Authentication
Authorization: Bearer <your_api_key>
Endpoints
/v1/documents
Upload a document to be processed and indexed.
/v1/documents/:id
Retrieve document metadata and processing status.
/v1/documents/:id
Remove a document and its indexed data.
/v1/chatbots
Create a new chatbot from one or more documents.
/v1/chatbots/:id
Get chatbot configuration and usage stats.
/v1/chat
Send a query and receive a RAG-powered response.
/v1/analytics/:chatbot_id
Retrieve analytics data for a chatbot.
Rate Limits
Free: 100 requests/min. Pro: 1,000 requests/min. Enterprise: custom. All responses include X-RateLimit headers.