Run MPL query to edge deployment

POST/v1/query/_mpl

Parameters #

PropertyTypeLocationDescription
formatstringqueryResponse format. If omitted, the Accept header is used for content negotiation. Defaults to metrics-v2 when neither is specified.

Body #

application/json
PropertyTypeDescription
endTimestringRequiredEnd time for the query range
mplstringThe MPL query.
startTimestringRequiredstart and end time for the query, these must be specified as RFC3339 strings or using relative time expressions (e.g. now-1h, now-1d, now-1w, etc)

Request #

curl -X POST 'https://{axiom-domain}/v1/query/_mpl' \
  -H 'Authorization: Bearer API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"endTime":"string","mpl":"string","startTime":"string"}'
Try itRun this request against your Axiom organization

Credentials stay in this browser tab and are only sent to Axiom when you run the request.

Response #

200MetricsResult
application/json
defaultUser or system error
application/json