---
title: "Wait for a change to complete"
method: GET
path: "/v1/changes/{id}/wait"
tags: ["changes"]
---

# Wait for a change to complete

`GET /v1/changes/{id}/wait`

Wait for the change to be finished.

If the wait operation succeeds, the result will have the "err" field set to an appropriate error message if the change itself had an error.

## Path parameters

- `id` string, required

## Query parameters

- `timeout` string

## Response `200`

Change information

- ChangeObject
  - `type` string — Response type, "sync".
  - `status-code` integer — HTTP response status code.
  - `status` string — The description of the HTTP status code. See the [IANA list](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml).
  - `result` ChangeInfo
    - `id` string
    - `kind` string
    - `summary` string
    - `status` string
    - `tasks` TaskInfo[]
      - `id` string
      - `kind` string
      - `summary` string
      - `status` string
      - `log` string[]
      - `progress` TaskInfoProgress
        - `label` string
        - `done` integer
        - `total` integer
      - `spawn-time` string, date-time — spawn-time is a [time](#time).
      - `ready-time` string, date-time — ready-time is a [time](#time).
      - `data` object
    - `ready` boolean
    - `err` string
    - `spawn-time` string, date-time — spawn-time is a [time](#time).
    - `ready-time` string, date-time — ready-time is a [time](#time).
    - `data` object

## Changes

- **2024-12-22** `b3903318c3bd` — 2 info
  - api tag `changes` added
  - api tag `changes and tasks` removed

[Change history](https://skmtc.dev/canonical/apis/pebble-api/changes/v1/changes/:id/wait/get.md)

---

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