---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers"
tags: ["Servers"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers`

Gets a list of all servers in the subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Successfully retrieved the list of servers.

- ServerListResult — A list of servers.
  - `value` Server[] — Array of results. — unresolved $ref
  - `nextLink` string — Link to retrieve next page of results.

## Other responses

- `default` — *** Error Responses: ***

---

[API](https://skmtc.dev/azure/apis/sqlmanagementclient-41cb5d25.md) · [All operations](https://skmtc.dev/azure/apis/sqlmanagementclient-41cb5d25/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/sqlmanagementclient-41cb5d25/revisions/51a289ae46cf/schema)
