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

# Get a branch's voice settings

> What the branch's calls run with: its head's voice settings, with the settings every branch shares read from the agent. Archived branches too.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v2/agents/{agentId}/branches/{branchId}/voice
openapi: 3.1.0
info:
  title: Centillion Labs API
  description: >-
    The public API of Centillion Labs: agents, their branches and versions,
    knowledge, tools and the secrets they send, chat, conversations, contacts,
    campaigns, batch calls, agent testing, issues and Helpdesk.
  version: 2.0.0
servers:
  - url: https://app.cntillion.com
security:
  - workspaceApiKey: []
  - workspaceApiKeyHeader: []
tags:
  - name: Agents
    description: Create, read, change, clone and delete agents.
  - name: Branches and versions
    description: Branches, drafts, immutable versions, merges, publishing and traffic.
  - name: Workflow and voice
    description: A branch's workflow and its voice settings.
  - name: Tools
    description: 'Workspace tools: HTTP, client, MCP server and code tools.'
  - name: Secrets
    description: >-
      Named credentials, such as an API key, that HTTP tools and MCP servers
      send as a header by naming the secret's id in
      `configuration.secretHeaders`. A value is encrypted when saved and never
      returned. A new value reaches every tool and published agent that uses the
      secret on its next call, with nothing to publish, and a secret can be
      deleted only once no tool and no published agent sends it.
  - name: Auth connections
    description: >-
      How the workspace's tools sign in to an API, kept once and named by id in
      an HTTP tool's or an MCP server's `configuration.authConnectionId` (or
      `configuration.page.authConnectionId` for a web form's link request).
      Secrets are encrypted when saved and never returned. A change reaches
      every tool and published agent that uses the connection on its next call,
      and a connection can be deleted only once nothing signs in with it.
  - name: Knowledge sources
    description: What an agent knows, and training it on that.
  - name: Chat
    description: Talk to an agent from your own systems.
  - name: Conversations
    description: Conversations, their messages, feedback and analysis.
  - name: Leads and contacts
    description: The leads and contacts an agent collected.
  - name: Contacts and enrollments
    description: Upsert contacts and enroll them in always-open campaigns.
  - name: Batch calls
    description: Outbound call batches, their recipients and their runs.
  - name: Campaigns
    description: >-
      Managed outbound calling: campaigns that call each lead within calling
      windows and retry, call back or redirect as their lead policy allows,
      their leads, calls and attention items, and the workspace's campaign
      settings.
  - name: WhatsApp
    description: WhatsApp templates and template messages.
  - name: Agent testing
    description: Workspace tests, agent suites, execution, and results.
  - name: Issues
    description: >-
      Issues an agent raised or a teammate flagged about how it behaves: triage,
      comment, merge and resolve.
  - name: Helpdesk
    description: Helpdesk tickets, their messages, teams and statuses.
  - name: Status
    description: Whether the API is up.
paths:
  /api/v2/agents/{agentId}/branches/{branchId}/voice:
    get:
      tags:
        - Workflow and voice
      summary: Get a branch's voice settings
      description: >-
        What the branch's calls run with: its head's voice settings, with the
        settings every branch shares read from the agent. Archived branches too.
      operationId: getBranchVoiceSettings
      parameters:
        - name: agentId
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 128
        - name: branchId
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 128
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBranchVoiceSettingsResponse'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
        '429':
          $ref: '#/components/responses/Error429'
        '500':
          $ref: '#/components/responses/Error500'
        '504':
          $ref: '#/components/responses/Error504'
components:
  schemas:
    GetBranchVoiceSettingsResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/BranchVoiceSettings'
      required:
        - data
    BranchVoiceSettings:
      type: object
      properties:
        agentId:
          type: string
        branchId:
          type: string
        isMain:
          type: boolean
        revision:
          type: integer
        versionId:
          description: The branch's current version, or null when it has none.
          type:
            - string
            - 'null'
        sharedFields:
          type: array
          items:
            type: string
            enum:
              - allowInterruptions
              - dailyCallLimit
              - maxConcurrentSessions
              - errorMessage
              - initialMessage
              - initialMessageInterruptible
              - model
              - temperature
              - realtimeModel
              - duplexVoice
              - pipelineMode
              - voiceLanguage
              - voiceId
              - voiceName
              - voiceProvider
              - speed
              - stability
              - similarity
              - recordingRetentionDays
              - retainRecordingsForever
              - conversationFlow
              - allowTextInput
              - maxCallDurationMinutes
              - silenceTimeoutSeconds
              - noiseSensitivity
              - silenceThresholdSeconds
              - transcriberLanguages
              - transcriberModel
              - voiceInstructions
          description: >-
            The settings every branch shares. They change only on Main, in a
            request of their own, and take effect at once without a new version.
        settings:
          $ref: '#/components/schemas/AgentVoiceSettings'
      required:
        - agentId
        - branchId
        - isMain
        - revision
        - versionId
        - sharedFields
        - settings
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: A stable code, such as `NOT_FOUND`.
            message:
              type: string
              description: What went wrong, for a person.
            details:
              description: More about the failure, on some endpoints.
          required:
            - code
            - message
      required:
        - error
    AgentVoiceSettings:
      type: object
      properties:
        pipelineMode:
          default: duplex
          type: string
          enum:
            - duplex
            - staged
        realtimeModel:
          default: openai/gpt-live-1
          type: string
          enum:
            - openai/gpt-live-1
            - openai/gpt-live-1.1
            - openai/gpt-realtime-2.1
            - openai/gpt-realtime-2.1-mini
            - google/gemini-3.8-live
            - xai/grok-voice-3.0
            - elevenlabs/eleven_realtime_v1_mini
            - elevenlabs/eleven_realtime_v1_max
            - phonic/phonic-1
            - phonic/phonic-1-high
        duplexVoice:
          default: marin
          type: string
          minLength: 1
          maxLength: 100
        model:
          default: openai/gpt-5.4-mini
          type: string
          minLength: 1
          maxLength: 100
        temperature:
          default: 0
          type: number
          minimum: 0
          maximum: 1
        transcriberLanguages:
          default:
            - auto
          minItems: 1
          maxItems: 8
          type: array
          items:
            type: string
            minLength: 2
            maxLength: 40
        transcriberModel:
          default: soniox-v5
          type: string
          enum:
            - soniox-v5
            - soniox-v4
            - elevenlabs-scribe-v2
            - cartesia-ink-whisper
        silenceThresholdSeconds:
          default: 0.75
          type: number
          minimum: 0.25
          maximum: 3
        noiseSensitivity:
          default: 0.5
          type: number
          minimum: 0
          maximum: 1
        voiceId:
          default: corey
          type: string
          minLength: 1
          maxLength: 200
        voiceName:
          default: Corey
          type: string
          minLength: 1
          maxLength: 100
        voiceProvider:
          default: centillion
          type: string
          enum:
            - centillion
            - elevenlabs
            - google
            - minimax
            - inworld
            - fishaudio
        voiceLanguage:
          default: en-US
          type: string
          minLength: 2
          maxLength: 40
        speed:
          default: null
          anyOf:
            - type: number
              minimum: 0.5
              maximum: 2
            - type: 'null'
        stability:
          default: null
          anyOf:
            - type: number
              minimum: 0
              maximum: 1
            - type: 'null'
        similarity:
          default: null
          anyOf:
            - type: number
              minimum: 0
              maximum: 1
            - type: 'null'
        voiceInstructions:
          default: ''
          type: string
          maxLength: 500
        initialMessage:
          default: ''
          type: string
          maxLength: 500
        initialMessageInterruptible:
          default: true
          type: boolean
        errorMessage:
          default: The voice session encountered an error. Please try again.
          type: string
          maxLength: 500
        allowInterruptions:
          default: true
          type: boolean
        silenceTimeoutSeconds:
          default: 300
          anyOf:
            - type: integer
              minimum: 10
              maximum: 3600
            - type: 'null'
        conversationFlow:
          type: object
          properties:
            version:
              default: 1
              type: number
              const: 1
            turnEagerness:
              type: string
              enum:
                - patient
                - normal
                - eager
            turnDetection:
              type: string
              enum:
                - silence
                - model
            turnTimeoutSeconds:
              default: 15
              anyOf:
                - type: integer
                  minimum: 1
                  maximum: 30
                - type: 'null'
            softTimeout:
              default:
                kind: 'off'
              oneOf:
                - type: object
                  properties:
                    kind:
                      type: string
                      const: 'off'
                  required:
                    - kind
                - type: object
                  properties:
                    kind:
                      type: string
                      const: static
                    seconds:
                      type: number
                      minimum: 0.5
                      maximum: 8
                    message:
                      type: string
                      minLength: 1
                      maxLength: 200
                    additionalMessages:
                      default: []
                      maxItems: 7
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 200
                    randomize:
                      default: false
                      type: boolean
                    waitForCaller:
                      default: true
                      type: boolean
                  required:
                    - kind
                    - seconds
                    - message
                    - additionalMessages
                    - randomize
                    - waitForCaller
                - type: object
                  properties:
                    kind:
                      type: string
                      const: generated
                    seconds:
                      type: number
                      minimum: 0.5
                      maximum: 8
                    message:
                      type: string
                      minLength: 1
                      maxLength: 200
                    maxMessages:
                      default: 1
                      type: integer
                      minimum: 1
                      maximum: 8
                    prompt:
                      default: null
                      anyOf:
                        - type: string
                          minLength: 1
                          maxLength: 1000
                        - type: 'null'
                    waitForCaller:
                      default: true
                      type: boolean
                  required:
                    - kind
                    - seconds
                    - message
                    - maxMessages
                    - prompt
                    - waitForCaller
            maxDurationMessage:
              default: ''
              type: string
              maxLength: 200
            transcriptionKeywords:
              maxItems: 100
              type: array
              items:
                type: string
                minLength: 1
                maxLength: 100
          required:
            - version
            - turnTimeoutSeconds
            - softTimeout
            - maxDurationMessage
        allowTextInput:
          default: false
          type: boolean
        retainRecordingsForever:
          default: true
          type: boolean
        recordingRetentionDays:
          default: null
          anyOf:
            - type: integer
              minimum: 1
              maximum: 3650
            - type: 'null'
        maxConcurrentSessions:
          default: null
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
        maxCallDurationMinutes:
          default: 15
          type: number
          minimum: 1
          maximum: 120
        dailyCallLimit:
          default: null
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
      required:
        - pipelineMode
        - realtimeModel
        - duplexVoice
        - model
        - temperature
        - transcriberLanguages
        - transcriberModel
        - silenceThresholdSeconds
        - noiseSensitivity
        - voiceId
        - voiceName
        - voiceProvider
        - voiceLanguage
        - speed
        - stability
        - similarity
        - voiceInstructions
        - initialMessage
        - initialMessageInterruptible
        - errorMessage
        - allowInterruptions
        - silenceTimeoutSeconds
        - conversationFlow
        - allowTextInput
        - retainRecordingsForever
        - recordingRetentionDays
        - maxConcurrentSessions
        - maxCallDurationMinutes
        - dailyCallLimit
  responses:
    Error400:
      description: The request is invalid. `error.message` names the first problem.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Error401:
      description: No valid workspace API key was sent.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Error403:
      description: The key or the workspace's plan does not allow this request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Error404:
      description: The endpoint, or a record it names, was not found in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Error409:
      description: The record changed since it was read, or its state does not allow this.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Error429:
      description: Too many requests. Wait for `Retry-After` seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Error500:
      description: The request could not be completed. Try again.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Error504:
      description: The request took too long. Try again.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    workspaceApiKey:
      type: http
      scheme: bearer
      bearerFormat: cl_api_...
      description: >-
        A workspace API key from Workspace settings > API keys, sent as
        `Authorization: Bearer cl_api_...`. A Read only key can call the GET
        endpoints; every other method needs a Full access key.
    workspaceApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        The same workspace API key, for a gateway that keeps `Authorization` for
        itself.

````

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