---
title: "GET /api/llm/models"
method: GET
path: "/api/llm/models"
tags: ["/api/llm"]
---

# GET /api/llm/models

`GET /api/llm/models`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/llm/models`
- Auth: API key in header `X-API-Key`

List the models available from every configured connection, grouped by connection.

  A connection whose credentials are rejected comes back with an empty model list and an `error`, so one bad
  connection does not blank out the others.

## Response `2XX`

Successful response

- object[]
  - `error` string, nullable
  - `key` string, required
  - `models` object[], required
    - `display_name` string, required
    - `id` string, required
  - `name` string, required
  - `type` string, required

## Other responses

- `4XX`: Client error response
- `5XX`: Server error response

## Changes

- **2026-11-04** `2e178f5a7934`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/metabase/apis/metabase-api/changes/api/llm/models/get.md)

---

[API](https://skmtc.dev/metabase/apis/metabase-api.md) - [All operations](https://skmtc.dev/metabase/apis/metabase-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metabase/apis/metabase-api/revisions/2e178f5a7934?raw)
