---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces"
tags: ["Workspaces"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces

`GET /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces`

Lists all the available machine learning workspaces under the specified subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request was successful; the request was well-formed and received properly.

- WorkspaceListResult — The result of a request to list machine learning workspace keys.
  - `value` Workspace[] — The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.
    - `id` string — The resource ID.
    - `name` string — The name of the resource.
    - `type` string — The type of the resource.
    - `location` string, required — The location of the resource. This cannot be changed after the resource is created.
    - `tags` object — The tags of the resource.
    - `sku` Sku — Sku of the resource
      - `name` string — Name of the sku
      - `tier` string — Tier of the sku like Basic or Enterprise
  - `nextLink` string — The URI that can be used to request the next list of machine learning workspaces.

## Other responses

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

---

[API](https://skmtc.dev/azure/apis/machine-learning-workspaces-management-client.md) · [All operations](https://skmtc.dev/azure/apis/machine-learning-workspaces-management-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/machine-learning-workspaces-management-client/revisions/10afad57607f/schema)
