Skip to main content

Get Billing Credits

GET /api/v1/organizations/billing/credits — request parameters and responses from the Menace Voice API schema.
2 min read
get/api/v1/organizations/billing/credits
Request example
Response
get/api/v1/organizations/billing/credits

See authentication for workspace API access. Public embed and artifact endpoints use their documented session or access tokens.

Query parameters

pageinteger#

Default: 1

Range: >= 1

limitinteger#

Default: 50

Range: 1–100

Headers

authorizationstring · null#
X-API-Keystring · null#

Responses

application/json
Successful Response
total_credits_usednumber#

Default: 0

remaining_creditsnumber#

Default: 0

total_quotanumber#

Default: 0

accountobject · null#
Show child attributes
ledger_entriesobject[]#
Show child attributes
idintegerrequired#
entry_typestringrequired#
originstring · null#
Show child attributes
credits_deltanumberrequired#
balance_afternumberrequired#
amount_minorinteger · null#
Show child attributes
amount_currencystring · null#
Show child attributes
payment_order_idinteger · null#
Show child attributes
metric_codestring · null#
Show child attributes
correlation_idstring · null#
Show child attributes
aggregation_keystring · null#
Show child attributes
usage_event_idinteger · null#
Show child attributes
workflow_run_idinteger · null#
Show child attributes
workflow_idinteger · null#
Show child attributes
billable_quantitynumber · null#
Show child attributes
quantity_unitstring · null#
Show child attributes
metadataobject#
created_atstringrequired#
total_countinteger#

Default: 0

pageinteger#

Default: 1

limitinteger#

Default: 50

total_pagesinteger#

Default: 0