Skip to content

Run stored widgets within the link's allowed times and variables; logs and traces are denied. The saved zone and default resolution apply. Monitor URLs are removed from results.

POST
/public/dashboards/{token}/query
curl --request POST \
--url https://api.siteqwality.com/public/dashboards/example/query \
--header 'Content-Type: application/json' \
--data '{ "time": { "from": "example", "to": "example" }, "timezone": "example", "variables": { "additionalProperty": [ "example" ] }, "widget_ids": [ "example" ], "max_points": 1 }'
token
required
string

The link token

Media type application/json
object
time
required

A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved when the query is compiled, so a stored view stays rolling.

object
from
required
string
to
required
string
timezone
string | null
variables
object
key
additional properties
Array<string>
widget_ids
required
Array<string>
max_points
integer | null format: int32
Example generated
{
"time": {
"from": "example",
"to": "example"
},
"timezone": "example",
"variables": {
"additionalProperty": [
"example"
]
},
"widget_ids": [
"example"
],
"max_points": 1
}

One result per widget, in the order asked

Media type application/json
object
now
required
string format: date-time
results
required
Array<object>
object
id
required
string
status
required
string
Allowed values: ok error timeout denied
error
string | null
window
One of:
null
approximate
required
boolean
warnings
required
Array<string>
data
One of:
null
Example
{
"results": [
{
"status": "ok",
"data": {
"series": [
{
"unit": "ms"
}
],
"events": [
{
"kind": "incident"
}
],
"kind": "timeseries"
}
}
]
}

A widget, time range or variable value the link does not offer

The link is not available

Too many requests

Internal server error