Usage

Read your usage

The /api/api-keys/{id}/usage endpoint returns per-day call counts and minute totals for the trailing 30 days. Most teams plug it into a chart; here we just print it as a table to keep the sample dependency-free.

Replace key_REPLACE_MEwith the API key's row id (the prefix shown in the dashboard, not the secret value).

curl https://www.vaanilabs.in/api/api-keys/key_REPLACE_ME/usage \
  -H "Authorization: Bearer vv_live_REPLACE_ME" \
  | jq '.daily[] | [.date, .calls, .minutes] | @tsv' -r
Usage rolls up at midnight UTC. For real-time counters use the /api/calls endpoint and aggregate yourself.

Replit and zip downloads are placeholders for now — bucket wiring is tracked as a follow-up.