---
title: "A file attached in this board's AI chat"
method: GET
path: "/dashboards/{dashboard_id}/chat/attachments/{sha}"
tags: ["Dashboard v3"]
---

# A file attached in this board's AI chat

`GET /dashboards/{dashboard_id}/chat/attachments/{sha}`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/{dashboard_id}/chat/attachments/{sha}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

What the chat opens for `att:<sha>`: the picture, the pages read (PDF) or the text. `view=thumb` gives a document's first page as a PNG. Immutable: the name is the content's hash.

## Path parameters

- `dashboard_id` integer, required
- `sha` string, required

## Query parameters

- `view` string, nullable

## Response `200`

Stream Response

- unknown

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/9d8804f81a10?raw)
