API referenceMetrics
Get usage of one node
GET
Returns one node's CPU, memory, disk and network series over a range and its latest sample.
Needs nodes.view, which owners and admins hold. Available to MCP clients and the assistant.
cookie
seylo_session<token>nodeId*stringPanel-issued id.
Match
^[a-z0-9]{16}$range?||||Default
"1h"Success.
application/json- response
range*string|string|string|string|stringstepSeconds*integerRange
1 <= valueseries*curl -X GET 'https://example.com/api/v1/metrics.node?nodeId=string'Example Response
{ "range": "live", "stepSeconds": 1, "series": { "nodeId": "string", "name": "string", "online": true, "latest": { "at": "2019-08-24T14:15:22Z", "cpuPercent": 0, "memoryUsedBytes": 0, "memoryTotalBytes": 0, "diskUsedBytes": 0, "diskTotalBytes": 0, "networkRxBytesPerSec": 0, "networkTxBytesPerSec": 0, "load1": 0 }, "points": [ { "t": 0, "cpuPercent": 0, "memoryUsedBytes": 0, "memoryTotalBytes": 0, "diskUsedBytes": 0, "networkRxBytesPerSec": 0, "networkTxBytesPerSec": 0 } ] }}Turn the MCP server on or off POST
Switches the MCP endpoint on or off for the whole panel. Off refuses every token and OAuth flow but keeps them. Needs `mcp.manage`, which owners and admins hold. Not available to MCP clients or the assistant.
Get usage of every node GET
Returns CPU, memory and network series for every node over a range, for the dashboard graphs, plus each node's latest sample. Needs `nodes.view`, which owners and admins hold. Available to MCP clients and the assistant.