Skip to main content
GET
/
metrics
/
labels
List metric labels
curl --request GET \
  --url https://v1.api.altostrat.io/metrics/labels \
  --header 'Authorization: Bearer <token>'
[
  "site_id",
  "interface",
  "job"
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

start
integer

Unix timestamp for the beginning of the discovery window. Defaults to one hour ago.

end
integer

Unix timestamp for the end of the discovery window. Defaults to now.

Response

Label names.

Example:
["site_id", "interface", "job"]