API Reference¶
Lorika exposes a REST API at https://api.lorika.dev/api/v1.
OpenAPI¶
Interactive spec: api.lorika.dev/docs (Swagger UI).
JSON spec: api.lorika.dev/openapi.json.
Sections¶
- Authentication — OAuth, tokens, sessions
- Endpoints — catalog of available operations
Rate limits¶
- Authenticated requests: 1000/hour
- OAuth exchanges: 20/hour per IP
- Agent endpoints: separate, higher quota
- Auth endpoints: 30/minute per IP
Rate limiting uses SlowAPI + Redis.
Versioning¶
All endpoints prefixed with /api/v1. We'll version up (v2, v3) for breaking changes; v1 will remain supported for at least 12 months after deprecation.