---
title: "GET /connections"
method: GET
path: "/connections"
---

# GET /connections

`GET /connections`

List all connections in the project, without populating connection credentials

## Query parameters

- `api-version` string, required
- `connectionType` 'AzureOpenAI' | 'AzureBlob' | 'AzureStorageAccount' | 'CognitiveSearch' | 'CosmosDB' | 'ApiKey' | 'AppConfig' | 'AppInsights' | 'CustomKeys'
- `defaultConnection` boolean

## Headers

- `x-ms-client-request-id` string, uuid

## Response `200`

The request has succeeded.

- PagedConnection — Paged collection of Connection items
  - `value` Connection[], required — The Connection items on this page
    - `name` string, required — The friendly name of the connection, provided by the user.
    - `id` string, required — A unique identifier for the connection, generated by the service
    - `type` 'AzureOpenAI' | 'AzureBlob' | 'AzureStorageAccount' | 'CognitiveSearch' | 'CosmosDB' | 'ApiKey' | 'AppConfig' | 'AppInsights' | 'CustomKeys', required — The Type (or category) of the connection
    - `target` string, required — The connection URL to be used for this service
    - `isDefault` boolean, required — Whether the connection is tagged as the default connection of its type
    - `credentials` BaseCredentials, required — A base class for connection credentials
      - `type` 'ApiKey' | 'AAD' | 'SAS' | 'CustomKeys' | 'None', required — The credential type used by the connection
    - `metadata` object, required — Metadata of the connection
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-azure-ai-projects.md) · [All operations](https://skmtc.net/azure/apis/ai-azure-ai-projects/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-azure-ai-projects/versions/b52c14a89ea1/schema)
