GET
/api/user/creditsbearer tokenCheck your credit balance
Every model call, image and connector request is metered in credits. This is where you see what is left and what spent it.
Try it
curl "https://storkie.ai/api/user/credits" -H "Authorization: Bearer YOUR_TOKEN"No Run button: this needs your bearer token, and a docs page that asks for one is teaching people to paste credentials into web forms.
Query parameters
No parameters.
Response
| Name | Type | Description |
|---|---|---|
balancerequired | number | Credits remaining. |
transactions | array | Recent debits and top-ups. |
Rate limit
By account
Errors
401β Missing or invalid token.