Skip to main content
GET
List Prometheus label values

Authorizations

app_key
string
query
required

App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.

Headers

X-DSID
string
required

Data source ID to query. Must reference a Prometheus-compatible data source owned by the authenticated account.

Path Parameters

label_name
string
required

Label name to enumerate values for, for example job.

Response

Native Prometheus label-values response returned by the data source.

Native Prometheus HTTP API response returned by the queried data source. This endpoint does not wrap the payload in the Flashduty response envelope.

status
enum<string>
required

Prometheus result status. success carries data; error carries errorType and error.

Available options:
success,
error
data
string[]

Label values, present when status is success.

One label value.

errorType
string

Prometheus error class, present when status is error.

error
string

Human-readable Prometheus error message, present when status is error.