Infram exposes a REST API under /api. The sidebar operation pages are generated from the live OpenAPI specification.
- Local install:
http://<host>:6989/api - Reverse proxy:
https://<your-domain>/api
Most endpoints require a bearer token:
Authorization: Bearer <session-token>
Session tokens are returned by login endpoints and also set in the Authorization response header on successful authentication.
- Typically public: selected service and authentication bootstrap endpoints (for example login/startup checks)
- Protected: operational resources such as entries, sessions, scripts, identities, organizations, and audit data
- Open an operation in the API sidebar.
- Review request schema, auth requirements, and response schema.
- Execute requests against your environment base URL.
If operation docs are stale or missing:
yarn docs:openapi
yarn docs:devFor static docs build:
yarn docs:build- 401/invalid token: obtain a new session token and resend bearer header.
- 400 schema error: compare payload with endpoint validation schema in API docs.
- Missing endpoints in docs: regenerate OpenAPI and rebuild docs.