---
title: "Get Token Usage"
method: GET
path: "/api/usage/token/"
tags: ["Usage"]
---

# Get Token Usage

`GET /api/usage/token/`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/usage/token/`
- Auth: HTTP bearer

## Response `200`

OK

- ResponseDtoTokenUsageData: Response_dto.TokenUsageData schema
  - `data` TokenUsageData, required
    - `expires_at` integer, required
    - `model_limits` object, nullable, required
    - `model_limits_enabled` boolean, required
    - `name` string, required
    - `object` string, required
    - `total_available` integer, required
    - `total_granted` integer, required
    - `total_used` integer, required
    - `unlimited_quota` boolean, required
    - `user_quota` TokenUserQuota
      - `total_available` integer, required
      - `total_used` integer, required
  - `message` string, required
  - `success` boolean, required

## Changes

- **2026-10-16** `8b4ed85bf702`: 2 info
  - added the optional property `data/user_quota` to the response with the `200` status (media type: application/json)
  - added the optional property `data/user_quota` to the response with the `200` status (media type: application/xml)

[Operation history](https://skmtc.dev/unorouter/apis/new-api/changes/api/usage/token/get.md)

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
