Gravitre exposes a REST API on the same origin as the web app.
Base URL
code
https://gravitre.app/api
During local development, the Next.js dev server proxies /api/* to your FastAPI backend.
OpenAPI specification
Download the machine-readable spec (internal admin routes redacted):
Interactive reference (Swagger UI):
Authentication
All authenticated endpoints require a Bearer API key or valid session. See API authentication.
Versioning
The API does not use a /v1 prefix. Breaking changes are communicated via changelog and release notes.
Rate limits
Contact support for current rate-limit tiers for your plan. Do not rely on undocumented limits in client code without confirming with Gravitre.