An API for everything the panel does.
Every action in the panel is a typed operation. The CLI and the HTTP API call the same operations, with the same checks and the same audit entry.
A bearer token per script.
The token is printed once. Every API path is under /api/v1/, on port 7443.
klyrn user token deploy@example.com --name "CI deploys" --days 90 --scopes deploy,jobs
curl -sS https://panel.example.com:7443/api/v1/sites \
-H 'Authorization: Bearer klyrn_<token>'
Tokens limited by scope.
A scope narrows a token to what the script needs, and can never widen what its owner may do. A token with no scopes carries its owner's full authority.
read sites files databases backups deploy migrate jobs admin
Long tasks run as jobs.
A backup, a restore, a deploy or an import returns a job at once. Poll it for status, progress, steps and log lines.
POST /api/v1/sites/12/backups → 200 { "id": 118, "status": "queued", … }
GET /api/v1/jobs/118 → status, progress, steps
GET /api/v1/jobs/118/log?after=42 → log lines after sequence 42
Signed webhooks.
Thirteen events, sent by POST to an HTTPS endpoint and signed with HMAC-SHA256. A failed delivery is retried, six attempts in all. No customer content is ever included.
The CLI works without the panel.
It talks to the core over a local socket, so it still works when the web tier is down.
Run klyrn ops to print every operation the server has.
All of it is in Free.
Every endpoint, scope and signature on this page is free to install today.