Create billing rule
Create a BillingRule. MSP rules apply to managed accounts. Rules on any other account apply to that account’s own costs. Managed accounts cannot manage billing rules. Requires the Owner, Integration Owner, or Manager role.
Authorizations
Body
Create a BillingRule. MSP rules apply to managed accounts. Rules on any other account apply to that account's own costs. Managed accounts cannot manage billing rules. Requires the Owner, Integration Owner, or Manager role.
Limits an adjustment to costs from one provider. Use the provider key, for example aws, azure, azure_csp, or mongo. Omit it to include every provider. Send an empty string when updating to remove the limit.
aws, azure, gcp, snowflake, databricks, mongo, datadog, fastly, new_relic, opencost, open_ai, oracle, confluent, planetscale, coralogix, kubernetes, custom_provider, github, linode, grafana, clickhouse, temporal, twilio, azure_csp, kubernetes_agent, anthropic, anyscale, cursor, elastic, vercel, redis_cloud, circle_ci, modal, eleven_labs, baseten, cloudflare, fireworks_ai, cartesia, depot, xai, digital_ocean, together_ai, coreweave, devin, openrouter, deepgram, crusoe, sentry_billing, ramp, dynatrace, cockroachdb_cloud, telnyx, zilliz, heroku, launchdarkly, gitlab, scaleway The dataset for a custom SQL rule. Use costs for Vantage cost data or aws for the raw AWS Cost and Usage Report. When omitted on create, the dataset is taken from the SQL. When a SQL query is updated without a dataset, the table in the query selects it. Inserts are supported for costs only.
aws, costs Response
BillingRule model