---
title: "List chat models"
method: GET
path: "/api/experimental/chats/models"
tags: ["Chats"]
---

# List chat models

`GET /api/experimental/chats/models`

Experimental: this endpoint is subject to change.

## Response `200`

OK

- CodersdkChatModelsResponse
  - `providers` CodersdkChatModelProvider[]
    - `available` boolean
    - `models` CodersdkChatModel[]
      - `display_name` string
      - `id` string
      - `model` string
      - `provider` string
    - `provider` string
    - `unavailable_reason` 'missing_api_key' | 'fetch_failed' | 'user_api_key_required'
  - `unsupported_providers` CodersdkChatUnsupportedProvider[] — UnsupportedProviders lists configured providers the Agents harness cannot use, so the UI can explain the empty state.
    - `display_name` string
    - `provider` string — Provider is the provider type, e.g. "copilot".

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/revisions/333502cb4be3/schema)
