CumulusDocs
Open Studio
On this page

List speech models and voices

List available speech models and text-to-speech voices for agent configuration.

Operation ID: voices.list.

Request

GET /api/v1/voices

  • TypeScript SDK: client.voices.list (path arguments use path).
  • MCP tool: sdk_client_call with operationId: "voices.list" (path arguments use input.path). Legacy alias: voices_list. Connect to your authenticated /mcp endpoint with an API key for the same environment.
  • Minimum API key role: viewer.
  • Idempotency: No idempotency header required.

Read resource IDs from earlier responses and use a key for the same environment.

Request example

Set each path variable to an ID returned by an earlier API request.

Set CUMULUS_BASE_URL to your workspace API URL and CUMULUS_API_KEY to a key for that environment. Example values are synthetic.

cURL

curl
curl --fail-with-body -sS "${CUMULUS_BASE_URL%/}/api/v1/voices" \
  -H "Authorization: Bearer $CUMULUS_API_KEY"

TypeScript

typescript
import { Cumulus } from "@cumulus/sdk";

const baseUrl = process.env.CUMULUS_BASE_URL;
const apiKey = process.env.CUMULUS_API_KEY;
if (!baseUrl || !apiKey) throw new Error("Set CUMULUS_BASE_URL and CUMULUS_API_KEY");
const client = new Cumulus({ baseUrl, apiKey });

const response = await client.voices.list({});

Input schema

Path, query and header parameters

language

query parameter · Optional.

Type: "en" · "es".

include_preview

query parameter · Optional.

Type: "true" · "false".

JSON request body

This operation has no JSON request body.

Complete OpenAPI schema
OpenAPI JSON
{
  "parameters": [
    {
      "name": "language",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "enum": [
          "en",
          "es"
        ]
      }
    },
    {
      "name": "include_preview",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "enum": [
          "true",
          "false"
        ]
      }
    }
  ],
  "requestBody": null
}

Responses

HTTP 200

List the speech models and platform TTS voices an agent can use

application/json

FieldType or valuesRequiredDescription and limits
ttsobjectRequired—
tts.provider"elevenlabs" · "simulated_elevenlabs"Required—
tts.modelsarray of stringRequiredminItems: 1.
tts.default_modelstringRequiredminLength: 1.
tts.default_voice_idstringRequiredminLength: 1.
sttobjectRequired—
stt.provider"elevenlabs" · "simulated_stt"Required—
stt.modelsarray of stringRequiredminItems: 1.
preview_availablebooleanOptional—
itemsarray of objectRequired—
items[].voice_idstringRequiredminLength: 1. maxLength: 256.
items[].namestringRequiredminLength: 1.
items[].provider"elevenlabs" · "simulated_elevenlabs"Required—
items[].categorystring or nullRequired—
items[].preview_urlstring (uri) or nullRequired—
items[].languagesarray of stringRequired—
items[].accentstring or nullRequired—
items[].genderstring or nullRequired—
items[].agestring or nullRequired—
items[].descriptionstring or nullRequired—
items[].use_casestring or nullRequired—

Error responses

HTTPDescription
4XXTyped error (ApiError)
5XXTyped error (ApiError)

Errors use the shared error envelope. Inspect error.code, retryable, outcome and details before retrying.

Complete OpenAPI schema
OpenAPI JSON
{
  "200": {
    "description": "List the speech models and platform TTS voices an agent can use",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/VoicesListResponse200"
        }
      }
    }
  },
  "4XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  },
  "5XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

Referenced schemas

Expand the complete OpenAPI definitions for integrations that generate their own clients.

Complete OpenAPI schema
OpenAPI JSON
{
  "components": {
    "schemas": {
      "VoicesListResponse200": {
        "type": "object",
        "properties": {
          "tts": {
            "type": "object",
            "properties": {
              "provider": {
                "type": "string",
                "enum": [
                  "elevenlabs",
                  "simulated_elevenlabs"
                ]
              },
              "models": {
                "minItems": 1,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "default_model": {
                "type": "string",
                "minLength": 1
              },
              "default_voice_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "provider",
              "models",
              "default_model",
              "default_voice_id"
            ],
            "additionalProperties": false
          },
          "stt": {
            "type": "object",
            "properties": {
              "provider": {
                "type": "string",
                "enum": [
                  "elevenlabs",
                  "simulated_stt"
                ]
              },
              "models": {
                "minItems": 1,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "required": [
              "provider",
              "models"
            ],
            "additionalProperties": false
          },
          "preview_available": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "voice_id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "provider": {
                  "type": "string",
                  "enum": [
                    "elevenlabs",
                    "simulated_elevenlabs"
                  ]
                },
                "category": {
                  "nullable": true,
                  "type": "string"
                },
                "preview_url": {
                  "nullable": true,
                  "type": "string",
                  "format": "uri"
                },
                "languages": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 8
                  }
                },
                "accent": {
                  "nullable": true,
                  "type": "string"
                },
                "gender": {
                  "nullable": true,
                  "type": "string"
                },
                "age": {
                  "nullable": true,
                  "type": "string"
                },
                "description": {
                  "nullable": true,
                  "type": "string"
                },
                "use_case": {
                  "nullable": true,
                  "type": "string"
                }
              },
              "required": [
                "voice_id",
                "name",
                "provider",
                "category",
                "preview_url",
                "languages",
                "accent",
                "gender",
                "age",
                "description",
                "use_case"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "tts",
          "stt",
          "items"
        ],
        "additionalProperties": false
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "unauthenticated",
                  "forbidden",
                  "not_found",
                  "conflict",
                  "invalid_request",
                  "idempotency_conflict",
                  "policy_denied",
                  "capability_unavailable",
                  "provider_unavailable",
                  "knowledge_unavailable",
                  "publication_invalid",
                  "run_not_active",
                  "rate_limited",
                  "outcome_unknown",
                  "internal"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "none",
                  "unknown"
                ]
              },
              "details": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "required": [
              "code",
              "message",
              "retryable",
              "outcome"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": false
      }
    }
  }
}

Errors and recovery

See API error handling and Troubleshooting.

Content version be65f836Customer SDKMarkdown source
List speech models and voices · Cumulus developer docs