axiom.vacuumDataset queues removal of field definitions absent from retained data. It does not delete retained events and returns null after Axiom accepts the request.
automations/axiom-vacuum-dataset.automation.ts
Inputs
datasetName is required and accepts the dataset name or ID to vacuum.
Output
Returnsnull after Axiom queues the vacuum request. A successful response does not mean vacuuming is complete; processing can take several hours.
Permission and failures
The API token needs the dataset-levelvacuum|update capability for the target dataset. Axiom can return 429 when too many vacuum requests are in progress. Missing or inaccessible datasets also fail, and the mutation is not retried automatically after an ambiguous provider response.