Use this API to delete a custom agent configuration and all its versions. Group cleanup: Before the agent document and its versions subcollection are recursively deleted, theDocumentation Index
Fetch the complete documentation index at: https://velt-raghul-agent-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
agentId is removed from the agentIds array of every agent group it belongs to. A cleanup failure aborts the delete and leaves the agent intact, so the call can safely be retried. Groups themselves are never deleted as part of agent deletion, even when they become empty.
POST https://api.velt.dev/v2/agents/delete
| Field | Type | Description |
|---|---|---|
data.agentId | string | The ID of the deleted agent |
NOT_FOUND (agent does not exist).