Base URL
Authentication
All API requests require authentication. See Authentication Guide for details.Using API Keys
Include your API key in theAuthorization header:
Using JWT Tokens
Include your access token in theAuthorization header:
Rate Limits
API requests are rate-limited based on your plan:- Free: 100 requests/minute
- Starter: 500 requests/minute
- Business: 2,000 requests/minute
- Pro: 10,000 requests/minute
Error Responses
All errors follow this format:200- Success201- Created400- Bad Request401- Unauthorized403- Forbidden404- Not Found429- Rate Limit Exceeded500- Internal Server Error
API Endpoints
Authentication
- Login - Authenticate and receive tokens
- Signup - Create a new account
- Refresh Token - Get new access token
Agents
- List Agents - Get all agents
- Create Agent - Create a new agent
- Get Agent - Get agent details
- Update Agent - Update an agent
- Delete Agent - Delete an agent
Chat
- Send Message - Send a message to an agent
- Stream Message - Get streaming response
- Get Messages - Get conversation messages
- Get Conversations - Get all conversations
Knowledge Base
- List Documents - Get all documents
- Upload Document - Upload a document
- Add URL - Add a URL to knowledge base
- Delete Document - Delete a document
Integrations
- List Integrations - Get all integrations
- Create Integration - Create an integration
- List Providers - Get available providers
Webhooks
- List Webhooks - Get all webhooks
- Create Webhook - Create a webhook
- Webhook Events - Available webhook events