Agents

Get Agent Details

Returns the agent with all versions. Each version includes agent_functions, pronunciations, and postcall_analysis embedded.

get/v1/agents/{id}

Request

  • Base URL: https://api.dialnexa.com
  • URL: https://api.dialnexa.com/v1/agents/{id}
  • Auth: HTTP bearer

Path parameters

idstring required
Example:agent_2g7Xy3tY53gRlp

Agent ID

Response

Agent returned with all versions and embedded agent_functions.

successtrue required
errorfalse required
statusCodeinteger required
messagestring required
timestampstring date-time required

Example response

{
  "statusCode": 200,
  "message": "Success",
  "data": {
    "id": "agent_2g7Xy3tY53gRlp",
    "current_version_number": "3",
    "current_version": {
      "version_number": "1",
      "postcall_analysis": [
        {
          "llm_id": "llm_A1B2C3D4E5F6G7"
        }
      ]
    },
    "versions": [
      {
        "version_number": "1",
        "postcall_analysis": [
          {
            "llm_id": "llm_A1B2C3D4E5F6G7"
          }
        ]
      }
    ],
    "organization_id": "o14XKPP84rt22g",
    "inbound_phone_numbers": [
      {
        "id": "phn_abc123",
        "phone_number": "9876543210",
        "country_iso": "91"
      }
    ],
    "outbound_phone_numbers": [
      {
        "id": "phn_abc123",
        "phone_number": "9876543210",
        "country_iso": "91"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.