Skip to content

Delete Agent

Delete an existing agent by ID.

Parameters:

Name Type Description Default
agent_id int

The ID of the agent to delete.

required

Returns:

Name Type Description
dict Dict[str, Any]

JSON response confirming the deletion status.

Sample usage:

from anoteai import Anote

api_key = 'INSERT_API_KEY_HERE'
anote = Anote(api_key=api_key)

agent_id = 123
response = anote.delete_agent(agent_id)
print(response)
Response (JSON):
{
  "agent_id": 123,
  "status": "deleted"
}