Models Hub
API ReferenceToken Management

Get token usage

Get the usage of an API token.

Edit this page
GET
/api/usage/token/

Authorization

AuthorizationBearer <token>

Authenticate using an Authorization Bearer API Key.

In: header

Query Parameters

token_name?string

Token name.

token_id?integer

Token ID.

Response Body

application/json

curl -X GET "https://example.com/api/usage/token/"
{
  "success": true,
  "message": "string",
  "data": null
}