A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses
read_branch, delete_branch, create_branch, connect_production_branch, connect_branch
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | read_branches |
| Database | read_branches |
| Branch | read_branch |
The access token received from the authorization server in the OAuth 2.0 flow.
Organization name slug from list_organizations. Example: acme.
Database name slug from list_databases. Example: app-db.
Branch name from list_branches. Example: main.
The ID of the traffic budget
Returns the traffic budget
The ID of the traffic budget
The name of the budget
The mode of the budget
enforce, warn, off When the budget was created
When the budget was updated
The maximum capacity that can be banked, measured as a percentage of seconds of full server usage (0-6000). Unlimited when not set.
The rate at which capacity refills, as a percentage of server resources (0-100). Unlimited when not set.
The maximum capacity a single query can consume, measured as a percentage of seconds of full server usage (0-6000). Unlimited when not set.
The percentage of available worker processes this policy can use (0-100). Unlimited when not set.
A percentage of capacity, burst, or concurrency thresholds to emit warnings for enforced budgets (0-100).