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 usepath). - MCP tool:
sdk_client_callwithoperationId: "voices.list"(path arguments useinput.path). Legacy alias:voices_list. Connect to your authenticated/mcpendpoint 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 --fail-with-body -sS "${CUMULUS_BASE_URL%/}/api/v1/voices" \
-H "Authorization: Bearer $CUMULUS_API_KEY"
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
{
"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
| Field | Type or values | Required | Description and limits |
|---|---|---|---|
tts | object | Required | — |
tts.provider | "elevenlabs" · "simulated_elevenlabs" | Required | — |
tts.models | array of string | Required | minItems: 1. |
tts.default_model | string | Required | minLength: 1. |
tts.default_voice_id | string | Required | minLength: 1. |
stt | object | Required | — |
stt.provider | "elevenlabs" · "simulated_stt" | Required | — |
stt.models | array of string | Required | minItems: 1. |
preview_available | boolean | Optional | — |
items | array of object | Required | — |
items[].voice_id | string | Required | minLength: 1. maxLength: 256. |
items[].name | string | Required | minLength: 1. |
items[].provider | "elevenlabs" · "simulated_elevenlabs" | Required | — |
items[].category | string or null | Required | — |
items[].preview_url | string (uri) or null | Required | — |
items[].languages | array of string | Required | — |
items[].accent | string or null | Required | — |
items[].gender | string or null | Required | — |
items[].age | string or null | Required | — |
items[].description | string or null | Required | — |
items[].use_case | string or null | Required | — |
Error responses
| HTTP | Description |
|---|---|
| 4XX | Typed error (ApiError) |
| 5XX | Typed error (ApiError) |
Errors use the shared error envelope. Inspect error.code, retryable, outcome and details before retrying.
Complete OpenAPI schema
{
"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
{
"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.