Attachments
Upload, list, download, and delete file attachments.
5 tools
# upload_attachment
Upload a file attachment to a document (base64-encoded)
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| doc_id | string | ● | Document ID to attach to |
| filename | string | ● | Filename (e.g. diagram.png) |
| content_type | string | — | MIME type (e.g. image/png) |
| data | string | ● | Base64-encoded file content |
# upload_ticket_attachment
Upload a file attachment to a ticket (base64-encoded)
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| ticket_id | string | ● | Ticket ID to attach to |
| filename | string | ● | Filename (e.g. screenshot.png) |
| content_type | string | — | MIME type (e.g. image/png) |
| data | string | ● | Base64-encoded file content |
# list_attachments
List attachments for a document
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| doc_id | string | ● | Document ID |
# delete_attachment
Delete a file attachment
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| attachment_id | string | ● | Attachment ID |
# download_attachment
Get a presigned download URL for an attachment
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| attachment_id | string | ● | Attachment ID |