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/models if you want to explain why some models cost more
Docs Assistant
I’m here to help with NavyAI docs. Ask about endpoints, auth, models, request bodies, or integration details.