#The ChatDisplayMessage is a user-visible chat message for rendering in the UI object
ChatDisplayMessage is a user-visible chat message for rendering in the UI
id
sender
"user" or "assistant"
text
timestamp
Endpoints for managing analytics dashboards with flexible, config-driven widgets. Each widget defines its own data source and visualization.
ChatDisplayMessage is a user-visible chat message for rendering in the UI
id
sender
"user" or "assistant"
text
timestamp
/v1/analytics/dashboardslinkId
Restricts the result to the dashboard scoped to this link. Takes precedence over scope when both are set.
scope
Restricts the result by scope. Unset returns every dashboard.
DASHBOARD_SCOPE_UNSPECIFIEDEvery dashboard in the workspace, link-scoped or not.
DASHBOARD_SCOPE_WORKSPACEOnly the workspace-wide dashboard, the one with no link.
DASHBOARD_SCOPE_LINKOnly dashboards tied to a link.
pageSize
Maximum number to return. Defaults to 100, capped at 1000.
pageToken
Cursor from a previous response's next_page_token. Empty starts at the first page. Pages are ordered by (created_at, id), which never change, so a record cannot move between pages while a client is walking them.
Everything worked as expected.
dashboards
nextPageToken
Cursor to continue listing dashboards. Empty on the last page.
totalCount
How many records exist in total, so a client can tell a complete answer from a page of one. A local-first client reads absence from this list as deletion, and may only do so when the count it was given matches what it received: without that, one page would look like the whole model and everything beyond it would be removed locally.
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.
/v1/analytics/dashboards/{dashboardId}/widgets/{widgetId}/summaryReturns the last generated analysis, and whether the underlying values have changed since.
dashboardId
widgetId
/v1/analytics/dashboardsThis endpoint does not accept any parameters.
config
DashboardConfig is the structured configuration for a dashboard
id
Client-supplied dashboard id. Generated server-side when empty.
linkId
Link to scope this dashboard to. Empty creates the workspace-wide dashboard.
name
Display name. Defaults to "Default Dashboard" when empty.
useDefaultWidgets
Fill a workspace dashboard with the standard starter widgets instead of leaving it empty. For the first dashboard in a workspace, which is created by one click rather than by a conversation. Ignored when config is set or when link_id is set, and hidden from the assistant, which agrees its widgets with the user and would otherwise stack them on top of these.
/v1/analytics/dashboards/{dashboardId}/widgets/{widgetId}/summaryAnalyses the widget's current values and stores the result. Consumes platform credits, so it runs only when requested.
/v1/analytics/dashboards/{id}/v1/analytics/dashboards/{id}Delete a dashboard and its associated assistant conversation.