---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/"
tags: ["TemplateSpecs"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/`

Lists all the Template Specs within the specified subscriptions.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `$expand` 'versions'
- `api-version` string, required

## Response `200`

OK - Returns an array of Template Specs.

- TemplateSpecsListResult — List of Template Specs.
  - `value` TemplateSpec[] — An array of Template Specs.
    - `id` string — String Id used to locate any resource on Azure.
    - `name` string — Name of this resource.
    - `type` string — Type of this resource.
    - `systemData` SystemData — unresolved $ref
  - `nextLink` string — The URL to use for getting the next set of results.

## Other responses

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

---

[API](https://skmtc.net/azure/apis/resources-microsoft-resources-templatespecs.md) · [All operations](https://skmtc.net/azure/apis/resources-microsoft-resources-templatespecs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/resources-microsoft-resources-templatespecs/revisions/097ef22eb201/schema)
