Documentation
Usage Statistics
GET /v1/usage gives you your current usage view for tokens and request activity.
Use it when
- You need account-level usage numbers in your app
- You want to warn users before they hit plan limits
- You are building your own lightweight usage dashboard
Code examples
1curl https://api.navy/v1/usage \
2 -H "Authorization: Bearer sk-navy-YOUR_KEY"Notes
- Cache usage responses briefly instead of hammering the endpoint
- Pair usage with
GET /v1/modelsif you want to explain why some models cost more