Skip to main content

Get the org-wide counts the plan caps are enforced against

GET 

/api/v1/organizations/current/resource-usage

Return how many projects, API keys and webhooks the org has.

Any org member may call this, like billing-summary and for the same reason: the project quota meter renders on the dashboard, where the lowest role that can create a project is manager.

These are counts of the org, not of what the caller can see. That is the whole point — a client comparing its own visible list against an org-wide cap tells a manager they have room they do not have, and hides the wall from the person who is about to hit it.

  • API-key scope required: org:read.

Responses

Successful Response