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

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

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

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/workspaces`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Lists all the available workspaces under the specified subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the workspaces in the subscription.

- WorkspaceList: Collection of workspace object with a next link
  - `nextLink` string: The link used to get the next page.
  - `value` Workspace[]: Collection of resources.
    - `tags` object: Resource tags.
    - `id` string: The resource identifier.
    - `name` string: The resource name.
    - `type` string: The resource type.
    - `etag` string: An etag associated with the resource, used for optimistic concurrency when editing it.
    - `location` string: The resource location.
    - `properties` object: Workspaces resource specific properties.
      - `provisioningState` 'Deleting' | 'Succeeded' | 'Creating' | 'Accepted' | 'Verifying' | 'Updating' | 'Failed' | 'Canceled' | 'Deprovisioned' | 'Moving' | 'Suspended' | 'Warned' | 'SystemMaintenance': The provisioning state.
      - `privateEndpointConnections` PrivateEndpointConnection[]: The list of private endpoint connections that are set up for this resource.
        - `id` string: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
        - `name` string: The name of the resource
        - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
        - `properties` PrivateEndpointConnectionProperties: Properties of the PrivateEndpointConnectProperties.
          - `privateEndpoint` PrivateEndpoint: The Private Endpoint resource.
            - `id` string: The ARM identifier for Private Endpoint
          - `privateLinkServiceConnectionState` PrivateLinkServiceConnectionState, required: A collection of information about the state of the connection between service consumer and provider.
            - `status` 'Pending' | 'Approved' | 'Rejected': The private endpoint connection status.
            - `description` string: The reason for approval/rejection of the connection.
            - `actionsRequired` string: A message indicating if changes on the service provider require any updates on the consumer.
          - `provisioningState` 'Succeeded' | 'Creating' | 'Deleting' | 'Failed': The current provisioning state.
      - `publicNetworkAccess` 'Enabled' | 'Disabled': Control permission for data plane traffic coming from public networks while private endpoint is enabled.
    - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string: The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
      - `createdAt` string, date-time: The timestamp of resource creation (UTC).
      - `lastModifiedBy` string: The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)

## Other responses

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

## Changes

- **2026-07-13** (2018-08-20-preview) `06ce885a3f23`: 2 breaking
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2018-08-20-preview) `e9a3134bbbf0`: 2 warning
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2018-08-20-preview) `53f653cb6395`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis/changes/subscriptions/:subscriptionId/providers/Microsoft.HealthcareApis/workspaces/get.md)

---

[API](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis.md) - [All operations](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis/revisions/06ce885a3f23?raw)
