---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters"
tags: ["Clusters"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters

`GET /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters`

Gets the Log Analytics clusters in a subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK response definition.

- ClusterListResult — The list clusters operation response.
  - `nextLink` string — The link used to get the next page of recommendations.
  - `value` Cluster[] — A list of Log Analytics clusters.
    - `id` string — Resource Id
    - `name` string — Resource name
    - `type` string — Resource type
    - `location` string — Resource location
    - `tags` object — Resource tags

## Other responses

- `default` — Error response describing why the operation failed.

---

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