---
title: "Get token by ID"
method: GET
path: "/api/tokens/{id}"
tags: ["tokens"]
---

# Get token by ID

`GET /api/tokens/{id}`

Returns detailed information about a specific token

## Path parameters

- `id` integer, required

## Response `200`

OK

- object
  - `data` ControllerTokenResponse
    - `accessed_at` string
    - `created_at` string
    - `group` string
    - `id` integer
    - `key` string
    - `models` string[]
    - `name` string
    - `period_last_update_amount` number — Total usage at last period reset
    - `period_last_update_time` string — Last time period was reset
    - `period_quota` number
    - `period_type` string — daily, weekly, monthly, default is monthly
    - `quota` number
    - `request_count` integer
    - `status` integer
    - `subnets` string[]
    - `used_amount` number
  - `message` string
  - `success` boolean

---

[API](https://skmtc.net/labring/apis/ai-proxy-swagger-api.md) · [All operations](https://skmtc.net/labring/apis/ai-proxy-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/ai-proxy-swagger-api/versions/e471487f2a2f/schema)
