query
POST /query/_mpl
Changed onRuns an MPL query against metrics datasets in this edge deployment. The response format follows the format parameter or the Accept header and defaults to metrics-v2. Returns 429 when a query cost limit is exhausted.
Request
- Base URLhttps://{axiom-domain}/v1
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesquery|read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
format'metrics-v1' | 'metrics-v2' | 'metrics-v3' | 'metrics-v4'
Response format. If omitted, the Accept header is used for content negotiation. Defaults to metrics-v2 when neither is specified.
Request body
Response
Query result in the requested format.
Metrics Result required
Metrics query result (streaming binary data)
Changes
- warning
removed the optional property
from the response with the status - info
added the new enum value
metrics-v3to thequeryrequest parameterformat - info
added the new enum value
metrics-v4to thequeryrequest parameterformat - info
added the non-success response with the status
- info
added the optional property
to the response with the status
- warning