Billing
ayx one billing provides read-only access to billing and consumption data for your Alteryx One account. Use it to retrieve current account details or export usage records for cost tracking and chargebacks.
Enterprise tier required. Billing endpoints return 404 on some workspace tiers. Commands are present in all builds but will only succeed on enterprise-tier accounts.
Quick reference
Section titled “Quick reference”| Command | What it does |
|---|---|
ayx one billing current-account |
Fetch current account billing information |
ayx one billing usage-export |
Export usage data for the account |
ayx one doctor billing |
Run a billing health check |
Current account
Section titled “Current account”Retrieve the billing status and plan details for the active account:
ayx one billing current-accountAdd --profile <name> to target a non-default workspace:
ayx one billing current-account --profile prodUsage export
Section titled “Usage export”Export usage records. Useful for cost reporting, chargebacks, or tracking consumption trends:
ayx one billing usage-exportBilling health check
Section titled “Billing health check”ayx one doctor billing runs a targeted check against the billing API. Use it to confirm the billing surface is reachable and returning expected data:
ayx one doctor billingSee Diagnostics for the full doctor command set.
JSON output
Section titled “JSON output”Pass --output json for structured output. --output is a global flag, so it can appear before or after the subcommand:
ayx --output json one billing current-accountayx --output json one billing usage-exportThe envelope is { ok, message, timestamp_utc, data } on success; failures also include error_code.
Related
Section titled “Related”- Diagnostics — full health check suite, including
doctor billing - Alteryx One overview — all
ayx oneareas