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

/updates

First published 3 Oct 20260.1.0Last changed 26 Nov 20260.2.351 change to view
Latest change (release 0.2.35): Updates show as running as soon as the request is accepted.

Get the current update status and recent update history

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

UrbeStack returns locally recorded information without contacting the release endpoint. The updates object includes the installed version, how it was installed, the last release check and any error or refusal, and the last update result. If UrbeStack knows of a newer release, it includes the release details and, if the release is waiting, why and since when.

The status includes any update in progress, with its phase timings and any job it is waiting for. It also reports rollback readiness, the installed version's package directory, public key filenames, the copy size in bytes, and information about tonight's backups. Update settings include automatic, urgent_automatic and hour. The status also gives the next scheduled release check and the installation time for a release waiting for the configured hour.

The terms object reports the installed license terms version, any recorded acceptance with its time and administrator, and the version and URL of any terms awaiting acceptance. The history array contains up to 50 update entries, newest first.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/updates" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "history": [
    {
      "actor": "text",
      "changelog": "text",
      "commands": [
        "text"
      ],
      "finished_at": "2026-09-09T10:15:04Z",
      "from": "text",
      "id": 1,
      "log": "",
      "message": "text",
      "phases": [
        {
          "at": "text",
          "phase": "text"
        }
      ],
      "result": "installed",
      "source": "timer",
      "started_at": "2026-09-09T10:15:01Z",
      "to": "text",
      "urgent": true
    }
  ],
  "updates": {
    "backups": {
      "hour": "text",
      "last_ended_at": "text"
    },
    "blocked": {
      "at": "text",
      "job": {},
      "runs": 1,
      "version": "0.0.1"
    },
    "check_error": "text",
    "check_refused": "text",
    "checked_at": "text",
    "copy_bytes": 1,
    "installed": "text",
    "installed_how": {
      "actor": "text",
      "at": "text",
      "by": "timer"
    },
    "installs_at": "text",
    "keys": [
      "text"
    ],
    "last": {
      "at": "text",
      "commands": [
        "text"
      ],
      "dismissed": true,
      "from": "text",
      "id": 1,
      "message": "text",
      "result": "installed",
      "source": "/old",
      "version": "0.0.1"
    },
    "next_ask": "text",
    "packages_dir": "text",
    "release": {
      "base": "text",
      "changelog": "text",
      "found_at": "text",
      "released": "text",
      "terms": 1,
      "urgent": true,
      "version": "0.0.1"
    },
    "rollback_ready": true,
    "running": {
      "job": {
        "id": 1,
        "progress": 100,
        "started_at": "2026-09-09T10:15:01Z",
        "type": "rebuild"
      },
      "phase": "preparing",
      "phases": [
        {
          "at": "text",
          "phase": "text"
        }
      ],
      "queued": 1,
      "since": "text",
      "version": "0.0.1"
    },
    "settings": {
      "automatic": true,
      "hour": "text",
      "urgent_automatic": true
    },
    "terms": {
      "accepted": {
        "at": "text",
        "by": "text",
        "version": 1
      },
      "installed": 1,
      "url": "text",
      "wanted": 1
    },
    "waiting": {
      "message": "text",
      "reason": "quiet-hour",
      "red": true,
      "since": "text"
    }
  }
}

Errors

1 error, each a status and a sentence
401Authentication required

Change log

1 change since publication, newest first
0.2.3526 Nov 2026
Updates show as running as soon as the request is accepted.The status shows running at the first step of the update, as soon as this server accepts the request.
0.1.03 Oct 2026
First published.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry last changed in release 0.2.35 on 26 Nov 2026.
urbestack.com/docs/api/get-updates/