Overview

Get metric tag values for a dataset

Get metric tag values for a dataset.

Use this endpoint to query data from a specific edge deployment. The data you query must be stored in the edge deployment where you query it. For more information, see Query data and Edge deployments.

The base domain for this endpoint is the base domain of the edge deployment where you want to query data.

Edge deployment Base domain for ingest and query
US East 1 (AWS) us-east-1.aws.edge.axiom.co
EU Central 1 (AWS) eu-central-1.aws.edge.axiom.co

This endpoint only supports API tokens. Personal access tokens (PATs) aren't supported. For more information, see Tokens.

GET/v1/query/metrics/info/datasets/{dataset}/metrics/{metric}/tags/{tag}/values
Features

Send the token in the Authorization: Bearer API_TOKEN header. See Tokens for which token types this endpoint accepts.

Input5
Authorizationheaderrequired
Sent from your browser straight to the API — never to Docsbook, never stored.
datasetstring · pathrequired
(path) The dataset to retrieve metric tag values from
metricstring · pathrequired
(path) The metric name to retrieve tag values for
tagstring · pathrequired
(path) The tag name to retrieve values for
startstring · queryrequired
(query) Start time for timeframe to return (RFC3339 format)
endstring · queryrequired
(query) End time for timeframe to return (RFC3339 format)
Responses
200Tag values for the specified metric and tag
404Dataset, metric, or tag not found
defaultUser or system error
Example input
curl 'https://AXIOM_DOMAIN/v1/query/metrics/info/datasets/{dataset}/metrics/{metric}/tags/{tag}/values?start=<start>&end=<end>' \
  -H 'Authorization: Bearer API_TOKEN'
Example output
[
  "string"
]

Updated

Was this page helpful?