Delete an agent
Deletes the agent permanently. Past calls keep their records. To keep the agent but stop it, use pauseAgent.
Deletes the agent permanently. Past calls keep their records. To keep the agent but stop it, use pauseAgent.
X-API-Key<token>Create in the console: Settings → API & webhooks.
agent_id*Agent IdOK
application/json- response
The agent was deleted.
message?MessageHuman-readable confirmation.
"Agent deleted"success?SuccessAlways true on success.
true[key: string]?anycurl -X DELETE 'https://api.callmitra.ai/api/v1/agents/string'{ "message": "Agent deleted", "success": true}Create an agent POST
Creates an agent from a `config` (see the AgentConfig schema). It starts as a `draft`; publish it with publishAgent, or send `status: published`. Values outside the documented range or list, and a language, voice or model that is not available, are refused with `parameter_invalid` naming the field (for example `config.voice`).
Get an agent GET
The agent with its published `config`, working `draftConfig`, status and phone numbers.