# GET /services

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the services group.

List the daemons UrbeStack runs or relies on

- Who may call it: administrator
- Token scope, any of: settings, read, all
- Answers: 200 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

- [urbestack-service-list](https://urbestack.com/docs/commands/urbestack-service-list.md): Lists the daemons UrbeStack runs or relies on.

## Parameters

- `check` (query, boolean): Whether to run each daemon's service-specific health check. Defaults to true, and check=0 reads systemd state alone.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 400: Invalid boolean
- 400: Invalid setting key
- 401: Authentication required
- 404: No daemon named <name>
- 404: Setting '<key>' not found
