> ## 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 Function Descriptions

> Get Agent Function Descriptions with the DialNexa API. Returns the combined function instructions for one agent version.

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

Get Agent Function Descriptions uses your workspace API key. Returns the combined function instructions for one agent version.

## 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 Function Descriptions 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/agents/{agentId}/versions/{versionNumber}/functions/merged-description' \
  --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

* `403`: Agent does not belong to your organization.
* `401`: Missing, expired, or invalid API key.

## Related endpoints

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


## OpenAPI

````yaml GET /v1/agents/{agentId}/versions/{versionNumber}/functions/merged-description
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/agents/{agentId}/versions/{versionNumber}/functions/merged-description:
    get:
      tags:
        - Agents
      summary: Get Agent Function Descriptions
      description: Returns the combined function instructions for one agent version.
      operationId: getAgentFunctionDescriptions
      parameters:
        - name: agentId
          required: true
          in: path
          description: ID of the agent
          schema:
            type: string
        - name: versionNumber
          required: true
          in: path
          description: Version number of the agent
          schema:
            type: string
      responses:
        '200':
          description: Successful response.
          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: string
                  timestamp:
                    type: string
                    format: date-time
        '401':
          description: Missing, expired, or invalid API key.
        '403':
          description: Agent does not belong to your organization.
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````