Dashboard v3

Keep a file the user attaches in the editor's AI chat

One picture (PNG, JPEG, WebP, GIF; scaled to 1500px), PDF or Word file (20 MB, first 50 pages read) or text. Kept with this board's chat, once per content, never on the board itself; the returned ref is what a chat turn's attachments names. A spreadsheet is refused (code data: it belongs in Use my data), as is a .pbix/.twb (code workbook: the import).

post/dashboards/{dashboard_id}/chat/attachments

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/dashboards/{dashboard_id}/chat/attachments
  • 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

Path parameters

dashboard_idinteger required

Response

The attachment, kept with the chat

refstring required
namestring required
kind'image' | 'document' | 'text' required
media_typestring required
byte_sizeinteger required
pagesinteger
pages_readinteger
wordsinteger
truncatedboolean

Changes

No recorded changes to this operation across all 4 revisions of this API.