Skip to main content
GET
cURL
Returns the entity’s settings and where it stands in the customer’s current billing period (periodStart to periodEnd):
  • availableCredits: what it can spend now, its allowance left plus the shared credits it may still draw under its cap.
  • allowanceRemaining: its own allowance left, after what its reservations hold.
  • periodUsage: shared credits and overage it drew this period.
  • capRemaining: shared credits it may still draw (null without a cap), after what its reservations hold.
  • heldCredits: what its active reservations hold.
Without a plan, the period is a month counted from the entity’s creation. An unknown or deleted entity returns 404 entity_not_found. Needs the Customers permission at Read.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

entityId
string
required

Your ID for the user, seat or workspace.

Required string length: 1 - 255

Query Parameters

customerId
string
required

Your ID for the customer, such as your user ID.

Required string length: 1 - 255

Response

The entity's settings and balance

entityId
string
required
customerId
string
required
name
string | null
required
allowanceCredits
integer | null
required
capCredits
integer | null
required
Required range: x >= 0
createdAt
string<date-time>
required
availableCredits
integer
required

What the entity can spend now: its allowance left, plus the shared credits it may still draw under its cap.

Required range: x >= 0
allowanceRemaining
integer
required

Its own credits left this period, after its locks' holds: its allowance and the credits of any license seat it holds. 0 without either.

Required range: x >= 0
periodUsage
integer
required

Shared credits and overage it drew this period. Its allowance doesn't count.

Required range: x >= 0
capRemaining
integer | null
required

Shared credits it may still draw this period, after its locks' holds. Null without a cap.

Required range: x >= 0
heldCredits
integer
required

Credits its active locks hold.

Required range: x >= 0
periodStart
string<date-time>
required
periodEnd
string<date-time>
required
plans
object[]
required

The plans attached to the entity (POST /v1/billing/attach with entityId), its own grants and lifecycle, billed on the customer's bill.

seats
object[]

The license seats it holds, by seat plan (POST /v1/licenses/assign). Always sent.