Skip to main content
DELETE
Delete Agent

Overview

Marks the agent deleted. It disappears from List Agents and returns 404 from Get Agent, but its versions, deployments, and history are retained. Alerts scoped to the agent are deleted with it. Requires an admin, owner, operator, or prompter role.

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The agent’s unique identifier.

Response

string
The deleted agent’s ID.
boolean
Always true on success.
null | array
null on success, or a list of error objects if the request failed.

Docs for agents: llms.txt