Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pixlcore/xyops/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Servers API provides access to server inventory, real-time monitoring data, and server management operations.Get Active Servers
GET /api/app/get_active_servers/v1
Get list of all currently connected servers.
Response
Array of server objects
Metadata with total count
Example
cURL
Response
Get Server
GET /api/app/get_server/v1
Get detailed information about a specific server including full minute monitoring data.
Parameters
Server ID
Response
Server object with configuration and status
Full monitoring data from last minute
Whether server is currently connected
Example
cURL
Response
Update Server
POST /api/app/update_server/v1
Update server configuration (title, enabled status, groups, etc.). Requires the update_servers privilege.
Parameters
Server ID to update
Custom display name
Whether server is enabled
Array of group IDs
Material Design icon name
Enable automatic group assignment
Example
cURL
Update Server Data
POST /api/app/update_server_data/v1
Update custom user data stored with server. Requires the update_servers privilege.
Parameters
Server ID
User data object (shallow-merged unless replace is true)
If true, replace entire userData object instead of merging
Example
cURL
Response
Delete Server
POST /api/app/delete_server/v1
Permanently delete a server and optionally its monitoring history. Requires admin privileges.
Parameters
Server ID to delete
If true, also delete all monitoring data
Example
cURL
Watch Server
POST /api/app/watch_server/v1
Set a watch on a server to take monitoring snapshots every minute for a specified duration. Requires the create_snapshots privilege.
Parameters
Server ID
Watch duration in seconds (0 to cancel)
Example
cURL
Create Snapshot
POST /api/app/create_snapshot/v1
Manually create a monitoring snapshot for a server. Requires the create_snapshots privilege.
Parameters
Server ID
Response
Generated snapshot ID
Example
cURL
Response
Delete Snapshot
POST /api/app/delete_snapshot/v1
Delete a monitoring snapshot. Requires the delete_snapshots privilege.
Parameters
Snapshot ID to delete
Example
cURL
Get Live Stats
Real-time server metrics are available through the active server endpoints. For historical monitoring data, see the Monitors API.Server IDs are automatically generated when servers first connect. Use the hostname to identify servers if the ID is not yet known.