---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages"
tags: ["Usage"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages

`GET /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages`

Gets the current usage information as well as limits for AML resources for given subscription and location.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required
- `expandChildren` string

## Response `200`

OK

- ListUsagesResult — The List Usages operation response.
  - `value` Usage[] — The list of AML resource usages.
    - `id` string — Specifies the resource ID.
    - `type` string — Specifies the resource type.
    - `unit` 'Count' — An enum describing the unit of usage measurement.
    - `currentValue` integer — The current usage of the resource.
    - `limit` integer — The maximum permitted usage of the resource.
    - `name` UsageName — The Usage Names.
      - `value` string — The name of the resource.
      - `localizedValue` string — The localized name of the resource.
  - `nextLink` string — The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information.

## Changes

- **2019-09-21** (2019-06-01) `c3e8d0e1c075` — 1 info
  - added the new optional `query` request parameter `expandChildren`

[Change history](https://skmtc.dev/azure/apis/azure-machine-learning-workspaces/changes/subscriptions/:subscriptionId/providers/Microsoft.MachineLearningServices/locations/:location/usages/get.md)

---

[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)
