Skip to main content
PUT
Update a widget

Authorizations

X-BRONTO-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required

The unique identifier of the widget to update

Body

application/json
name
string
required

The widget name

Required string length: 1 - 255
Example:

"5xx errors by service"

type
string
required

The widget type

Required string length: 1 - 64
Example:

"treemap"

description
string

The widget description

Required string length: 1 - 1024
Example:

"This widget shows the 5xx errors by service"

display
object

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

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

Additional widget configuration

sources
object[]

The metrics, monitors, SLOs and saved searches that supply data to the widget, in display order. Used by every widget type except group. Cannot be combined with metric_ids or widget_ids.

Maximum array length: 20
Example:
metric_ids
string<uuid>[]
deprecated

Deprecated on 2026-10-12 and will be removed on 2027-10-12: use sources with type: metric. Requests using this field receive Deprecation and Sunset response headers. Each ID is stored as {type: metric, id}. Cannot be combined with sources or widget_ids.

Maximum array length: 20
widget_ids
string<uuid>[]

The child widget IDs of a group widget. Required for group widgets and must be omitted for all other widget types. Cannot be combined with sources or metric_ids.

Maximum array length: 50

Response

Widget successfully updated