(EXPERIMENTAL) Summarize a dashboard
Note: This API is an experimental and is going to change. Please, use it accordingly. Generates a natural-language summary of a dashboard's visualizations, optionally scoped by an explicit filter context.
path Parameters
workspace_idstring · required
Request Body
dashboardIdstring · minLength: 1 · required
filterContextAFM filters in the same shape consumed by the AFM execute endpoint, merged on top of each visualization's stored filters using the type-aware merge rules. Omit or send
nullto fall back to the dashboard's saved filter context. Send[]to explicitly apply no request filters.formatHinttabIdLocal identifier of the dashboard tab to summarize. When the dashboard has tabs and
tabIdis omitted, the first tab is used (matching the UI's default tab). AtabIdthat does not match any tab'slocalIdentifierreturns 404. SupplyingtabIdfor a dashboard without tabs returns 400. WhentabIdis combined withvisualizations, every supplied visualization must belong to the selected tab; otherwise the request returns 400.visualizations
Responses
Successful Response
filterContextarray · requiredgeneratedAtstring · date-time · requiredsummarystring · requiredvisualizationsExcludedobject[] · requiredvisualizationsIncludedobject[] · required
tabId
(EXPERIMENTAL) Summarize a set of visualizations
Note: This API is an experimental and is going to change. Please, use it accordingly. Generates a natural-language summary of an explicit set of visualizations, which need not belong to any one dashboard. The filter context is required: with no dashboard there is no saved filter context to fall back on.
path Parameters
workspace_idstring · required
Request Body
filterContextarray · requiredAFM filters in the same shape consumed by the AFM execute endpoint, applied to every visualization on top of its stored filters. Send
[]to apply no request filters. Each layer is merged on top of the one below it: attribute, ranking and inline filters are added and all apply together; a date filter replaces the lower layer's date filter on the same date dataset; a measure value filter replaces the lower layer's measure value filter on the same measure.visualizationsarray · minItems: 1 · requiredVisualizations to summarize. They need not belong to any one dashboard. Each item is one placement, and each placement is executed and summarized separately. An item is a visualization ID or an object with
visualizationIdand its ownfilters. A visualization ID gets its stored filters andfilterContextonly. The same visualization can occur more than once.
formatHint
Responses
Successful Response
filterContextarray · requiredgeneratedAtstring · date-time · requiredsummarystring · requiredvisualizationsExcludedobject[] · requiredvisualizationsIncludedobject[] · required
tabId