Get rate-limit usage
Changed onUsage limits are returned only for an organization on a paid plan tier with an active subscription: per authenticated principal on Teams, per organization on other paid tiers. Overage preference and extra usage balance belong to the organization. Extra usage details, and preferences other than droidCore, are returned only to Managers and above.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
True exactly when limits is present.
Whether the organization has an enterprise plan or an active subscription.
Present only for an organization on a paid plan tier with an active subscription.
What happens when the standard pool is used up: extraUsage spends prepaid extra usage, droidCore falls back to Droid Core models. With limits, an unset preference reads as droidCore; without, as null. Callers who cannot manage overage see null for any value other than droidCore.
True for Managers and above.
Prepaid extra usage balance in cents. Present only with limits, and only when canManageOverage is true.
Whether the organization has an active subscription that is not in a free trial. Present only when canManageOverage is true.
Changes
- info
endpoint added
- info