Get credit balance
Credits
Get credit balance
Check how many Markifact credits your team has left in the current billing period.
GET
Get credit balance
Returns your team’s credit position for the current billing period. This is the endpoint to poll if you want to alert before your team runs out.
To see what consumed the credits, use List credit logs.
Endpoint
Example Request
Response
Fields
credits_remaining can be negative. A run that overshoots the remaining balance is not rolled back mid-execution, so a team can finish a period slightly below zero.Alerting Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Balance returned.
Credits included in the plan for the current period.
Credits consumed so far this period.
credits_limit minus credits_used. Can be negative: a run that overshoots is not rolled back.
Current plan.
When the period ends and usage resets, in Unix seconds.

