List an agent's AI attachments
list_attachmentsList an agent's AI attachments
The photos, albums, videos and documents the agent's AI can send to customers, newest
first. Each describes its media (file names, types and sizes) without links; get links
with getAttachmentMedia. Filter with type, active or search (a part of the name or
description, case-insensitive, up to 200 characters).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only attachments of this type. | |
| limit | No | Page size, 1 to 100 (values outside are clamped). Default 20. | |
| active | No | Only the attachments the AI may send (`true`) or the switched-off ones (`false`). | |
| cursor | No | Opaque cursor from the previous page's `next_cursor`. Omit for the first page. A cursor the API didn't return is `422 invalid_request`. | |
| search | No | A part of the name or description, case-insensitive. | |
| 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`. |