Skip to main content
POST
/
query
/
_mpl
cURL
curl --request POST \
  --url https://{axiom-domain}/v1/query/_mpl \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "endTime": "<string>",
  "startTime": "<string>",
  "mpl": "<string>"
}
'
{}
Support for MPL queries is currently in public preview. For more information, see Feature states.
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 deploymentBase 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.

Authorizations

Authorization
string
header
required

Authenticate using an API token or personal access token (PAT). Include the token as a Bearer token: Authorization: Bearer <token>. For more information, see Tokens.

Query Parameters

format
enum<string>

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

Available options:
metrics-v1,
metrics-v2

Body

application/json
endTime
string
required

End time for the query range

startTime
string
required

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)

mpl
string

The MPL query.

Response

MetricsResult

Metrics query result (streaming binary data)