List Tokens
API Key & Console Management
List Tokens
Get a paginated list of API tokens for the current user
GET
List Tokens
Documentation Index
Fetch the complete documentation index at: https://docs.crazyrouter.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Retrieve all API tokens created by the current user, with pagination support.The
/api/token/* endpoints are mainly for Crazyrouter dashboard automation around API key management. They require a user access token plus the New-Api-User header, and are not the normal interface for sk-xxx model calls.Authentication
Authenticate using the user’s access token with the following headers:Request Parameters
Page number. The backend accepts older styles too, but
1 is the recommended starting pageItems per page, maximum 100
Response Format
Field Descriptions
| Field | Type | Description |
|---|---|---|
id | int | Token ID |
key | string | API key in sk-xxx format |
status | int | Status: 1=enabled, 2=disabled |
name | string | Token name |
expired_time | int | Expiration timestamp, -1 means never expires |
remain_quota | int | Remaining quota |
unlimited_quota | bool | Whether quota is unlimited |
used_quota | int | Used quota |
model_limits_enabled | bool | Whether the model whitelist is enabled |
model_limits | string | Model restriction config string |
allow_ips | string | IP whitelist string |
group | string | Group |