---
title: "List LLM Provider Models By Id"
method: POST
path: "/api/v1/actions/ai/llmProvider/{llmProviderId}/listModels"
tags: ["Smart Functions"]
---

# List LLM Provider Models By Id

`POST /api/v1/actions/ai/llmProvider/{llmProviderId}/listModels`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/actions/ai/llmProvider/{llmProviderId}/listModels`
- Auth: none declared

Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family.

## Path parameters

- `llmProviderId` string, required

## Response `200`

OK

- ListLlmProviderModelsResponse
  - `message` string, required: Message about the listing result.
  - `models` LlmModel[], required: Available models on the provider.
    - `family` 'OPENAI' | 'ANTHROPIC' | 'META' | 'MISTRAL' | 'AMAZON' | 'GOOGLE' | 'COHERE' | 'UNKNOWN', required
    - `id` string, required: Unique identifier of the model (e.g., gpt-5.3, claude-4.6).
  - `success` boolean, required: Whether the model listing succeeded.

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
