Skip to main content
axiom.queryData runs APL against events, logs, or traces and returns Axiom’s v1 tabular result. The result includes datasetNames, tables, and query status such as elapsedTime, isPartial, row counts, cursors, and scanned-block metadata. The time window defaults to now-30m through now.
automations/axiom-query-data.automation.ts

Inputs

Optional inputs include pagination cursor, positive defaultLimit, defaultOrder, cursor-field flags, libraries, variables, and queryOptions. Query options control cache, statistics, tracing, priority, resolution, series and data-point limits, null display, interpolation, aggregation, shown columns, and time-series presentation. Automate.ax adds no defaults for these options.

Output

Returns a tabular result with datasetNames, format: "tabular", tables, and query status. Status includes elapsed time, partial and estimate flags, examined and matched rows, block bounds, group count, cache status, cursors, continuation token, and provider messages when present. Each table describes its fields, groups, order, sources, columns, range, and optional buckets.

Permission and failures

The API token needs the dataset-level query|read capability for every dataset referenced by the query. Axiom rejects invalid APL, inaccessible datasets, and invalid time or query options. A partial result has status.isPartial: true; inspect its status and messages before treating it as complete. Request-rate limits return 429, exhausted query-cost limits return 430, and queries that exceed memory constraints can return 432. Automate.ax uses Axiom’s reset timing when available.