---
title: "GET /api/ai-providers/"
method: GET
path: "/api/ai-providers/"
tags: ["AI providers"]
---

# GET /api/ai-providers/

`GET /api/ai-providers/`

## Query parameters

- `workspace_id` integer

## Response `200`

- AIProviderConfigResponse[]
  - union
    - AIProviderConfig
      - `id` integer, required
      - `provider_type` string, required
      - `extra_settings` unknown, required
      - `is_active` boolean, required
      - `models` AIProviderModel[], required
        - `id` integer, required
        - `model_identifier` string, required
        - `is_enabled` boolean
        - `last_test_at` string, date-time, nullable, required
        - `last_test_status` union, required
          - 'success' | 'failure' — * `success` - Success * `failure` - Failure
          - unknown
        - `last_test_error` string, required
    - WorkspaceAIProviderConfig
      - `id` integer, required
      - `provider_type` string, required
      - `extra_settings` object, required
      - `is_active` boolean, required
      - `models` AIProviderModel[], required
        - `id` integer, required
        - `model_identifier` string, required
        - `is_enabled` boolean
        - `last_test_at` string, date-time, nullable, required
        - `last_test_status` union, required
          - 'success' | 'failure' — * `success` - Success * `failure` - Failure
          - unknown
        - `last_test_error` string, required
      - `workspace_enabled` boolean, required
      - `read_only` boolean, required

## Changes

- **2026-08-27** `f3396317d932` — 7 breaking, 1 info
  - added `#/components/schemas/AIProviderConfig, #/components/schemas/WorkspaceAIProviderConfig` to the `items/` response property `oneOf` list for the response status `200`
  - the `items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `items/extra_settings` from the response with the `200` status
  - removed the required property `items/id` from the response with the `200` status
  - …4 more
- **2026-08-05** `0c490e5b0c7f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/baserow/apis/baserow-api-spec/changes/api/ai-providers/get.md)

---

[API](https://skmtc.dev/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.dev/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/f3396317d932/schema)
