# Dashboards

> Source: https://elaichi.ai/docs/api-reference/dashboards/

Base URL: `https://api.truto.one/unified/`

Set the `integrated_account_id` query parameter on every request to scope it to a specific connection.

## Resources

- [Dashboard](/docs/api-reference/dashboards/dashboard)
  - [GET /dashboard/{id}/public-link](/docs/api-reference/dashboards/dashboard/listpubliclinks) — List a dashboard public links
  - [POST /dashboard/{id}/public-link](/docs/api-reference/dashboards/dashboard/createpubliclink) — Publish a dashboard snapshot link
  - [POST /dashboard/{id}/public-link/preview](/docs/api-reference/dashboards/dashboard/previewpubliclink) — Preview what a public link would expose
  - [PATCH /dashboard/{id}/public-link/{linkId}](/docs/api-reference/dashboards/dashboard/updatepubliclink) — Change how a public link updates, its live tables, and what visitors may do on it
  - [DELETE /dashboard/{id}/public-link/{linkId}](/docs/api-reference/dashboards/dashboard/revokepubliclink) — Revoke a public link
  - [POST /dashboard/{id}/public-link/{linkId}/refresh](/docs/api-reference/dashboards/dashboard/refreshpubliclink) — Re-capture a public link snapshot as you
  - [POST /dashboard/{id}/public-link/{linkId}/extend](/docs/api-reference/dashboards/dashboard/extendpubliclink) — Extend a public link
  - [POST /dashboard/{id}/public-link/{linkId}/pause](/docs/api-reference/dashboards/dashboard/pausepubliclink) — Pause a public link
  - [POST /dashboard/{id}/public-link/{linkId}/resume](/docs/api-reference/dashboards/dashboard/resumepubliclink) — Resume a public link
  - [POST /dashboard/{id}/public-link/{linkId}/url](/docs/api-reference/dashboards/dashboard/revealpubliclinkurl) — Reveal a public link URL
  - [GET /dashboard](/docs/api-reference/dashboards/dashboard/listdashboards) — List dashboards
  - [POST /dashboard](/docs/api-reference/dashboards/dashboard/createdashboard) — Create a dashboard
  - [POST /dashboard/validate](/docs/api-reference/dashboards/dashboard/validatedashboarddefinition) — Validate a dashboard definition
  - [POST /dashboard/preview-widget](/docs/api-reference/dashboards/dashboard/previewdashboardwidget) — Preview a widget without saving it
  - [POST /dashboard/import-pins](/docs/api-reference/dashboards/dashboard/importdashboardpins) — Import legacy chat pins as snapshot widgets
  - [GET /dashboard/{id}](/docs/api-reference/dashboards/dashboard/getdashboard) — Get a dashboard
  - [PATCH /dashboard/{id}](/docs/api-reference/dashboards/dashboard/updatedashboardmeta) — Rename or redescribe a dashboard
  - [DELETE /dashboard/{id}](/docs/api-reference/dashboards/dashboard/deletedashboard) — Delete a dashboard
  - [PUT /dashboard/{id}/definition](/docs/api-reference/dashboards/dashboard/savedashboarddefinition) — Save a dashboard definition (compare-and-swap)
  - [GET /dashboard/{id}/draft/head](/docs/api-reference/dashboards/dashboard/getdashboarddrafthead) — Poll whether the draft moved
  - [PUT /dashboard/{id}/draft](/docs/api-reference/dashboards/dashboard/savedashboarddraft) — Save the dashboard draft (compare-and-swap)
  - [POST /dashboard/{id}/draft/publish](/docs/api-reference/dashboards/dashboard/publishdashboarddraft) — Publish the draft
  - [POST /dashboard/{id}/draft/discard](/docs/api-reference/dashboards/dashboard/discarddashboarddraft) — Throw the draft away
  - [POST /dashboard/{id}/transfer](/docs/api-reference/dashboards/dashboard/transferdashboard) — Transfer dashboard ownership
  - [POST /dashboard/{id}/share](/docs/api-reference/dashboards/dashboard/sharedashboard) — Share a dashboard
  - [GET /dashboard/{id}/share](/docs/api-reference/dashboards/dashboard/listdashboardshares) — List a dashboard’s shares
  - [DELETE /dashboard/{id}/share/{aclId}](/docs/api-reference/dashboards/dashboard/revokedashboardshare) — Revoke a dashboard share
  - [GET /dashboard/{id}/widget/{key}/data](/docs/api-reference/dashboards/dashboard/getdashboardwidgetdata) — Get a widget’s data
  - [POST /dashboard/{id}/widget/{key}/refresh](/docs/api-reference/dashboards/dashboard/refreshdashboardwidget) — Force-refresh a widget’s data
  - [GET /dashboard/{id}/page/{pageKey}/data](/docs/api-reference/dashboards/dashboard/getdashboardpagedata) — Get every widget on one page
  - [POST /dashboard/{id}/widgets/from-canvas](/docs/api-reference/dashboards/dashboard/addcanvaswidgettodashboard) — Copy a canvas widget into a dashboard as a snapshot
  - [POST /dashboard/{id}/filter/{filterKey}/options](/docs/api-reference/dashboards/dashboard/listdashboardfilteroptions) — List the options behind a dashboard filter
  - [POST /dashboard/{id}/widget/{key}/options](/docs/api-reference/dashboards/dashboard/listdashboardwidgetoptions) — List the options behind a form field or action input
  - [POST /dashboard/{id}/widget/{key}/submit](/docs/api-reference/dashboards/dashboard/submitdashboardform) — Submit a dashboard form widget
  - [GET /dashboard/{id}/widget/{key}/row](/docs/api-reference/dashboards/dashboard/listdashboardformrows) — List the rows a dashboard form can edit
  - [GET /dashboard/{id}/widget/{key}/row/{rowId}](/docs/api-reference/dashboards/dashboard/getdashboardformrow) — Read one row for a dashboard form to prefill
  - [PATCH /dashboard/{id}/widget/{key}/row/{rowId}](/docs/api-reference/dashboards/dashboard/updatedashboardformrow) — Save an edit of one row through a dashboard form
  - [POST /dashboard/{id}/widget/{key}/invoke](/docs/api-reference/dashboards/dashboard/invokedashboardaction) — Run the workflow behind a dashboard action widget
  - [POST /dashboard/{id}/widget/{key}/export](/docs/api-reference/dashboards/dashboard/exportdashboardwidget) — Export a table widget
