---
title: "Get User Quota Dates"
method: GET
path: "/api/data/self"
tags: ["Data"]
---

# Get User Quota Dates

`GET /api/data/self`

## 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/data/self`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Query parameters

- `start_timestamp` integer
- `end_timestamp` integer

## Response `200`

OK

- ResponseArrayModelQuotaData: Response_Array-model.QuotaData schema
  - `data` QuotaData[], nullable, required
    - `cache_creation_tokens` integer, required
    - `cache_read_tokens` integer, required
    - `channel_id` integer, required
    - `count` integer, required
    - `created_at` integer, required
    - `id` integer, required
    - `model_name` string, required
    - `node_name` string, required
    - `quota` integer, required
    - `token_id` integer, required
    - `token_used` integer, required
    - `use_group` string, required
    - `user_id` integer, required
    - `username` string, required
  - `message` string, required
  - `success` boolean, required

## Changes

- **2026-10-29** `cce00298fee5`: 4 info
  - added the required property `data/items/cache_creation_tokens` to the response with the `200` status (media type: application/json)
  - added the required property `data/items/cache_creation_tokens` to the response with the `200` status (media type: application/xml)
  - added the required property `data/items/cache_read_tokens` to the response with the `200` status (media type: application/json)
  - added the required property `data/items/cache_read_tokens` to the response with the `200` status (media type: application/xml)

[Operation history](https://skmtc.dev/unorouter/apis/new-api/changes/api/data/self/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)
