Run MPL query to edge deployment
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
format | string | query | Response format. If omitted, the Accept header is used for content negotiation. Defaults to metrics-v2 when neither is specified. |
Body #
application/json| Property | Type | Description |
|---|---|---|
endTime | stringRequired | End time for the query range |
mpl | string | The MPL query. |
startTime | stringRequired | start 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 #
200MetricsResultdefaultUser or system error