Billing

Get organization billing state

Returns balance, tier, lease expiry, and auto-recharge config for an organization. Requires an admin key or an authenticated SIWX/control-plane-session principal with an active org role of billing or higher.

get/orgs/v1/{org_id}/billing

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/orgs/v1/{org_id}/billing
  • Auth: one of:
    • API key in header SIGN-IN-WITH-X
    • HTTP bearer
    • API key in header x-admin-key

Path parameters

org_idstring required

Organization UUID

Response

Organization billing state

org_idstring required
allowance_usd_microsinteger required
email_credits_remaininginteger required
tierunknown required
lease_expires_atstring date-time required
auto_recharge_enabledboolean required
auto_recharge_thresholdinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.