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
Monitors are custom metrics derived from server data using expressions. Use these endpoints to create, update, and test monitor definitions, and to fetch monitoring data.List Monitors
GET /api/app/get_monitors/v1
Fetch all monitor definitions.
Response
Get Monitor
GET /api/app/get_monitor/v1
Fetch a single monitor definition.
Parameters
Monitor ID
Example
cURL
Create Monitor
POST /api/app/create_monitor/v1
Create a new monitor definition. Requires the create_monitors privilege.
Parameters
Display name for the monitor
JEXL expression to extract value from server data
Data type:
integer, float, bytes, seconds, or millisecondsWhether monitor is active (default: true)
Optional regex to extract value from string results
Custom monitor ID (auto-generated if omitted)
Example
The
source expression is compiled using JEXL syntax. Common examples:cpu.load_avg- Direct property accessmem.used / mem.total * 100- Calculated percentagedisk["/"].used- Array access
Update Monitor
POST /api/app/update_monitor/v1
Update an existing monitor. Requires the edit_monitors privilege.
Parameters
Monitor ID to update
Any monitor properties to update
Example
cURL
Test Monitor
POST /api/app/test_monitor/v1
Test a monitor expression against a specific server before creating it. Requires the edit_monitors privilege.
Parameters
Server ID to test against
JEXL expression to test
Data type for the result
Optional regex pattern
Response
Extracted value from server data
True if expression failed to evaluate
Example
Delete Monitor
POST /api/app/delete_monitor/v1
Delete a monitor definition. Requires the delete_monitors privilege.
Parameters
Monitor ID to delete
Example
cURL
Get QuickMon Data
POST /api/app/get_quickmon_data/v1
Get real-time monitoring data for servers.
Parameters
Specific server ID (omit for all servers)
Server group ID (returns all servers in group)
Response
Object with server IDs as keys, each containing array of monitor values
Example
cURL
Response
Get Latest Monitor Data
POST /api/app/get_latest_monitor_data/v1
Fetch the most recent monitoring timeline data for a server.
Parameters
Server ID
System ID (e.g.,
minute, hour, day)Number of data points to return
Response
Array of timeline data points
Current server data object
Example
cURL
Get Historical Monitor Data
POST /api/app/get_historical_monitor_data/v1
Fetch historical monitoring data for a specific date range.
Parameters
Server ID
System ID (e.g.,
hour, day)Unix timestamp for the date to query
Number of data points to return
Example
cURL
Response
Multi-Update Monitors
POST /api/app/multi_update_monitor/v1
Update multiple monitors in a single call (typically used for reordering). Requires the edit_monitors privilege.
Parameters
Array of objects with
id and sort_orderExample
cURL