---
title: "GET /connections/{name}"
method: GET
path: "/connections/{name}"
---

# GET /connections/{name}

`GET /connections/{name}`

Get a connection by name, without populating connection credentials

## Path parameters

- `name` string, required

## Query parameters

- `api-version` string, required

## Headers

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

## Response `200`

The request has succeeded.

- Connection — Response from the list and get connections operations
  - `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

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