Skip to main content
GET
List Prometheus label values

Restrictions

Usage

  • Pass the target data source in the X-DSID header. It must be a Prometheus-compatible data source owned by the authenticated account; use /monit/datasource/list to obtain its ID.
  • The 200 body is the data source’s native Prometheus HTTP API payload, not the standard { request_id, data } envelope. Failures raised before the data source is reached are returned as text/plain with the matching 4xx or 5xx status.
  • When X-DSID is omitted, the request falls back to the platform’s own Prometheus proxy. Send the header to query a specific data source.

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.