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

/software

First published 5 Dec 20260.2.39Unchanged since publication

List the software UrbeStack keeps updated

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsreadall
Answers200 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

Run as root on the server

Parameters

allquery ·boolean
This parameter controls whether the operation includes pieces of software that are not installed on this server. The default is false.

Example

See the API overview for how to set $API and $TOKEN.
Request
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

3 errors, each a status and a sentence
400A piece of software is named like httpd, php84 or mariadb
401Authentication required
404This distribution has no piece of software named <o.name>.
Generated from release 0.2.39 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.39 on 5 Dec 2026.
urbestack.com/docs/api/get-software/