Billing Metrics
SCBE-AETHERMOORE uses lightweight tenant metering for billable usage reporting.
Metered metrics
Daily usage is stored as (tenant_id, date, metric_name, count) for these metric names:
governance_evaluations- Incremented once per successful
/v1/authorizerequest. - Represents a single governance evaluation through the 14-layer pipeline.
- Incremented once per successful
workflow_executions- Incremented once per successful
/v1/fleet/run-scenariorequest. - Represents execution of one fleet workflow scenario.
- Incremented once per successful
audit_report_generations- Incremented once per successful
/v1/audit/reportrequest. - Represents generation of an audit summary report for a tenant.
- Incremented once per successful
Monthly billable usage exports
Two internal mechanisms are available:
- API endpoint:
GET /v1/internal/billing/monthly-usage?year=YYYY&month=MM- Returns tenant monthly totals by metric.
- By default, results are scoped to the authenticated tenant.
- Use
include_all_tenants=truefor cross-tenant finance exports.
- Report command:
python scripts/export_monthly_billable_usage.py --year 2026 --month 1 --pretty
Optional tenant scope:
python scripts/export_monthly_billable_usage.py --year 2026 --month 1 --tenant-id tenant_0 --pretty