Get Own Usage (Sub-Key Self-Service)
Sub-API Keys
Get Own Usage (Sub-Key Self-Service)
Allows a sub-key to check its own credit status without exposing the admin key to the sub-key holder.
GET
Get Own Usage (Sub-Key Self-Service)
This endpoint is authenticated with the sub-key itself, not the admin key. It is intended for scenarios where sub-key holders need to monitor their own remaining credits programmatically.
Authenticating with an admin key returns 403 Forbidden. Use
GET /v1/api-keys/sub-keys/{key_id}/usage with the admin key to inspect a specific sub-key’s status.