---
title: "List config providers"
method: GET
path: "/config/providers"
---

# List config providers

`GET /config/providers`

Get a list of all configured AI providers and their default models.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

List of providers

- object
  - `providers` Provider[], required
    - `id` string, required
    - `name` string, required
    - `source` 'env' | 'config' | 'custom' | 'api', required
    - `env` string[], required
    - `key` string
    - `options` object, required
    - `models` object, required
  - `default` object, required

## Changes

- **2026-04-25** `0a2d50cb4204` — 2 info
  - added the new optional `query` request parameter `workspace`
  - added the optional property `providers/items/models/additionalProperties/limit/input` to the response with the `200` status
- **2026-01-15** `101bbaa394c4` — 1 info
  - added the optional property `providers/items/models/additionalProperties/variants` to the response with the `200` status
- **2025-12-16** `dc065d96c390` — 4 breaking, 7 warning, 11 info
  - removed the required property `providers/items/models/additionalProperties/attachment` from the response with the `200` status
  - removed the required property `providers/items/models/additionalProperties/reasoning` from the response with the `200` status
  - removed the required property `providers/items/models/additionalProperties/temperature` from the response with the `200` status
  - removed the required property `providers/items/models/additionalProperties/tool_call` from the response with the `200` status
  - …18 more

[Change history](https://skmtc.dev/kaaass/apis/opencode/changes/config/providers/get.md)

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) · [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kaaass/opencode/revisions/8bb9a15bd144/schema)
