Authentication
All API endpoints require authentication using an API key. You can generate API keys from your workspace settings in the Relyable dashboard. Include your API key in theAuthorization header of all requests:
Getting Your API Key
1
Navigate to Workspace Settings
In your Relyable dashboard, click on your workspace name and select Settings.
2
Generate API Key
Go to the API Keys section and click Create New API Key.Give your key a descriptive name (e.g., “Production CI/CD” or “Development Testing”).
3
Copy and Store Securely
Copy the API key immediately - you won’t be able to see it again. Store it in a secure location like environment variables or a secrets manager.
Base URL
The base URL for all API requests is:Rate Limiting
API requests are rate limited based on your subscription plan:| Plan | Rate Limit |
|---|---|
| Free | 60 requests/minute |
| Pro | 300 requests/minute |
| Enterprise | Custom limits |
429 Too Many Requests response.
Response Format
All responses are returned in JSON format with the following structure: Success Response:Common Response Codes
| Status Code | Meaning |
|---|---|
| 200 | Success - Request completed successfully |
| 201 | Created - Resource was created successfully |
| 400 | Bad Request - Invalid request parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - You don’t have permission for this resource |
| 404 | Not Found - Resource doesn’t exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Something went wrong on our end |
Pagination
List endpoints (e.g.,/agents, /test-runs) support pagination:
page- Page number (default: 1)limit- Items per page (default: 25, max: 100)
Webhooks
Relyable can send webhooks to your server when certain events occur:- Test run completed
- Test run failed
- Agent score dropped below threshold
- Critical test case failed
Common Use Cases
Automated CI/CD Testing
Trigger Relyable tests automatically when you deploy prompt changes:Monitoring Production Quality
Fetch your agent’s recent performance scores:Bulk Test Case Management
Import test cases from your own testing framework:SDKs and Libraries
Official SDKs coming soon for:- Node.js/TypeScript
- Python
- Go
API Endpoints
Explore the available endpoints:Agents
List, retrieve, and manage your voice agents
Test Runs
Create and monitor automated test runs
Test Cases
Manage test cases for your agents
Webhooks
Configure webhooks for real-time notifications
OpenAPI Specification
Download our complete OpenAPI specification for use with API clients, code generators, and documentation tools:Download OpenAPI Spec
OpenAPI 3.0 JSON specification
Support
Need help with the API?- Email: [email protected]
- X/Twitter: @relyableai
- Documentation: docs.relyable.ai
- Dashboard: app.relyable.ai
Changelog
v1.0.0 - Initial API release- Core agent management endpoints
- Test run creation and monitoring
- Test case management
- Webhook support