# List provider models in organization

`GET /v1/organizations/{organization}/providers/{provider}/providerModels`, operation `providers.ListProviderModelsInOrganization`

Lists the models that a provider's service serves, with what kosem knows of each, to choose models from. The service is asked at most every few minutes for each key.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |
| `provider` | path | Yes | `string` | The provider's ID. |
| `pageSize` | query | No | `integer (int32)` | Maximum number of items to return. Defaults to 50; values above 500 are treated as 500. |
| `pageToken` | query | No | `string` | Page token from a previous response. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `nextPageToken` | `string` | Yes | Token for the next page; empty on the last page. |
| `providerModels` | `ProviderModel[]` | Yes | Models, ordered by providerModel. |

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