< RETURN_TO_LOGS

Server Status Endpoint

Server Status

Route: GET /api/status/status Returns a snapshot of the API process itself — where it's running, how long it's been up, and how many resources it's consuming. This is handy as a health check or simply to see the runtime environment behind api.xnite.net.

Parameters

Query paramRequiredDescription
(none)NoThis endpoint takes no parameters.

Response fields

FieldDescription
messageHuman readable banner including the running version.
uptimeUptime formatted as Hh Mm Ss.
timestampISO 8601 timestamp of when the response was generated.
up_sinceISO 8601 timestamp of when the process started.
versionThe API version, from api/package.json.
node_versionThe Node.js runtime version.
platformThe operating system platform (process.platform).
archThe CPU architecture (process.arch).
memory_usagePer-category RSS, heap, and external memory totals in MB.
cpu_usageUser and system CPU time in seconds.

Examples

Get the plain JSON response:
curl -s https://api.xnite.net/api/status/status
Pretty-print with jq to walk the response fields:
curl -s https://api.xnite.net/api/status/status | jq '.data'

Sample response

{
  "plugin": "status",
  "success": true,
  "data": {
    "message": "API is running version 0.0.1",
    "uptime": "3h 12m 4s",
    "timestamp": "2026-10-18T02:14:33.000Z",
    "up_since": "2026-10-17T23:02:29.000Z",
    "version": "0.0.1",
    "node_version": "v20.18.0",
    "platform": "linux",
    "arch": "x64",
    "memory_usage": {
      "rss": "71.30 MB",
      "heapTotal": "12.88 MB",
      "heapUsed": "8.82 MB",
      "external": "2.54 MB",
      "arrayBuffers": "0.14 MB"
    },
    "cpu_usage": {
      "user": "6.52 s",
      "system": "1.24 s"
    }
  }
}