> ## 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.

# Agents overview

> Create, configure, publish, inspect, and retire DialNexa v1 agents.

Agents combine prompts, language, voice, model, transcription, analysis, and telephony settings. Calls use a published agent version. A newly created agent starts with one unpublished draft, version `0`; each later version counts up from there.

## Lifecycle

| Stage | Operation | What happens |
| - | - | - |
| Create draft | [Create Agent](https://dialnexa.com/docs/api-reference/v1/agents/create.md) | Creates the agent and its first draft, version `0`. |
| Configure | [Update Agent](https://dialnexa.com/docs/api-reference/v1/agents/update.md) | Changes a draft version and can attach knowledge bases. |
| Publish | [Update Agent](https://dialnexa.com/docs/api-reference/v1/agents/update.md) | Send `version_number` and `is_published: true` before live calls. |
| Route | [Attach Agent Phone Number](https://dialnexa.com/docs/api-reference/v1/agents/attach-phone-number.md) | Links up to 3 inbound and 3 outbound numbers to the agent. Every version uses them. |
| Use | [Create Call](https://dialnexa.com/docs/api-reference/v1/calls/create.md) | Starts a call with the latest published version or a specified published version. |
| Inspect | [List Agents](https://dialnexa.com/docs/api-reference/v1/agents/list.md) and [Get Agent](https://dialnexa.com/docs/api-reference/v1/agents/get.md) | Lists every agent with its versions, or fetches one agent with its versions, functions, and phone numbers. |
| Retire | [Delete Agent](https://dialnexa.com/docs/api-reference/v1/agents/delete.md) | Removes the agent from normal use. Review active routing first. |

## Minimal agent

A single-prompt agent needs only `prompt_text`; send `title`, `language_id`, and `voice_id` too, because DialNexa fills defaults for any you omit. Fetch catalog IDs from [Languages](https://dialnexa.com/docs/api-reference/v1/languages/list.md) and [Voices](https://dialnexa.com/docs/api-reference/v1/voices/list.md). Advanced telephony, fallback, analysis, and speech settings are optional.

## Production checklist

* Publish the intended version before creating a call.
* Use signed IDs exactly as returned, including prefixes.
* Treat attaching or detaching a phone number as a routing change: inbound calls to an agent's numbers run on its latest published version.
* Test dynamic variables with the same keys you will send in call `metadata`.
* Fetch one agent when you need functions and complete version details.

## Dashboard-only capabilities

Some agent-management actions remain available only in the dashboard. Use the operations listed on this page for public API integrations, and use the dashboard when an action is not listed here.


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