User

Here you will find all the endpoints that allow you to know more about your credit usage.


GET/v1/user/balance

Get credits balance

This endpoint allows you to know how many credits do you have in real time and how many credits do you have already used.

Request

GET
/v1/user/balance
curl -G https://api.jarside.ai/v1/user/balance \
  -H "Authorization: Bearer {token}"

Response

{
    "balance": 9995,
    "total_credits_used_on_last_7_days": "5",
    "total_credits_used": "5",
    "info": "You can buy credits from this page: https://app.jarside.ai/buy/credits"
}