Get a paginated list of API tokens for the current user
/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.1 is the recommended starting page| 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 |