Base URLs
- Hosted
- Self-Hosted
Authentication
All API requests require authentication via API key header:Get your API key from the dashboard (hosted) or run
make reissue-key (self-hosted).API Structure
The API is organized into several groups:Platform Endpoints
Core functionality: environments, runs, diffs
/api/platform/initEnv/api/platform/startRun/api/platform/evaluateRun/api/platform/results/{runId}
Template Endpoints
Manage environment templates
/api/platform/templates/api/platform/templates/{id}
Test Suite Endpoints
Manage test suites and tests
/api/platform/testSuites/api/platform/testSuites/{id}
Service APIs
Isolated service replicas
/api/env/{id}/services/slack/*/api/env/{id}/services/linear/*
Response Format
Success Response
Error Response
Common Error Codes
| Code | Status | Description |
|---|---|---|
not_authed | 401 | Missing or invalid API key |
invalid_environment_path | 400 | Malformed environment ID |
environment_not_found | 404 | Environment doesn’t exist or expired |
run_not_found | 404 | Test run doesn’t exist |
template_not_found | 404 | Template doesn’t exist |
internal_error | 500 | Server error |
Rate Limits
- Hosted
- Self-Hosted
| Plan | Requests/hour | Concurrent Environments |
|---|---|---|
| Free | 100 | 5 |
| Pro | 1,000 | 50 |
| Enterprise | Unlimited | Unlimited |