# Cartesia Docs ## Docs - [Delete Agent](https://docs.cartesia.ai/api-reference/agents/agents/delete.md) - [Get Agent](https://docs.cartesia.ai/api-reference/agents/agents/get.md): Returns the details of a specific agent. To create an agent, use the CLI or the Playground for the best experience and integration with Github. - [List Agents](https://docs.cartesia.ai/api-reference/agents/agents/list.md): Lists all agents associated with your account. - [List Phone Numbers](https://docs.cartesia.ai/api-reference/agents/agents/phone-numbers.md): List the phone numbers associated with an agent. Currently, you can only have one phone number per agent and these are provisioned by Cartesia. - [List Templates](https://docs.cartesia.ai/api-reference/agents/agents/templates.md): List of public, Cartesia-provided agent templates to help you get started. - [Update Agent](https://docs.cartesia.ai/api-reference/agents/agents/update.md) - [Download Call Audio](https://docs.cartesia.ai/api-reference/agents/calls/download-call-audio.md): The downloaded audio file is in .wav format. This endpoint streams the audio file content (WAV format) to the client. - [Get Call](https://docs.cartesia.ai/api-reference/agents/calls/get-call.md) - [Get Call Runtime Logs](https://docs.cartesia.ai/api-reference/agents/calls/get-call-logs.md): Returns the runtime logs for a specific call. These are the logs produced by your agent's code during the call. Logs may not be available if the call is still in progress or if they have been removed due to data retention settings. - [List Calls](https://docs.cartesia.ai/api-reference/agents/calls/list-calls.md): Lists calls sorted by start time in descending order for a specific agent. `agent_id` is required and if you want to include `transcript` in the response, add `expand=transcript` to the request. This endpoint is paginated. - [Get Deployment](https://docs.cartesia.ai/api-reference/agents/deployments/get-deployment.md): Get a deployment by its ID. - [List Deployments](https://docs.cartesia.ai/api-reference/agents/deployments/list-deployments.md): List of all deployments associated with an agent. - [Add Metric to Agent](https://docs.cartesia.ai/api-reference/agents/metrics/add-metric-to-agent.md): Add a metric to an agent. Once the metric is added, it will be run on all calls made to the agent automatically from that point onwards. - [Create Metric](https://docs.cartesia.ai/api-reference/agents/metrics/create-metric.md): Create a new metric. - [Export Metric Results as CSV](https://docs.cartesia.ai/api-reference/agents/metrics/export-metric-results.md): Export metric results to a CSV file. This endpoint streams at most 100k results as the CSV file directly to the client. Use the optional filters to narrow down the results to export. - [Get Metric](https://docs.cartesia.ai/api-reference/agents/metrics/get-metric.md): Get a metric by its ID. - [List Metric Results](https://docs.cartesia.ai/api-reference/agents/metrics/list-metric-results.md): Paginated list of metric results. Filter results using the query parameters, - [List Metrics](https://docs.cartesia.ai/api-reference/agents/metrics/list-metrics.md): List of all LLM-as-a-Judge metrics owned by your account. - [Remove Metric from Agent](https://docs.cartesia.ai/api-reference/agents/metrics/remove-metric-from-agent.md): Remove a metric from an agent. Once the metric is removed, it will no longer be run on all calls made to the agent automatically from that point onwards. Existing metric results will remain. - [Get API Key](https://docs.cartesia.ai/api-reference/api-keys/get.md): Returns metadata for a single API key. - [List API Keys](https://docs.cartesia.ai/api-reference/api-keys/list.md): Returns a paginated list of standard API keys owned by the authenticating organization. Only metadata is returned, not the keys themselves. Admin API keys are not included. - [API Status and Version](https://docs.cartesia.ai/api-reference/api-status/get.md) - [Generate a New Access Token](https://docs.cartesia.ai/api-reference/auth/access-token.md): Generates a new Access Token for the client. These tokens are short-lived and should be used to make requests to the API from authenticated clients. - [Create](https://docs.cartesia.ai/api-reference/datasets/create.md): Create a new dataset - [Delete](https://docs.cartesia.ai/api-reference/datasets/delete.md): Delete a dataset - [Delete file](https://docs.cartesia.ai/api-reference/datasets/delete-file.md): Remove a file from a dataset - [Get](https://docs.cartesia.ai/api-reference/datasets/get.md): Retrieve a specific dataset by ID - [List](https://docs.cartesia.ai/api-reference/datasets/list.md): Paginated list of datasets - [List files](https://docs.cartesia.ai/api-reference/datasets/list-files.md): Paginated list of files in a dataset - [Update](https://docs.cartesia.ai/api-reference/datasets/update.md): Update an existing dataset - [Upload file](https://docs.cartesia.ai/api-reference/datasets/upload-file.md): Upload a new file to a dataset - [Create](https://docs.cartesia.ai/api-reference/fine-tunes/create.md): Create a new fine-tune - [Delete](https://docs.cartesia.ai/api-reference/fine-tunes/delete.md): Delete a fine-tune - [Get](https://docs.cartesia.ai/api-reference/fine-tunes/get.md): Retrieve a specific fine-tune by ID - [List](https://docs.cartesia.ai/api-reference/fine-tunes/list.md): Paginated list of all fine-tunes for the authenticated user - [List Voices](https://docs.cartesia.ai/api-reference/fine-tunes/list-voices.md): List all voices created from a fine-tune - [Infill (Bytes)](https://docs.cartesia.ai/api-reference/infill/bytes.md): Generate audio that smoothly connects two existing audio segments. This is useful for inserting new speech between existing speech segments while maintaining natural transitions. - [Create](https://docs.cartesia.ai/api-reference/pronunciation-dicts/create.md): Create a new pronunciation dictionary - [Delete](https://docs.cartesia.ai/api-reference/pronunciation-dicts/delete.md): Delete a pronunciation dictionary - [Get](https://docs.cartesia.ai/api-reference/pronunciation-dicts/get.md): Retrieve a specific pronunciation dictionary by ID - [List](https://docs.cartesia.ai/api-reference/pronunciation-dicts/list.md): List all pronunciation dictionaries for the authenticated user - [Update](https://docs.cartesia.ai/api-reference/pronunciation-dicts/update.md): Update a pronunciation dictionary - [Speech-to-Text (Streaming)](https://docs.cartesia.ai/api-reference/stt/stt.md): This endpoint creates a bidirectional WebSocket connection for real-time speech transcription. - [Speech-to-Text (Batch)](https://docs.cartesia.ai/api-reference/stt/transcribe.md): Transcribes audio files into text using Cartesia's Speech-to-Text API. - [Text to Speech (Bytes)](https://docs.cartesia.ai/api-reference/tts/bytes.md) - [Text to Speech (SSE)](https://docs.cartesia.ai/api-reference/tts/sse.md) - [Text to Speech (WebSocket)](https://docs.cartesia.ai/api-reference/tts/websocket.md): This endpoint creates a bidirectional WebSocket connection. The connection supports multiplexing, so you can send multiple requests and receive the corresponding responses in parallel. - [Get Agent Usage](https://docs.cartesia.ai/api-reference/usage/agents.md): Returns your agent usage over time, bucketed by the requested interval. - [Get Credit Usage](https://docs.cartesia.ai/api-reference/usage/credits.md): Returns your credit usage over time, bucketed by the requested interval. - [Voice Changer (Bytes)](https://docs.cartesia.ai/api-reference/voice-changer/bytes.md): Takes an audio file of speech, and returns an audio file of speech spoken with the same intonation, but with a different voice. - [Voice Changer (SSE)](https://docs.cartesia.ai/api-reference/voice-changer/sse.md) - [Clone Voice](https://docs.cartesia.ai/api-reference/voices/clone.md): Clone a high similarity voice from an audio clip. Clones are more similar to the source clip, but may reproduce background noise. For these, use an audio clip about 5 seconds long. - [Delete Voice](https://docs.cartesia.ai/api-reference/voices/delete.md) - [Get Voice](https://docs.cartesia.ai/api-reference/voices/get.md) - [List Voices](https://docs.cartesia.ai/api-reference/voices/list.md) - [Localize Voice](https://docs.cartesia.ai/api-reference/voices/localize.md): Create a new voice from an existing voice localized to a new language and dialect. - [Update Voice](https://docs.cartesia.ai/api-reference/voices/update.md): Update the name, description, and gender of a voice. To set the gender back to the default, set the gender to `null`. If gender is not specified, the gender will not be updated. - [Choosing a Voice](https://docs.cartesia.ai/build-with-cartesia/capability-guides/choosing-a-voice.md): How to pick the best voice for your Voice Agents - [Choosing TTS parameters](https://docs.cartesia.ai/build-with-cartesia/capability-guides/choosing-tts-parameters.md) - [Clone Voices](https://docs.cartesia.ai/build-with-cartesia/capability-guides/clone-voices.md): Learn how to get the best voice clones from your audio clips. - [End-to-end Pro Voice Cloning (Python)](https://docs.cartesia.ai/build-with-cartesia/capability-guides/clone-voices-pro/api.md): Use Cartesia's REST API to create a Pro Voice Clone. - [Pro Voice Cloning](https://docs.cartesia.ai/build-with-cartesia/capability-guides/clone-voices-pro/playground.md) - [Custom Pronunciations](https://docs.cartesia.ai/build-with-cartesia/capability-guides/custom-pronunciations.md): Specify custom pronunciations for words that are hard to get right, like proper nouns or domain-specific terms. - [Localize voices](https://docs.cartesia.ai/build-with-cartesia/capability-guides/localize-voices.md): Learn how to localize voices for your brand or product. - [Prompting tips](https://docs.cartesia.ai/build-with-cartesia/capability-guides/prompting-tips.md): Get natural-sounding output from Sonic with minimal prompt engineering. - [SSML Tags](https://docs.cartesia.ai/build-with-cartesia/capability-guides/ssml-tags.md) - [Stream Inputs using Continuations](https://docs.cartesia.ai/build-with-cartesia/capability-guides/stream-inputs-using-continuations.md): Learn how to stream input text to Sonic TTS. - [STT Input Audio Encodings](https://docs.cartesia.ai/build-with-cartesia/capability-guides/stt-input-encodings.md) - [Volume, Speed, and Emotion](https://docs.cartesia.ai/build-with-cartesia/capability-guides/volume-speed-emotion.md): Control the speed, volume, and emotion of generated speech. - [Ink Whisper](https://docs.cartesia.ai/build-with-cartesia/stt-models.md) - [API Changes](https://docs.cartesia.ai/build-with-cartesia/tts-models/api-changes.md) - [Migrating Voices](https://docs.cartesia.ai/build-with-cartesia/tts-models/migrating-voices.md) - [Older TTS Models](https://docs.cartesia.ai/build-with-cartesia/tts-models/older-models.md) - [Sonic 3.5](https://docs.cartesia.ai/build-with-cartesia/tts-models/sonic-3-5.md) - [Voice IDs](https://docs.cartesia.ai/build-with-cartesia/tts-models/voice-ids.md) - [Changelog 2024](https://docs.cartesia.ai/changelog/2024.md): Product, API, and platform changes for 2024 - [Changelog 2025](https://docs.cartesia.ai/changelog/2025.md): Product, API, and platform changes for 2025 - [Changelog 2026](https://docs.cartesia.ai/changelog/2026.md): Product, API, and platform changes for 2026 - [Set up an organization](https://docs.cartesia.ai/enterprise/set-up-an-organization.md) - [Set up SSO](https://docs.cartesia.ai/enterprise/set-up-sso.md) - [Error Handling](https://docs.cartesia.ai/examples/error-handling.md): Example of error handling with SDK exceptions. - [Create Infill Audio](https://docs.cartesia.ai/examples/infill-create.md): Create infill audio between two clips. - [Next.js Full Example](https://docs.cartesia.ai/examples/nextjs.md): A complete Next.js application with batch TTS, HTTP streaming, and WebSocket streaming. - [Transcribe Audio](https://docs.cartesia.ai/examples/stt-transcribe.md): Transcribe audio with word timestamps. - [Download Audio File](https://docs.cartesia.ai/examples/tts-download-file.md): Generate audio and trigger a file download in the browser. - [Generate to File](https://docs.cartesia.ai/examples/tts-generate-to-file.md): Use generate() and write_to_file() to write a wav file. - [Play Audio in Browser](https://docs.cartesia.ai/examples/tts-play-audio.md): Generate a wav and play it using an