axiom.getSavedQuery retrieves one saved APL query. The result includes its query text, time range, metadata, dataset hint, and owner.
automations/axiom-get-saved-query.automation.ts
Input
savedQueryId is required and selects one saved query.
Output
Returnsid, name, kind: "apl", string metadata, who, the complete query request, and the optional dataset hint.
Permission and failures
The API token needs the dataset-levelstarredQueries|read capability. Axiom returns an error when the saved query does not exist or the token cannot access it.