# GET /software

First published 5 Dec 2026 (release 0.2.39) · Unchanged since publication

UrbeStack release 0.2.39 API operation in the updates group.

List the software UrbeStack keeps updated

- Who may call it: administrator
- Token scope, any of: settings, read, all
- Answers: 200 OK

Each entry describes a piece of software UrbeStack installs on this server, such as httpd, php84, or mariadb, and shows its installed version, its packages, the services restarted after an update, and the packages an administrator holds. UrbeStack asks the package manager on each request and stores none of the information.

Each entry also shows whether the piece of software is selected for the nightly run, how its last update ended, and any active red notice. The response shows whether software.automatic is on, the hour of the nightly run, and the last run.

The response also shows whether software.security is on and lists the flags that are up, with this server's state for each flag.

## As a command

- [urbestack-software-list](https://urbestack.com/docs/commands/urbestack-software-list.md): The command lists the pieces of software UrbeStack installs and keeps updated on this server, such as httpd, php84, and mariadb.

## Parameters

- `all` (query, boolean): This parameter controls whether the operation includes pieces of software that are not installed on this server. The default is false.

## 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/software?all=1" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "automatic": true,
  "distribution": "text",
  "flags": [
    {
      "dismissed": true,
      "ends_at": "text",
      "id": 1,
      "message": "text",
      "piece": "text",
      "raised_at": "text",
      "state": "text",
      "target": "https://example.com/new",
      "why": "text"
    }
  ],
  "flags_error": "text",
  "hour": "text",
  "last_run": {
    "actor": "text",
    "at": "text",
    "error": "Domain 'example.com' already exists",
    "software": [
      {
        "manager_error": "text",
        "message": "text",
        "name": "alice",
        "now": "text",
        "result": "text",
        "service": "text",
        "was": "text"
      }
    ],
    "source": "nightly",
    "stopped_at": "text"
  },
  "requested": {
    "actor": "text",
    "at": "text",
    "names": [
      "text"
    ]
  },
  "running": {
    "names": [
      "text"
    ],
    "piece": "text",
    "since": "text",
    "source": "/old"
  },
  "security": true,
  "software": [
    {
      "automatic": true,
      "failed": {
        "at": "text",
        "from": "text",
        "service": "text",
        "version": "0.0.1"
      },
      "held": [
        {
          "by": "text",
          "package": "basic"
        }
      ],
      "installed": true,
      "last": {
        "at": "text",
        "from": "text",
        "message": "text",
        "result": "text",
        "service": "text",
        "to": "text"
      },
      "name": "alice",
      "package": "basic",
      "packages": [
        {
          "name": "alice",
          "version": "0.0.1"
        }
      ],
      "problem": {
        "at": "text",
        "dismissed": true,
        "message": "text",
        "way_back": [
          "text"
        ]
      },
      "restarts": [
        "text"
      ],
      "version": "0.0.1"
    }
  ]
}
```

## Errors

- 400: A piece of software is named like httpd, php84 or mariadb
- 401: Authentication required
- 404: This distribution has no piece of software named <o.name>.
