# Get provider type

`GET /v1/providerTypes/{providerType}`, operation `providers.GetProviderType`

Gets a provider type.

## Parameters

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

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `available` | `boolean` | Yes | Whether this kosem can add providers of this type: WORKLOAD_IDENTITY types need kosem's identity token issuer, which a deployment may not have. |
| `configFields` | `ConfigField[]` | Yes | The settings its providers take in their config. |
| `connectedBy` | `string` | Yes | How a provider of it authenticates: API_KEY, with an API key the provider's service accepts first; WORKLOAD_IDENTITY, by CreateProvider without a key, then UpdateProvider with its settings once the cloud trusts the provider's trust. Values: `API_KEY`, `WORKLOAD_IDENTITY`. |
| `credentialUri` | `string` | Yes | Where to create an API key for it; empty when it has no such page. |
| `description` | `string` | Yes | What the type is. |
| `displayName` | `string` | Yes | Name shown in user interfaces. |
| `name` | `string` | Yes | Resource name, such as providerTypes/openai. |

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