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

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

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

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

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required
- `$skiptoken` string

## Response `200`

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

- WorkspaceListResult — The result of a request to list machine learning workspaces.
  - `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 — Specifies the resource ID.
    - `name` string — Specifies the name of the resource.
    - `identity` Identity — Identity for the resource.
      - `principalId` string — The principal ID of resource identity.
      - `tenantId` string — The tenant ID of resource.
      - `type` 'SystemAssigned' — The identity type.
    - `location` string — Specifies the location of the resource.
    - `type` string — Specifies the type of the resource.
    - `tags` object — Contains resource tags defined as key/value pairs.
  - `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/azure-machine-learning-workspaces.md) · [All operations](https://skmtc.dev/azure/apis/azure-machine-learning-workspaces/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/azure-machine-learning-workspaces/revisions/3c546a6ad82c/schema)
