Skip to main content
axiom.listSavedQueries lists saved APL queries. Each result includes its ID, name, query request, metadata, dataset hint, and owner.
automations/axiom-list-saved-queries.automation.ts

Inputs

This action has no inputs.

Output

Returns an array of saved APL queries visible to the token. Each item includes id, name, kind: "apl", string metadata, who, the complete query request, and an optional dataset hint. No visible saved queries returns [].

Permission and failures

The API token needs the dataset-level starredQueries|read capability. Axiom limits the result to saved queries the token can access. Authentication and permission failures are returned as action errors.