API Reference
API Reference
REST API, GraphQL, and OpenFeature (OFREP) endpoints.
API Reference
Kaiten exposes three API interfaces:
| API | Protocol | Purpose | Auth Required |
|---|---|---|---|
| REST | HTTP/JSON | Primary API for all CRUD operations | Yes |
| GraphQL | HTTP/JSON | Dashboard-optimized queries | Yes |
| OFREP | HTTP/JSON | OpenFeature flag evaluation | Yes (ksh_* tokens only) |
Base URL
- Local:
http://localhost:6000/api - Cloud:
https://api.kaiten.sh/api
Authentication
All endpoints require authentication via:
- JWT (from your Identity Provider) — for dashboard/browser access
- API Token (
Bearer ksh_xxx) — for programmatic access
See Authentication for details.
Explore
REST API
Auto-generated reference from the OpenAPI specification.
GraphQL
Schema overview and example queries.
OpenFeature (OFREP)
Feature flag evaluation via the OpenFeature Remote Evaluation Protocol.
Interactive API Documentation
When running Kaiten locally, you can access the interactive Scalar API docs at:
http://localhost:6000/api/docsThe OpenAPI specification is available at:
http://localhost:6000/api/openapi.json
