Get your free beta license ↗
API operation · load group
GET

/load/sessions

First published 26 Oct 20260.2.17Unchanged since publication

List the running and kept Load monitor sessions

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsreadall
Answers200 OK

Returns the running session, if any, in running and the kept sessions in kept, newest first. UrbeStack retains up to 50 kept sessions, keeping the newest. The response includes the retention limit in kept_max.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/load/sessions" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "kept": [
    {
      "ended_at": "text",
      "ends_at": "text",
      "every": 1,
      "how": "done",
      "id": 1,
      "keep": true,
      "readings": 1,
      "started_at": "2026-09-09T10:15:01Z",
      "started_by": "text",
      "state": "running",
      "stopped_by": "text",
      "taken": 1,
      "worst": {
        "apache_busy_max": 1,
        "apache_full": 1,
        "blocked_max": 1,
        "disk": {
          "busy_pct": 1,
          "name": "alice",
          "wait_ms": 1
        },
        "iowait_max": 1,
        "kernel_errors": 1,
        "load_max": 1,
        "mariadb_stuck": 1,
        "pool": {
          "domain": "example.com",
          "hits": 1,
          "kind": "domain",
          "max": 1,
          "name": "alice",
          "peak": 1,
          "php": "text",
          "waiting_peak": 1
        },
        "query": {
          "database": "alice_shop",
          "seconds": 1,
          "state": "text",
          "user": "alice"
        },
        "running_max": 1,
        "steal_max": 1,
        "threads_running_max": 1
      }
    }
  ],
  "kept_max": 1,
  "running": {
    "ended_at": "text",
    "ends_at": "text",
    "every": 1,
    "how": "done",
    "id": 1,
    "keep": true,
    "readings": 1,
    "started_at": "2026-09-09T10:15:01Z",
    "started_by": "text",
    "state": "running",
    "stopped_by": "text",
    "taken": 1,
    "worst": {
      "apache_busy_max": 1,
      "apache_full": 1,
      "blocked_max": 1,
      "disk": {
        "busy_pct": 1,
        "name": "alice",
        "wait_ms": 1
      },
      "iowait_max": 1,
      "kernel_errors": 1,
      "load_max": 1,
      "mariadb_stuck": 1,
      "pool": {
        "domain": "example.com",
        "hits": 1,
        "kind": "domain",
        "max": 1,
        "name": "alice",
        "peak": 1,
        "php": "text",
        "waiting_peak": 1
      },
      "query": {
        "database": "alice_shop",
        "seconds": 1,
        "state": "text",
        "user": "alice"
      },
      "running_max": 1,
      "steal_max": 1,
      "threads_running_max": 1
    }
  }
}

Errors

1 error, each a status and a sentence
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.17 on 26 Oct 2026.
urbestack.com/docs/api/get-load-sessions/