Skip to main content
GET
Retrieve a widget

Authorizations

X-BRONTO-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required

Widget ID

Response

Widget successfully retrieved

A widget. A group widget contains other widgets (widget_ids, positioned by layout); every other widget type gets its data from sources. A widget never has both sources and widget_ids.

id
string<uuid>
required
name
string
required

The name of the Widget.

Example:

"5xx errors by service"

type
enum<string>
required

The type of the Widget.

Available options:
area,
bar,
donut,
events-list,
geomap,
group,
line,
pie,
score,
table,
top-list,
treemap
sources
object[]
required

The metrics, monitors, SLOs and saved searches that supply data to the widget, in display order. Empty for group widgets.

Example:
display
object
required

Display options. Each applies only to some widget types and is ignored by the others, so setting one on a widget type that does not use it has no effect. Fields that are not set are omitted, and clients apply their own defaults.

sort
object
required

How the widget orders its series or rows, for widget types that sort (e.g. top-list, table). It decides which rows a widget limited to its top entries shows. Ignored by widget types that do not sort. Fields that are not set are omitted, and the defaults apply.

aux
object
required

Additional widget configuration

description
string

A description of the widget

Example:

"This widget shows the 5xx errors by service"

metric_ids
string<uuid>[]
deprecated

Deprecated on 2026-10-12 and will be removed on 2027-10-12: use sources. Contains only the IDs of sources entries whose type is metric.

widget_ids
string<uuid>[]

The child widget IDs of a group widget. Empty for all other widget types.

metric_labels
object

Display labels for the widget's metrics, keyed by metric ID

layout
object

The positions of the child widgets of a group widget, keyed by child widget ID. widget_layouts is empty for all other widget types.

Example:
tags
object

A map of key value pairs associated with the resource

Example:
template
object
metadata
object

Common metadata attached to all persisted resources.