Skip to main content
GET
获取单个 KEY 详情

请求参数

请求头(headers)

请求身份认证。接口使用 AIHubMix Manage Key 进行身份认证。
请求内容类型。此参数必须设置为 application/json。

路径参数(Path)

integer
必填
KEY ID。

响应参数

boolean
是否成功。
string
提示信息(可能为空)。请求失败时返回失败原因。
object
Key 详情对象。请求失败时 data 可能为空对象 {}
integer
Key ID。
integer
用户 ID。
string
Key 字符串(用于调用/鉴权)。
integer
Key 状态。0 为未启用,1 为启用。
string
Key 名称。
integer
Key 创建时间(UNIX 时间戳)。
integer
Key 最近获取/访问时间(UNIX 时间戳)。
integer
Key 过期时间(UNIX 时间戳);-1 表示永不过期。
integer
限额余量;-1 表示无限额。
boolean
是否无限额。true 表示无限额;false 表示限额。
integer
已使用额度。实际用量换算:used_quota / 500000。
text
限制当前 Key 使用的模型(空字符串表示不限制或未设置)。
text
IP 限制(空字符串表示不限制或未设置)。

更新时间:2026-06-01