POST /query/_apl?format=tabular
Changed onRuns an APL query against datasets in this edge deployment and returns the result in the requested format. Returns 429 when an organization, token, or user 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
when saveAsKind is true, this parameter indicates the id of the associated dataset
contains the source of the APL query (for example console, dashboard, etc.)
contains the id of the source, for example dashboard_id
Include a totals table (only supported in MetricsDB)
Request body
Response
Query result in the requested format.
APL query result (streaming binary data)
Changes
- warning
the optional response header
X-QueryLimit-Limitremoved for the status200 - warning
the optional response header
X-QueryLimit-Remainingremoved for the status200 - warning
the optional response header
X-QueryLimit-Resetremoved for the status200 - info
added the non-success response with the status
- warning