Widgets
A widget is a single element in a dashboard. To see the full list of widgets, check out the this list.
Widget fields
cache
object
requiredThe cache identifier associated with the widget as a json object. This object is a config object for the chart.js library.
code
string
requiredThe code or script related to the widget.
dashboard
string
The identifier or name of the dashboard associated with the widget.
id
string
The unique identifier for the widget.
query
string
requiredThe query or question posed by the widget.
team
string
The identifier or name of the team to which the widget belongs.
messages
array
requiredThe output or result of the question.
settings
object
All the settings for the current widget
title
string
requiredThe title or name of the widget.
h
number
requiredThe height of the widget.
w
number
requiredThe width of the widget.
x
number
requiredThe x-coordinate position of the widget on the dashboard.
y
number
requiredThe y-coordinate position of the widget on the dashboard.