---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs"
tags: ["Lab"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs`

List labs.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required

## Query parameters

- `$filter` string
- `$top` integer
- `$orderBy` string
- `api-version` string, required

## Response `200`

OK

- ResponseWithContinuationLab — The response of a list operation.
  - `value` Lab[] — Results of the list operation.
    - `properties` LabProperties — Properties of a lab.
      - `defaultStorageAccount` string — The lab's default storage account.
      - `artifactsStorageAccount` string — The artifact storage account of the lab.
      - `storageAccounts` string[] — The storage accounts of the lab.
      - `vaultName` string — The name of the key vault of the lab.
      - `labStorageType` 'Standard' | 'Premium' — The type of the lab storage.
      - `defaultVirtualNetworkId` string — The default virtual network identifier of the lab.
      - `createdDate` string, date-time — The creation date of the lab.
      - `provisioningState` string — The provisioning status of the resource.
    - `id` string — The identifier of the resource.
    - `name` string — The name of the resource.
    - `type` string — The type of the resource.
    - `location` string — The location of the resource.
    - `tags` object — The tags of the resource.
  - `nextLink` string — Link for next set of results.

## Other responses

- `default` — BadRequest

---

[API](https://skmtc.dev/azure/apis/devtestlabs-microsoft-devtestlab-devtestlabs.md) · [All operations](https://skmtc.dev/azure/apis/devtestlabs-microsoft-devtestlab-devtestlabs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/devtestlabs-microsoft-devtestlab-devtestlabs/revisions/d001912f6cae/schema)