- [Public](/docs/api-reference/dashboards/public)
  - [GET /public/dashboard/{token}](/docs/api-reference/dashboards/public/getpublicdashboard) — View a public dashboard snapshot
  - [GET /public/dashboard/{token}/widget/{key}/data](/docs/api-reference/dashboards/public/getpublicdashboardtabledata) — Read one live page of a public table
  - [POST /public/dashboard/{token}/widget/{key}/export](/docs/api-reference/dashboards/public/exportpublicdashboardtable) — Export a live public table
  - [GET /public/dashboard/{token}/widget/{key}/row](/docs/api-reference/dashboards/public/listpublicdashboardformrows) — List the rows a public form lets visitors edit
  - [POST /public/dashboard/{token}/widget/{key}/row](/docs/api-reference/dashboards/public/submitpublicdashboardform) — Add a row through a public form
  - [GET /public/dashboard/{token}/widget/{key}/row/{rowId}](/docs/api-reference/dashboards/public/getpublicdashboardformrow) — Read one row for a public form to prefill
  - [PATCH /public/dashboard/{token}/widget/{key}/row/{rowId}](/docs/api-reference/dashboards/public/updatepublicdashboardformrow) — Save an edit of one row through a public form
  - [GET /public/dashboard/{token}/filter/{key}/options](/docs/api-reference/dashboards/public/listpublicdashboardfilteroptions) — List a live public filter's options
