FeatureFuel
1

Allow scoped access tokens to read organization usage (read-only)

Source: supabase/supabase#54399 · opened by @acattelan-gav
We are on the Pro Plan with the spend cap on, and several projects share the organization quotas. We want to get an alert before a quota is reached (egress, MAU, log ingestion), because the spend cap only notifies the billing email once the quota has already been exceeded. The organization usage shown on the Usage page comes from an internal endpoint (/platform/organizations/{slug}/usage). It is not available in the public Management API, and no scoped personal access token permission covers it. Today the only way to automate this check is a classic token, which has full access to every project in the organization. That is too much for a monitoring job. Request: • a Management API endpoint for organization usage per billing cycle: per metric, used vs. included, and ideally per project and per day; • a read-only scoped token permission (for example "Organization usage: Read") that grants only that. What we tried as a workaround: summing node_network_transmit_by…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests