> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# SHOW AI PROVIDERS

> List registered AI providers, optionally filtered by name pattern or type.

Lists the registered AI providers, one row per provider. The `api_key` column is always masked.
Results can be filtered by name pattern or by provider type.

## Syntax

```SQL theme={null}
SHOW AI PROVIDERS [ LIKE '<pattern>' | TYPE { embedding | chat } ]
```

## Parameters

| Parameter | Description |
| - | - |
| `LIKE '<pattern>'` | Only show providers whose name matches the SQL `LIKE` pattern. |
| `TYPE <type>` | Only show providers of the given type (`embedding` or `chat`). |

## Return columns

The following columns apply to chat and embedding providers.

| Column | Description |
| - | - |
| `Name` | Provider name. |
| `Type` | Provider type. |
| `Protocol` | Wire protocol of the endpoint. |
| `IsDefault` | Whether this provider is the default for its type (`true`/`false`). |
| `Endpoint` | Endpoint URL. |
| `Model` | Model name. |
| `Dimensions` | Embedding dimension (embedding providers). |
| `TimeoutMs` | Per-request HTTP timeout in milliseconds. |
| `ApiKey` | Masked API key. |
| `Comment` | Provider comment. |

## Examples

```sql theme={null}
SHOW AI PROVIDERS;
SHOW AI PROVIDERS LIKE 'open%';
SHOW AI PROVIDERS TYPE chat;
```

## See also

* [`CREATE AI PROVIDER`](/documents/4.2/sql-reference/sql-statements/cluster-management/ai_provider/CREATE_AI_PROVIDER)
* [`DESC AI PROVIDER`](/documents/4.2/sql-reference/sql-statements/cluster-management/ai_provider/DESC_AI_PROVIDER)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.