Subscription

Get Credit Balance

Changed on

Remaining credits and entitlement for the caller's org.

Answers even when the org is out of credits: that is exactly when a caller needs it.

get/v1/subscription/credit-balance

Request

  • Base URL
    https://api.getbluejay.ai
  • URL
    https://api.getbluejay.ai/v1/subscription/credit-balance
  • Auth
    HTTPBearer (a scheme the document does not define)

Headers

X-Organization-Idstring
X-API-Keystring required

API key required to authenticate requests.

Response

Successful Response

meteredboolean required

Whether the org bills through Metronome; false means credits do not apply

entitledboolean required

Whether the org may currently spend (false once out of credits with no overages)

grantednumber nullable

Credits granted across active grants. Null when the org is not metered.

usednumber nullable

Credits used against those grants. Null when the org is not metered.

remainingnumber nullable

Credits still available. Null when the org is not metered.

Changes