# GET /updates/{id}

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the updates group.

Get an update history entry and its complete log

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

The update object contains the history entry, its complete log, the changelog, and the recorded update phases. For a failed rollback, commands lists the recovery commands to run. When unavailable, commands and phases are empty arrays and changelog is an empty string. If the update ID does not exist, the API returns HTTP 404.

## Parameters

- `id` (path, integer, 1 or more, required)

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

Response, 200 OK:

```
{
  "update": {
    "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
  }
}
```

## Errors

- 400: Invalid id
- 401: Authentication required
- 404: Update <id> not found
