API documentation
Versioned REST API for enterprise integrations. Decision scores remain deterministic; clarity endpoints are advisory only.
OpenAPI
Machine-readable specification: /api/v1/openapi
Authentication
- API keys via
X-API-Keyheader (Team+ org, DPA accepted) - Rate limits: 120 evaluate/min per key (distributed when Upstash configured)
- Audit events logged for key usage
Core endpoints
- POST /api/v1/evaluate
- POST /api/v1/compare
- POST /api/v1/clarity/explain
- GET /api/v1/intelligence/insights