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

# Get Agent Settings

> Retrieve the name, voice and pronunciations of your organization's AI recruiter, and the voices you can switch to.

Retrieve your AI recruiter's name, voice, speaking rate and pronunciations, plus the voices you can switch to. Any API key can read these.

`voice_model` is read-only: Classet sets it for your organization. `available_voices` lists the voices that work with it.

These are the settings for calls on Classet's current voice system. Some calls still run on the earlier one, such as interviews in a language other than English; those calls use only `agent_name` from these settings.

```bash cURL theme={null}
curl https://api.classet.ai/v2/agent-settings -H "X-API-KEY: $CLASSET_API_KEY"
```

```json 200 theme={null}
{
  "data": {
    "agent_name": "Joy",
    "voice_id": "Ashley",
    "voice_model": "inworld/inworld-tts-2-flash",
    "voice_speed": 1.1,
    "pronunciations": [
      { "word": "Nguyen Mechanical", "phoneme": "wɪn məˈkænɪkəl" }
    ],
    "available_voices": [
      { "id": "Ashley", "name": "Ashley", "description": "Warm, natural American female", "language": "en-US" },
      { "id": "Olivia", "name": "Olivia", "description": "Upbeat, friendly British female", "language": "en-GB" },
      { "id": "Diego", "name": "Diego", "description": "Soothing, gentle Mexican male", "language": "es-MX" }
    ]
  }
}
```


## OpenAPI

````yaml GET /v2/agent-settings
openapi: 3.1.0
info:
  title: Classet API
  version: 2.0.3
  description: >-
    AI-powered recruiting and phone screening API.


    **API key scopes.** `read` covers every GET; any other method needs `write`
    (403 `insufficient_scope`); starting or stopping an interview also needs
    `interviews:send`. A branch-limited key sees and writes only jobs in its
    branches (not jobs with no branch) and their candidates, applications and
    calls; anything outside is a 404. An organization-group key is read-only
    across every organization in its group. Branch-limited and group keys cannot
    use organization configuration (scripts, knowledge, webhooks, message
    automations, agent settings, AI generation, organization): 403
    `restricted_key_unsupported`. `GET /v2/me` reports what the calling key can
    do.
servers:
  - url: https://api.classet.ai
    description: Production
  - url: http://localhost:8081
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /v2/agent-settings:
    get:
      tags:
        - Agent Settings
      summary: Get agent settings
      description: >-
        Retrieve the name, voice and pronunciations of your organization's AI
        recruiter, and the voices you can switch to.
      responses:
        '200':
          description: Agent settings
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/AgentSettings'
                required:
                  - data
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    AgentSettings:
      type: object
      properties:
        agent_name:
          type: string
          nullable: true
          description: Name the AI recruiter uses for itself with candidates
          example: Joy
        voice_id:
          type: string
          nullable: true
          description: >-
            Voice the recruiter speaks with. `null` when no voice is set for a
            voice model other than the default one.
          example: Ashley
        voice_model:
          type: string
          description: >-
            Text-to-speech model behind the voice. Read-only: Classet sets it
            for your organization.
          example: inworld/inworld-tts-2-flash
        voice_speed:
          type: number
          nullable: true
          description: >-
            Speaking rate, where 1.0 is the natural pace of the voice. `null`
            when the voice model has no rate control.
          example: 1.1
        pronunciations:
          type: array
          items:
            $ref: '#/components/schemas/AgentPronunciation'
          description: Words the recruiter says a specific way, such as your company name
        available_voices:
          type: array
          items:
            $ref: '#/components/schemas/AgentVoiceOption'
          description: The voices you can set as `voice_id` on the current voice model
      required:
        - agent_name
        - voice_id
        - voice_model
        - voice_speed
        - pronunciations
        - available_voices
      description: Name, voice and pronunciations of your AI recruiter
    AgentPronunciation:
      type: object
      properties:
        word:
          type: string
          minLength: 1
          maxLength: 60
          description: >-
            The word or name as it appears in what the recruiter says. Matched
            case-insensitively.
          example: Nguyen Mechanical
        phoneme:
          type: string
          minLength: 1
          maxLength: 120
          description: How to say it, in IPA. Must not contain `<`, `>`, `|`, `/` or `\`.
          example: wɪn məˈkænɪkəl
      required:
        - word
        - phoneme
      additionalProperties: false
    AgentVoiceOption:
      type: object
      properties:
        id:
          type: string
          description: Pass this as `voice_id`
          example: Ashley
        name:
          type: string
          example: Ashley
        description:
          type: string
          example: Warm, natural American female
        language:
          type: string
          description: Language and accent of the voice
          example: en-US
      required:
        - id
        - name
        - description
        - language
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your Classet API key. Create and rotate keys in Settings → API.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.