Skip to Content
Developers
API ReferenceAccount

Key credit balance, rate-limit ceilings, and rolling 30-day usage summary (0 credits).

GET
/api/v1/in/account/usage

Authorization

BearerAuth
headerAuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>

Response Body

Key balance and usage summary

application/json
  1. response
api_key_id*string
Formatuuid
key_env*string
Value in"live""test"
credits_remaining*integer
tier_b_daily_remaining?integer
rate_limits*
rolling_30d*
Example Request
curl -X GET 'https://api.vidhi.shamik.app/api/v1/in/account/usage'
Example Response
{  "api_key_id": "b0dd218e-3bcf-4bdb-a1e3-0689d60a8afd",  "key_env": "live",  "credits_remaining": 0,  "tier_b_daily_remaining": 0,  "rate_limits": {    "tier_a_rpm": 0,    "tier_a_rpd": 0,    "tier_b_rpm": 0,    "tier_b_daily_cap": 0,    "tier_b_max_concurrent": 0  },  "rolling_30d": {    "total_requests": 0,    "total_credits_charged": 0,    "total_credits_refunded": 0  }}