---
title: "List Providers"
method: GET
path: "/v1/providers/"
tags: ["providers"]
---

# List Providers

`GET /v1/providers/`

Get a list of all custom providers.

## Query parameters

- `before` string, nullable — Provider ID cursor for pagination. Returns providers that come before this provider ID in the specified sort order
- `after` string, nullable — Provider ID cursor for pagination. Returns providers that come after this provider ID in the specified sort order
- `limit` integer, nullable — Maximum number of providers to return
- `order` 'asc' | 'desc' — Sort order for providers by creation time. 'asc' for oldest first, 'desc' for newest first
- `order_by` 'created_at' — Field to sort by
- `name` string, nullable — Filter providers by name
- `provider_type` 'anthropic' | 'azure' | 'bedrock' | 'cerebras' | 'deepseek' | 'google_ai' | 'google_vertex' | 'groq' | 'hugging-face' | 'letta' | 'lmstudio_openai' | 'mistral' | 'ollama' | 'openai' | 'together' | 'vllm' | 'xai'

## Response `200`

Successful Response

- Provider[]
  - `id` string, nullable — The id of the provider, lazily created by the database manager.
  - `name` string, required — The name of the provider
  - `provider_type` 'anthropic' | 'azure' | 'bedrock' | 'cerebras' | 'deepseek' | 'google_ai' | 'google_vertex' | 'groq' | 'hugging-face' | 'letta' | 'lmstudio_openai' | 'mistral' | 'ollama' | 'openai' | 'together' | 'vllm' | 'xai', required
  - `provider_category` 'base' | 'byok', required
  - `api_key` string, nullable — API key or secret key used for requests to the provider.
  - `base_url` string, nullable — Base URL for the provider.
  - `access_key` string, nullable — Access key used for requests to the provider.
  - `region` string, nullable — Region used for requests to the provider.
  - `api_version` string, nullable — API version used for requests to the provider.
  - `updated_at` string, date-time, nullable — The last update timestamp of the provider.
  - `api_key_enc` string, nullable — Encrypted secret value (stored as encrypted string)
  - `access_key_enc` string, nullable — Encrypted secret value (stored as encrypted string)

## Other responses

- `422` — Validation Error

## Changes

- **2025-10-09** `6cec99480c13` — 2 info
  - added the optional property `items/access_key_enc` to the response with the `200` status
  - added the optional property `items/api_key_enc` to the response with the `200` status

[Change history](https://skmtc.dev/yu-code666/apis/letta-api/changes/v1/providers/get.md)

---

[API](https://skmtc.dev/yu-code666/apis/letta-api.md) · [All operations](https://skmtc.dev/yu-code666/apis/letta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/yu-code666/letta-api/revisions/6cec99480c13/schema)
