---
title: "GET /deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections"
method: GET
path: "/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections"
tags: ["Device and deployment management"]
---

# GET /deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections

`GET /deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections`

Get all device diagnostics log collections

## Path parameters

- `instanceId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- LogCollectionList — The list of log collections with server paging support.
  - `value` LogCollection[], required — The LogCollection items on this page
    - `operationId` string — The log collection id.
    - `deviceList` DeviceUpdateAgentId[], required — Array of Device Update agent ids
      - `deviceId` string, required — Device Id
      - `moduleId` string — Module Id
    - `description` string — Description of the diagnostics operation.
    - `createdDateTime` string — The timestamp when the operation was created.
    - `lastActionDateTime` string — A timestamp for when the current state was entered.
    - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' — Operation status.
  - `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/versions/ceb0ecac6c82/schema)
