# List providers (/reference/api/speech/list-providers)

```json
[
  {
    "method": "GET",
    "path": "/api/v1/providers",
    "operationId": "listProviders",
    "tags": [
      "Speech"
    ],
    "summary": "List providers",
    "description": "Returns the speech providers the caller can use. Provider keys and addresses are never included.",
    "x-required-scope": "documents:read",
    "security": [
      {
        "oauth": [
          "documents:read"
        ]
      },
      {
        "sessionCookie": []
      },
      {
        "secureSessionCookie": []
      }
    ],
    "responses": {
      "200": {
        "description": "Every enabled provider; nextCursor is null. Keys and base URLs are never included.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProviderList"
            }
          }
        }
      },
      "429": {
        "description": "Compute admission or usage is limited.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Seconds until retry.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      },
      "default": {
        "description": "Request failed. Inspect error.code and error.message.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  }
]
```

## Components

```json
{
  "#/components/schemas/Error": {
    "type": "object",
    "properties": {
      "error": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "retryAfterMs": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "code",
          "message"
        ]
      }
    },
    "required": [
      "error"
    ]
  },
  "#/components/schemas/ProviderList": {
    "type": "object",
    "properties": {
      "data": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "type": {
              "type": "string"
            },
            "defaultModel": {
              "type": "string"
            },
            "selected": {
              "type": "boolean"
            },
            "selectedModel": {
              "type": [
                "string",
                "null"
              ]
            },
            "models": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              }
            },
            "acceptsCustomModel": {
              "type": "boolean"
            }
          },
          "required": [
            "id",
            "name",
            "type",
            "defaultModel",
            "selected",
            "selectedModel",
            "models",
            "acceptsCustomModel"
          ]
        }
      },
      "nextCursor": {
        "type": "null"
      }
    },
    "required": [
      "data",
      "nextCursor"
    ]
  }
}
```