Skip to content

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.

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

Retrieve the billing status and plan details for the active account:

Terminal window
ayx one billing current-account

Add --profile <name> to target a non-default workspace:

Terminal window
ayx one billing current-account --profile prod

Export usage records. Useful for cost reporting, chargebacks, or tracking consumption trends:

Terminal window
ayx one billing usage-export

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:

Terminal window
ayx one doctor billing

See Diagnostics for the full doctor command set.

Pass --output json for structured output. --output is a global flag, so it can appear before or after the subcommand:

Terminal window
ayx --output json one billing current-account
ayx --output json one billing usage-export

The envelope is { ok, message, timestamp_utc, data } on success; failures also include error_code.