Overview
Catalyst exposes a REST API for everything the panel does, plus realtime streams for console output, server events, and metrics.
Start here
Section titled “Start here”- Authentication — create an API key and send it as a bearer token.
- Authorization — the permission model and every permission string.
- Errors — stable codes you can branch on.
- Pagination and rate limits.
- Realtime events — console, server events, metrics.
- Guides — common workflows end to end.
- Plugin development — extend the panel itself.
- API reference — generated endpoint documentation.
Conventions
Section titled “Conventions”- Base path
/api(for example/api/servers,/api/nodes), over HTTPS. - JSON bodies, UTF-8.
- API keys are created in the panel and sent as
Authorization: Bearer <key>. A request without that header falls back to session-cookie auth. - Pagination differs per endpoint — some use
page/limit,GET /api/serversuseslimit/offset. Check Pagination before writing a generic page walker. - Errors carry a stable machine-readable
codein addition to the message — branch on the code, never on English text.
Source of truth
Section titled “Source of truth”The API reference is generated from the backend’s route
definitions, so it tracks the code. The same document is served raw at
/openapi.json. If a guide here disagrees with the reference, the reference and
the actual behaviour win — report the mismatch so the guide gets fixed.
