Get the organization's plan
GET
/v1/organization/planAuthorization
AuthorizationBearer token · headerrequiredResponses
200The plan, and how much of each resource the organization holds against it.
allowancesAllowanceBody[]requiredOne for every resource a plan can cap, capped or not.
Show propertiesHide properties
Array of
AllowanceBodymaxinteger<int32> | nullrequiredThe most the plan allows, or `null` where it does not cap this.
resourcePlanResourceBodyrequiredA resource a plan may cap.
Allowed:
workspacesagentsvaultsskillsfunctionsapi_keysmodel_providerssessionsmembersusedinteger<int64>requiredHow many the organization holds, counted as a creation's check counts
them. It can exceed `max` after a move to a smaller plan: what is held
is kept, and only the next creation is refused.
descriptionstring | nullrequireddisplay_namestring | nullrequiredslugstringrequired401Missing, malformed, or invalid bearer token.
errorErrorDetailrequiredWhat went wrong: a `code` to branch on and a `message` to show. The
message is written for a person and may change; the code will not.
Show propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired