Skip to main content
GET
Read the plan's usage
Takes a managing key (oc_key_...) or a signed-in session. See Editions for what OneCLI Cloud adds. What the organization uses of its plan: resources and credits. null is no limit. Hosted only.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Response

The usage.

credits
object
required
organizationId
string
required
organizationName
string
required
plan
enum<string>
required
Available options:
free,
developer,
pro,
pro-credits,
team,
team-legacy,
scale,
enterprise,
aws-marketplace
resources
object[]
required