Delete an AI attachment
delete_attachmentDelete an AI attachment
Deletes the attachment and its stored files, for good; the AI stops offering it from its next reply. Messages the AI already sent with it stay in their conversations, but its media no longer opens there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| attachment_id | Yes | An AI attachment of the agent. Another agent's attachment is `404 not_found`. |