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.
Comments
Similar requests
Add an "Access Tokens" link to the profile dropdown in the dashboard
1 vote · 0 comments
PAT security vulnerability for MCP - prod access
2 votes · 0 comments
Organization billing-read API for third-party OAuth apps
1 vote · 0 comments
Team scoped access tokens for automation (eg: Terraform, GHA)
1 vote · 0 comments
Project Scoped Access for Teams plan
1 vote · 0 comments
No comments yet.