The server endpoints are the core of EcliPanel’s API. Every action the frontend takes against a running game server—power signals, file browsing, real-time console, backups, and database credentials—flows through the routes documented here. All endpoints require a valid session cookie or API key.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/thenoname-gurl/EcliPanel/llms.txt
Use this file to discover all available pages before exploring further.
Server CRUD
List servers
GET /api/servers
Returns every server the authenticated user owns or has sub-user access to.
UUID of the server.
Human-readable server name.
Current power state:
running, stopped, starting, stopping.ID of the node the server runs on.
Whether the server is currently suspended.
Get server details
GET /api/servers/:id
Server UUID.
Create server
POST /api/servers
Display name for the server.
ID of the node to deploy the server on.
Egg (server type) ID defining the runtime configuration.
RAM allocation in megabytes.
Disk allocation in megabytes.
CPU limit as a percentage (100 = one vCPU thread).
Update server
PUT /api/servers/:id
Server UUID.
New display name.
New RAM limit in megabytes.
New disk limit in megabytes.
New CPU percentage limit.
Delete server
DELETE /api/servers/:id
Server UUID.
Power control
Send power signal
POST /api/servers/:id/power
Server UUID.
One of
start, stop, restart, or kill.The
kill signal immediately terminates the server process without a graceful shutdown.Whether the signal was dispatched to the node.
Files
List files
GET /api/servers/:id/files
Server UUID.
Directory path to list, relative to the server root.
File or directory name.
Size in bytes.
Whether the entry is a directory.
ISO 8601 last-modified timestamp.
/api/servers/:id/files/ prefix:
| Endpoint | Method | Description |
|---|---|---|
/api/servers/:id/files/contents | GET | Read file contents |
/api/servers/:id/files/download | GET | Download a file |
/api/servers/:id/files/upload | POST | Upload a file |
/api/servers/:id/files/write | POST | Write content to a file |
/api/servers/:id/files/delete | POST | Delete one or more files |
/api/servers/:id/files/create-directory | POST | Create a directory |
/api/servers/:id/files/archive | POST | Archive files into a tarball |
/api/servers/:id/files/move | PUT | Move files |
/api/servers/:id/files/rename | PUT | Rename a file |
/api/servers/:id/files/chmod | POST | Change file permissions |
Monitoring
Get live stats
GET /api/servers/:id/stats
Returns current CPU, RAM, and network I/O metrics.
Server UUID.
Current CPU usage percentage.
RAM used in bytes.
Configured RAM limit in bytes.
Total bytes received.
Total bytes transmitted.
Get server logs
GET /api/servers/:id/logs
Server UUID.
Connect to console (WebSocket)
GET /api/servers/:id/console
This endpoint upgrades to a WebSocket connection. Use
ws:// or wss:// as the scheme. Authentication is performed via a short-lived token passed in the token query parameter.Server UUID.
Short-lived console auth token obtained from
/api/servers/:id/websocket.Backups
List backups
GET /api/servers/:id/backups
Server UUID.
Backup unique identifier.
Backup name.
Backup size in bytes.
ISO 8601 creation timestamp.
ISO 8601 completion timestamp, or
null if in progress.Restore backup
POST /api/servers/:id/backups/:bid/restore
Server UUID.
Backup UUID.
Databases
List databases
GET /api/servers/:id/databases
Server UUID.
Database record ID.
Database name.
Database host.
Database port.
Get database credentials
GET /api/servers/:id/databases/:dbId/credentials
Server UUID.
Database record ID.
Sub-users
List sub-users
GET /api/servers/:id/subusers
Returns all users who have been granted access to the server with their permission set.
Server UUID.
Sub-user’s account ID.
Sub-user’s email address.
List of granted permission strings, e.g.
files, console, *.Get sub-user detail
GET /api/servers/:id/subusers/:subId
Server UUID.
Sub-user record ID.