# Download an attachment visualization

Launch stage: GA

`GET /api/2.0/genie/{name=spaces/*/conversations/*/messages/*/attachments/*}/download-visualization`

Download a rendered image of a message visualization attachment.
 The response body is the raw PNG image, not a JSON payload.
 This is only available if the attachment is a visualization and the message status is `COMPLETED`.

API scopes: genie

Response content type: `application/octet-stream`

## Path parameters

- `name` (string, required)
  The resource name of the attachment to render, in the format
   `spaces/{space_id}/conversations/{conversation_id}/messages/{message_id}/attachments/{attachment_id}`.

## Returns

The rendered visualization as a PNG image. Returned as the raw HTTP
 response body rather than a JSON field.

Returns binary.

