---
title: "Poll the status of a package update"
method: GET
path: "/api/package_update_status"
tags: ["Packages"]
---

# Poll the status of a package update

`GET /api/package_update_status`

Returns the status of a background package installation or uninstallation.
Requires `admin`, `developer`, or the `manage_packages` permission.

## Query parameters

- `task_id` string, required

## Response `200`

Status of the package update operation.

- PackageUpdateStatus
  - `status` 'working' | 'completed' | 'unknown'
  - `ok` boolean — Whether the operation succeeded (present when status=completed).
  - `log` string — pip output log (present when status=completed and ok=true).
  - `error_message` string — Error details (present when status=completed and ok=false).

## Other responses

- `400` — Missing task_id.
- `403` — Access denied.

---

[API](https://skmtc.dev/docassemble/apis/docassemble-api.md) · [All operations](https://skmtc.dev/docassemble/apis/docassemble-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/docassemble/docassemble-api/revisions/a75d7eea6826/schema)
