API reference
Aether Panel is driven by an HTTP API: the web client uses it, and so can scripts, bots and billing systems. This page is the entry point. Each area has its own page with a route table at the top and the details (body, query, response, errors) below.
The product is called Aether Panel. The Go module, the binary and some identifiers (cookie
skypanel_auth,SKYPANEL_*variables) still use the name SkyPanel.
Everything here was checked against the routes the code registers (internal/web/api, internal/web/auth, internal/web/oauth2, internal/web/daemon). When the generated Swagger page (/swagger/index.html, administrators only) disagrees with this reference, this reference is right: several annotations were corrected in the code but the served Swagger files have not been regenerated yet, and a few still name scopes that do not exist (see Conventions → Swagger).
| Page | Contents |
|---|---|
| Conventions | Base paths, request and response format, errors, status codes, pagination, headers, CORS, rate limits |
| Authentication | Session cookie, bearer tokens, OAuth2 clients, API keys, the same-origin guard, scopes, /auth/*, /oauth2/token, /api/config |
| Servers | Server list, create, delete, power, console, stats, definition, variables, ports, users, activity, subdomain, clone, transfer, AI, WebSocket |
| Server content | Files, archives, file history, plugins, modpacks, world map, backups, tasks, databases |
| Accounts and users | Your own account (profile, 2FA, OAuth2 clients, SSH keys), user settings, users, roles, access activity |
| Panel administration | Nodes, settings, API keys, templates, game versions, database hosts, extensions, uptime |
| Provisioning / billing | Products and the /api/v1 routes for WHMCS, Paymenter and similar |
| External transfer | Copying a server’s files from another Aether Panel |
| Daemon | The /daemon routes the panel calls on each node |
Quick start
Section titled “Quick start”Create an OAuth2 client in Account Settings → OAuth (or with POST /api/self/oauth2), exchange it for a token and send the token as a bearer header. The client acts with all the permissions of your account:
TOKEN=$(curl -s -X POST https://panel.example.com/oauth2/token \ -d grant_type=client_credentials \ -d client_id=CLIENT_ID \ -d client_secret=CLIENT_SECRET | jq -r .access_token)
curl -s -H "Authorization: Bearer $TOKEN" https://panel.example.com/api/serverscurl -s -X POST -H "Authorization: Bearer $TOKEN" https://panel.example.com/api/servers/a1b2c3d4/startRequests with a bearer token are not affected by the same-origin guard; requests that carry the panel’s cookies are.
Route map
Section titled “Route map”Each area below links to the page that documents it.
Authentication
Section titled “Authentication”/auth/login, /auth/otp, /auth/logout, /auth/register, /auth/forgot-password, /auth/reset-password, /auth/reauth, /auth/sso, /auth/challenge, /auth/publickey, /auth/sftp-key (nodes only), /oauth2/token and the public GET /api/config. See Authentication.
Servers
Section titled “Servers”/api/servers and /api/servers/:serverId/...: list, create, delete, suspend, rename, definition, variables, port settings, flags, power actions, console, stats, status, query, metrics, crash reports, game version, notifications, users and owner, activity log, subdomain, clone, node transfer, AI (ai/analyze, ai/chat and the assistant’s confirmations ai/chat/confirm). See Servers.
WebSocket
Section titled “WebSocket”GET /api/servers/:serverId/socket streams the console, stats and status. See Servers → WebSocket.
/api/servers/:serverId/file/*, archive/*, extract/* and file-history. See Server content → Files.
Plugins and modpacks
Section titled “Plugins and modpacks”/api/servers/:serverId/plugins and /modpacks. See Server content.
World map
Section titled “World map”/api/servers/:serverId/map and the signed viewer /api/map-view/.... See Server content → World map.
Backups
Section titled “Backups”/api/servers/:serverId/backup/...: list, create (409 ErrBackupLimit past panel.backups.maxPerServer), restore, download, delete. See Server content → Backups.
/api/servers/:serverId/tasks/.... See Server content → Tasks.
Server databases
Section titled “Server databases”/api/servers/:serverId/databases and /databasehosts. See Server content → Databases.
Account
Section titled “Account”/api/self/... (profile, 2FA, OAuth2 clients, SSH keys) and /api/userSettings. See Accounts and users.
Users and roles
Section titled “Users and roles”/api/users, /api/roles and the access log /api/activity. See Accounts and users.
/api/nodes/..., including the port check and the network history. See Panel administration → Nodes.
Settings
Section titled “Settings”/api/settings/...: values, tests (email, Discord, S3, Cloudflare), license, updates, domain status. See Panel administration → Settings.
API keys
Section titled “API keys”/api/settings/apikeys. See Panel administration → API keys.
Templates
Section titled “Templates”/api/templates/... and /api/game-versions/:platform. See Panel administration → Templates.
Database hosts
Section titled “Database hosts”/api/databasehosts/.... See Panel administration → Database hosts.
Extensions
Section titled “Extensions”/api/extensions/... and /api/extension-files/.... See Panel administration → Extensions.
Uptime
Section titled “Uptime”/api/uptime and /api/uptime/:serverId. See Panel administration → Uptime.
Provisioning / billing
Section titled “Provisioning / billing”/api/provision/products and /api/v1/*. See Provisioning / billing.
External transfer
Section titled “External transfer”/api/servers/:serverId/extransfer/* and the public /api/extransfer/*. See External transfer.
Daemon
Section titled “Daemon”/daemon, /daemon/features, /daemon/system, /daemon/ports, /daemon/network/history, /daemon/servers/status, /daemon/update, /daemon/update-status and /daemon/server/:serverId/..., including the node transfer’s backup copy and scheduler pause/resume routes and the server assistant’s file routes (fs/stat, fs/copy, fs/search). The panel’s status poll (/daemon/servers/status) also carries its notification language in the X-Aether-Notification-Language header. See Daemon.
Related documentation
Section titled “Related documentation”The previous single-file version of this page also carried internal details that are not part of the HTTP API. They are documented here:
- Configuration keys and environment variables: Configuration
- Command line: CLI commands
- Database tables: Database
- Server definitions, environments, scheduler, disk limit: Servers
- Middleware and routing internals: API layer
- WebSocket internals (trackers, console buffer): WebSocket
- JWT, SFTP and API key internals: Security, SFTP, JWT and API keys
- How the web client calls the API: API consumption from the frontend
- Permission names and who gets them: Permissions reference
- Extension packages and events: Extensions
