Xerg has two related JSON outputs:Documentation Index
Fetch the complete documentation index at: https://xerg.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
xerg audit --jsonreturns the local audit summary including recommendationsxerg audit --push --dry-runandxerg push --dry-runreturn the push payload that would be sent to the Xerg API
@xerg/schemas.
Audit summary JSON
recommendationsare part of the audit summary itselfsourceFilesanddbPathare present here because this is the local summary formatcomparisonisnullunless a compatible baseline was foundspendByDayandwasteByDayuse UTCYYYY-MM-DDbuckets- Cursor CSV audits also add local-only
pricingCoverageandcursorUsagefields
Multi-source JSON
sources wrapper.
Push payload JSON
Preview the push payload without sending it:- the push payload does not include
sourceFilesordbPath - in payload v2, the push payload does include
recommendations - the push payload now includes daily spend and confirmed waste rollups for charting
audit --push --dry-runprints only the payload, not the normal audit reportmeta.environmentislocal,remote, orrailwaydepending on how the audit was run
Wire schema notes
The push payload is a mapped wire contract, not a raw dump of the internal local summary.AuditPushPayloadis the top-level type sent by the CLIWireFindingintentionally excludes internaldetailsWireComparisonincludes the top-line delta fields only- per-workflow deltas and per-model deltas are not part of the push payload
summary.recommendationsis part of payload version2
When to use which JSON
- use
audit --jsonfor local automation that needs recommendations or source metadata - use
--push --dry-runwhen you want the exact wire payload that would be sent to the API