---
title: "GET /deviceUpdate/{instanceId}/updates/operations"
method: GET
path: "/deviceUpdate/{instanceId}/updates/operations"
tags: ["Update management"]
---

# GET /deviceUpdate/{instanceId}/updates/operations

`GET /deviceUpdate/{instanceId}/updates/operations`

Get a list of all import update operations. Completed operations are kept for 7
days before auto-deleted. Delete operations are not returned by this API
version.

## Path parameters

- `instanceId` string, required

## Query parameters

- `api-version` string, required
- `filter` string
- `top` integer

## Response `200`

The request has succeeded.

- UpdateOperationsList — The list of operations with server paging support.
  - `value` UpdateOperation[], required — The UpdateOperation items on this page
    - `operationId` string, required — Operation Id.
    - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed', required — Operation status.
    - `update` UpdateInfo — Update information.
      - `updateId` UpdateId, required — Update identifier.
        - `provider` string, required — Update provider.
        - `name` string, required — Update name.
        - `version` string, required — Update version.
      - `description` string — Update description.
      - `friendlyName` string — Friendly update name.
    - `resourceLocation` string — Location of the imported update when operation is successful.
    - `error` Error — Error details.
      - `code` string, required — Server defined error code.
      - `message` string, required — A human-readable representation of the error.
      - `target` string — The target of the error.
      - `details` Error[] — An array of errors that led to the reported error.
      - `innererror` InnerError — An object containing more specific information than the current object about the error.
        - `code` string, required — A more specific error code than what was provided by the containing error.
        - `message` string — A human-readable representation of the error.
        - `errorDetail` string — The internal error or exception message.
        - `innerError` InnerError — recursive
      - `occurredDateTime` string, date-time — Date and time in UTC when the error occurred.
    - `traceId` string — Operation correlation identity that can used by Microsoft Support for troubleshooting.
    - `lastActionDateTime` string, date-time, required — Date and time in UTC when the operation status was last updated.
    - `createdDateTime` string, date-time, required — Date and time in UTC when the operation was created.
    - `etag` string — Operation ETag.
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/deviceupdate-microsoft-deviceupdate.md) · [All operations](https://skmtc.net/azure/apis/deviceupdate-microsoft-deviceupdate/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/deviceupdate-microsoft-deviceupdate/revisions/ceb0ecac6c82/schema)
