# Get connection type

`GET /v1/connectionTypes/{connectionType}`, operation `connectionTypes.GetConnectionType`

Gets a connection type.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `connectionType` | path | Yes | `string` | The type's ID, such as github. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `available` | `boolean` | Yes | Whether this kosem can connect it: GitHub needs kosem's GitHub App, and Google Cloud and AWS kosem's identity tokens, which a deployment may not have. |
| `configFields` | `ConfigField[]` | Yes | The settings its connections take in their config. |
| `connectedBy` | `string` | Yes | How a connection of it is made: APP_INSTALLATION, by installing kosem's app on an account, which StartGitHubConnection begins; WORKLOAD_IDENTITY, by CreateConnection, then, once the service trusts the connection's trust, UpdateConnection with its settings. Values: `APP_INSTALLATION`, `WORKLOAD_IDENTITY`. |
| `description` | `string` | Yes | What the type is. |
| `displayName` | `string` | Yes | Name shown in user interfaces. |
| `issuesCredentials` | `boolean` | Yes | Whether its connections issue short-lived credentials, which dynamic secrets give. |
| `name` | `string` | Yes | Resource name, such as connectionTypes/github. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.