API Reference
Complete API documentation for integrating with termo.ai
Getting Started
Resources
Authentication
termo.ai uses API keys for authentication. You can manage your API keys from your dashboard.
Example Request
curl -X POST https://api.termo.ai/v1/agents \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "My Agent"}'
API Endpoints
POST
/v1/agents
Create a new AI agent
Request
curl -X POST https://api.termo.ai/v1/agents \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
GET
/v1/agents/{id}
Get agent details
Request
curl -X GET https://api.termo.ai/v1/agents/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
DELETE
/v1/agents/{id}
Delete an agent
Request
curl -X DELETE https://api.termo.ai/v1/agents/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Rate Limits
API requests are limited based on your plan:
- Starter: 1,000 requests per hour
- Pro: 10,000 requests per hour
- Enterprise: Custom limits
Error Handling
The API uses conventional HTTP response codes to indicate the success or failure of requests.
200
Success400
Bad Request401
Unauthorized429
Too Many Requests