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

POST

/v1/documents

Upload a document to be processed and indexed.

GET

/v1/documents/:id

Retrieve document metadata and processing status.

DELETE

/v1/documents/:id

Remove a document and its indexed data.

POST

/v1/chatbots

Create a new chatbot from one or more documents.

GET

/v1/chatbots/:id

Get chatbot configuration and usage stats.

POST

/v1/chat

Send a query and receive a RAG-powered response.

GET

/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.