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

# Get AI Providers

`GET /api/ai/providers`

Get the list of available AI providers and their supported models.

**SDK Usage:**
```typescript
const providers = await client.getAIProviders();
// { success: true, name: "vertex", models: [...], current: "vertex" }
```

## Response `200`

AI providers list

- ProviderInfo
  - `success` boolean
  - `name` string — Provider name
  - `models` string[] — Available model names
  - `current` string — Currently active provider

## Other responses

- `401` — Authentication failed or token expired

## Changes

- **2026-08-20** `0e1db3b6bc7c` — 1 breaking, 4 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `current` to the response with the `200` status
  - added the optional property `models` to the response with the `200` status
  - added the optional property `name` to the response with the `200` status
  - …1 more
- **2026-03-07** `f19009a654f5` — 1 info
  - endpoint added

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

---

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