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

# GET /deviceupdate/{instanceId}/v2/updates/operations

`GET /deviceupdate/{instanceId}/v2/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

- `$filter` string
- `$top` integer

## Response `200`

Operation details.

- PageableListOfOperations — The list of operations with server paging support.
  - `value` Operation[] — The collection of pageable items.
    - `operationId` string, required — Operation Id.
    - `status` 'Undefined' | 'NotStarted' | 'Running' | 'Succeeded' | 'Failed', required — Operation status.
    - `updateId` UpdateId — Update identifier.
      - `provider` string, required — Update provider.
      - `name` string, required — Update name.
      - `version` string, required — Update version.
    - `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 — The link to the next page of items.

## Other responses

- `429` — Too many requests; there is a rate limit on how many operations can be executed within a time period.

## Changes

- **2021-03-02** (2020-09-01) `be0eed01a5b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/deviceupdate-microsoft-deviceupdate/changes/deviceupdate/:instanceId/v2/updates/operations/get.md)

---

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