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

/services

First published 14 Oct 20260.2.0Unchanged since publication

List the daemons UrbeStack runs or relies on

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

The response reports each daemon's state, how long it has been in that state, its health check response when checked, its monitor settings, and what stopping it would interrupt. It also includes counts by state.

A daemon is up when its process runs and passes its service-specific health check, hung when its process runs but fails to answer the check, and down when its systemd unit has failed. The stopped state covers stops through UrbeStack and stops performed outside it. For stops through UrbeStack, the response reports who stopped the daemon and when. A disabled daemon is disabled at boot. An absent daemon is uninstalled, and the response identifies the page where you can install it.

By default, UrbeStack runs each daemon's service-specific health check. Set check=0 to read systemd state alone.

As a command

Run as root on the server

Parameters

checkquery ·boolean
Whether to run each daemon's service-specific health check. Defaults to true, and check=0 reads systemd state alone.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/services?check=1" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "counts": {},
  "monitor": {
    "dead": true,
    "dead_since": "text",
    "interval_minutes": 1,
    "last_round_at": "text",
    "last_round_found": 1,
    "last_round_seconds": 1,
    "last_round_watched": 1,
    "stale": true
  },
  "services": [
    {
      "at_boot": true,
      "check": {
        "ok": true,
        "words": "text"
      },
      "checked_by": "text",
      "cuts": "text",
      "depth": "answer",
      "falls_30d": 1,
      "group": "Panel",
      "guard": 1,
      "has_log": true,
      "installed": true,
      "last_check_at": "text",
      "last_check_words": "text",
      "last_restart_at": "text",
      "may_disable": true,
      "may_stop": true,
      "name": "alice",
      "need": "text",
      "pid": 1,
      "role": "user",
      "rounds": 1,
      "since": "text",
      "state": "up",
      "stopped_at": "text",
      "stopped_by": "text",
      "stopped_from": "text",
      "systemd_restarts": 1,
      "timeout": 1,
      "unit": "text",
      "version": "0.0.1",
      "watched": true
    }
  ]
}

Errors

5 errors, each a status and a sentence
400Invalid boolean
400Invalid setting key
401Authentication required
404No daemon named <name>
404Setting '<key>' not found
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.0 on 14 Oct 2026.
urbestack.com/docs/api/get-services/