Agency owner/admin
GET/api/v3/organizations/:organization/clients/billing
Agency owner/admin: billing per client workspace for the agency's billing period (?period=current|previous; calendar month while billing is off): period, agency { usage_usd, billed_usd }, billed_total_usd, can_change_mode (owner), clients [{ id, name, status, billing_mode self|agency, spending_cap_usd, usage_usd, billed_to_agency_usd }]. ?format=csv downloads the same rows
Request
Responses
- 200
- 403
- 404
JSON, or text/csv
Not owner/admin
Not an agency you run