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

# Get Agent Version

> Get Agent Version with the DialNexa API. Returns one version of an agent owned by your workspace. Use this to inspect a published or draft configuration.

<span data-api-safety-label="read-only"><Badge color="gray" size="sm" shape="pill">Read only</Badge></span>

Get Agent Version uses your workspace API key. Returns one version of an agent owned by your workspace. Use this to inspect a published or draft configuration.

## Before you begin

Use a server-side [API key](/docs/api-reference/authentication) for the intended workspace. Replace each path placeholder with an existing resource ID or version number from that workspace.

## Get Agent Version request

The request panel lists supported query parameters and body fields. For a request body, the example below supplies the required fields. Replace sample values with your own inputs.

```bash theme={null}
curl --request GET 'https://api.dialnexa.com/v1/agent-versions/{agentId}/version/{versionNumber}' \
  --header "Authorization: Bearer $DIALNEXA_API_KEY"
```

## Verify the result

Expect HTTP `200`. Read the `data` property in the success envelope; the response panel documents its fields.

## Retry safety

This operation does not modify workspace resources. Retry after a transient connection failure.

## Errors and recovery

* `401`: Missing, expired, or invalid API key.

## Related endpoints

* [List Agent Version Functions](/docs/api-reference/v1/agents/version-functions)
* [Get Agent Function Descriptions](/docs/api-reference/v1/agents/function-descriptions)
* [API authentication](/docs/api-reference/authentication)


## OpenAPI

````yaml GET /v1/agent-versions/{agentId}/version/{versionNumber}
openapi: 3.0.0
info:
  title: DialNexa API
  description: Public `/v1` REST API for the DialNexa voice AI platform.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: Agents
  - name: Batch Calls
  - name: Calls
  - name: Knowledge Base
  - name: Languages
  - name: LLMs
  - name: Phone Numbers
  - name: Transcribers
  - name: Webhooks
  - name: Voices
  - name: Workflows
  - name: Workflow Leads
  - name: Authentication
  - name: Agent Builder
paths:
  /v1/agent-versions/{agentId}/version/{versionNumber}:
    get:
      tags:
        - Agents
      summary: Get Agent Version
      description: >-
        Returns one version of an agent owned by your workspace. Use this to
        inspect a published or draft configuration.
      operationId: getAgentVersion
      parameters:
        - name: agentId
          required: true
          in: path
          schema:
            type: string
        - name: versionNumber
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - error
                  - statusCode
                  - message
                  - data
                  - timestamp
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  error:
                    type: boolean
                    enum:
                      - false
                  statusCode:
                    type: integer
                    example: 200
                  message:
                    type: string
                    example: Success
                  data:
                    type: object
                    properties:
                      agent_id:
                        type: string
                      version_number:
                        type: number
                      version_title:
                        type: string
                        nullable: true
                      title:
                        type: string
                        nullable: true
                      description:
                        type: string
                        nullable: true
                      inbound_telephony_provider_id:
                        type: string
                        nullable: true
                      llm_id:
                        type: string
                        nullable: true
                      outbound_telephony_provider_id:
                        type: string
                        nullable: true
                      language_id:
                        type: string
                      voice_id:
                        type: string
                      voice_model_id:
                        type: string
                        nullable: true
                      voice_speed:
                        type: number
                        nullable: true
                      voice_temperature:
                        type: number
                        nullable: true
                      voice_volume:
                        type: number
                        nullable: true
                      voice_pitch:
                        type: number
                        nullable: true
                      prompt_text:
                        type: string
                      system_prompt_text:
                        type: string
                        nullable: true
                      conversation_start_type:
                        type: string
                      welcome_message:
                        type: string
                        nullable: true
                      allow_interruptions:
                        type: boolean
                      json_output_instructions:
                        nullable: true
                      knowledge_base_ids:
                        type: array
                        items:
                          type: string
                        nullable: true
                      kb_max_chunks:
                        type: number
                        nullable: true
                      kb_min_score:
                        type: number
                        nullable: true
                      is_published:
                        type: boolean
                      voicemail_detection:
                        type: boolean
                        nullable: true
                      hangup_on_voicemail:
                        type: boolean
                        nullable: true
                      voicemail_message:
                        type: string
                        nullable: true
                      listen_for_keypad:
                        type: boolean
                        nullable: true
                      structured_output:
                        type: boolean
                        nullable: true
                      keypad_timeout_sec:
                        type: number
                      termination_key:
                        type: string
                        nullable: true
                      digit_limit:
                        type: number
                        nullable: true
                      end_call_on_silence_sec:
                        type: number
                      max_call_duration_sec:
                        type: number
                      ring_duration_sec:
                        type: number
                      background_sound:
                        type: string
                        nullable: true
                      ambient_noise:
                        type: boolean
                      background_sound_volume:
                        type: number
                      llm_temperature:
                        type: number
                      fallback_llm_enabled:
                        type: boolean
                        nullable: true
                      llm_fallback_delay_ms:
                        type: number
                        nullable: true
                      llm_fallback_model:
                        type: string
                        nullable: true
                      fallback_stt_enabled:
                        type: boolean
                        nullable: true
                      stt_fallback_wait_ms:
                        type: number
                        nullable: true
                      stt_fallback_transcriber_id:
                        type: string
                        nullable: true
                      predictive_preprocessing_enabled:
                        type: boolean
                        nullable: true
                      prompt_caching_enabled:
                        type: boolean
                        nullable: true
                      responsiveness:
                        type: number
                      interruption_sensitivity:
                        type: number
                      response_eagerness:
                        type: number
                      backchanneling:
                        type: boolean
                        nullable: true
                      backchannel_frequency:
                        type: number
                        nullable: true
                      transcription_mode:
                        type: string
                        nullable: true
                      transcriber_id:
                        type: string
                        nullable: true
                      denoising_mode:
                        type: string
                        nullable: true
                      denoise_strength:
                        type: number
                        nullable: true
                      speech_normalization:
                        type: boolean
                        nullable: true
                      transcript_formatting:
                        type: boolean
                        nullable: true
                      backchannel_keywords:
                        type: string
                        nullable: true
                      boosted_keywords:
                        type: string
                        nullable: true
                      boost_dynamic_variables:
                        type: boolean
                        nullable: true
                      reminder_message_interval:
                        type: number
                        nullable: true
                      reminder_message_frequency:
                        type: number
                        nullable: true
                      reminder_message_content:
                        type: string
                        nullable: true
                      default_dynamic_variables:
                        nullable: true
                      call_transfer_settings:
                        nullable: true
                      agent_identity:
                        type: string
                        nullable: true
                      agent_background:
                        type: string
                        nullable: true
                      node_positions:
                        type: string
                        nullable: true
                      ivr_menu:
                        type: object
                        additionalProperties: true
                        nullable: true
                      opt_out_sensitive_data_storage:
                        type: boolean
                        nullable: true
                      opt_in_secure_urls:
                        type: boolean
                        nullable: true
                      audio_cache_enabled:
                        type: boolean
                        nullable: true
                      fallback_voices:
                        type: array
                        items: {}
                        nullable: true
                      pause_before_speaking_sec:
                        type: number
                      agent:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      language:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      voice:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      inbound_telephony_number:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      outbound_telephony_number:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      llm:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      voice_model:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      transcriber:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                      stt_fallback_transcriber:
                        type: object
                        nullable: true
                        additionalProperties: true
                        description: Associated resource when configured.
                  timestamp:
                    type: string
                    format: date-time
        '401':
          description: Missing, expired, or invalid API key.
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````