Skip to main content
DELETE
/
v1
/
public
/
agents
/
{agent_id}
Delete Agent
curl --request DELETE \
  --url https://api.eigi.ai/v1/public/agents/{agent_id} \
  --header 'X-API-Key: <api-key>'
{
  "message": "<string>",
  "agent_id": "<string>",
  "agent_name": "<string>",
  "deleted_at": "2023-11-07T05:31:56Z"
}

Overview

Permanently delete an agent. This also deletes the agent’s internal prompt (if one was auto-created via prompt_content).
This action cannot be undone. The agent and all its configuration will be permanently removed.

Authentication

X-API-Key
string
required
Your eigi.ai API key. Must be prefixed with vk_.

Path Parameters

agent_id
string
required
The unique agent ID to delete.Example: 68ea2517dbb84c09bae1ba0a

Response

message
string
Success confirmation message.
agent_id
string
ID of the deleted agent.
agent_name
string
Name of the deleted agent.
deleted_at
string
ISO 8601 timestamp of when the deletion occurred.

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.

Path Parameters

agent_id
string
required

The unique agent ID

Response

Agent deleted successfully

message
string

Success message

agent_id
string

ID of the deleted agent

agent_name
string

Name of the deleted agent

deleted_at
string<date-time>

Deletion timestamp