> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cartesia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a Voice

> Get a specific voice.

<Tabs>
  <Tab title="Python">
    ```python theme={null}
    def voices_get(client: Cartesia, *args: str) -> "Voice":
        """Get a specific voice."""
        voice_id = args[0] if args else "6ccbfb76-1fc6-48f7-b71d-91ac6298247b"
        voice = client.voices.get(voice_id)
        if hasattr(voice, "embedding"):
            voice.embedding = ["..."]  # pyright: ignore[reportAttributeAccessIssue]
        print(voice)
        return voice
    ```

    From [cartesia-python/examples/examples.py:519](https://github.com/cartesia-ai/cartesia-python/blob/v3.2.0/examples/examples.py#L519)
  </Tab>

  <Tab title="TypeScript">
    ```typescript theme={null}
    async function voicesGet(client: Cartesia, args: string[]): Promise<void> {
      const voiceId = args[0] ?? '6ccbfb76-1fc6-48f7-b71d-91ac6298247b';
      const voice = await client.voices.get(voiceId);

      if ('embedding' in voice) {
        console.log({ ...voice, embedding: ['...'] });
      } else {
        console.log(voice);
      }
    }
    ```

    From [cartesia-js/examples/node\_examples.ts:559](https://github.com/cartesia-ai/cartesia-js/blob/v3.2.0/examples/node_examples.ts#L559)
  </Tab>
</Tabs>

## Run this example

<Tabs>
  <Tab title="Python">
    ```sh theme={null}
    git clone --branch v3.2.0 https://github.com/cartesia-ai/cartesia-python
    cd cartesia-python
    uv sync
    CARTESIA_API_KEY=YOUR_KEY uv run examples/examples.py voices_get [voice_id]
    ```
  </Tab>

  <Tab title="TypeScript">
    ```sh theme={null}
    git clone --branch v3.2.0 https://github.com/cartesia-ai/cartesia-js
    cd cartesia-js
    pnpm i
    CARTESIA_API_KEY=YOUR_KEY pnpm tsn examples/node_examples.ts voicesGet [voice_id]
    ```
  </Tab>
</Tabs>
