Skip to main content
GET
/
bots
/
{id}
/
metrics
curl https://api.phanomcloud.online/bots/3fa85f64-5717-4562-b3fc-2c963f66afa6/metrics \
  -H "Authorization: Bearer sess_..."
{
  "success": true,
  "data": {
    "bot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "online",
    "current": {
      "timestamp": "2025-01-15T10:00:00Z",
      "cpu_percent": 12.5,
      "ram_used": 134217728,
      "ram_limit": 268435456,
      "ram_percent": 50.0,
      "net_rx": 1048576,
      "net_tx": 524288,
      "net_rx_rate": 1024.5,
      "net_tx_rate": 512.2,
      "pids": 3
    },
    "current_display": {
      "cpu": "12.50%",
      "ram": "128 MB / 256 MB (50.00%)",
      "net_rx": "1 MB",
      "net_tx": "512 KB",
      "net_rx_rate": "1 KB/s",
      "net_tx_rate": "512 B/s",
      "pids": "3"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.phanomcloud.online/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required
UUID of the bot.

Response

data.bot_id
string
UUID of the bot.
data.status
string
Current bot status.
data.current
object | null
null if bot is offline or metrics aren’t available yet.
data.current_display
object
Human-readable versions of the same fields (e.g. "128 MB / 256 MB (50.00%)").
curl https://api.phanomcloud.online/bots/3fa85f64-5717-4562-b3fc-2c963f66afa6/metrics \
  -H "Authorization: Bearer sess_..."
{
  "success": true,
  "data": {
    "bot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "online",
    "current": {
      "timestamp": "2025-01-15T10:00:00Z",
      "cpu_percent": 12.5,
      "ram_used": 134217728,
      "ram_limit": 268435456,
      "ram_percent": 50.0,
      "net_rx": 1048576,
      "net_tx": 524288,
      "net_rx_rate": 1024.5,
      "net_tx_rate": 512.2,
      "pids": 3
    },
    "current_display": {
      "cpu": "12.50%",
      "ram": "128 MB / 256 MB (50.00%)",
      "net_rx": "1 MB",
      "net_tx": "512 KB",
      "net_rx_rate": "1 KB/s",
      "net_tx_rate": "512 B/s",
      "pids": "3"
    }
  }
}