v1

latestOpenAPI 3.1.02026-07-223261135.0 KB
credits

Get Credits

Get the current credit balance for your account.

get/credits

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Response

Successful Response

credits_remaininginteger nullable

Current credit balance. Null if the billing service is unavailable or billing is not enabled for this account.

planstring required

Current billing plan identifier (e.g. 'free', 'paid', 'ultra', 'enterprise'). Returns 'unlimited' when billing is not enabled.

credits_limitinteger nullable

Total credit allowance for the current billing period. Null if billing is not enabled.

credits_reset_datestring nullable

ISO 8601 date when credits reset for the current billing period. Null if billing is not enabled or reset date is unavailable.