key 已脱敏。Authorization: <访问令牌>(不带 Bearer 前缀)New-Api-User: <用户 ID>curl --location 'https://api.openai-hub.com/api/token/' \
--header 'Authorization: Bearer sk-0ABIEXVjh9****Qckjy' \
--header 'New-Api-User: 1'{
"success": true,
"message": "string",
"data": {
"page": 0,
"page_size": 0,
"total": 0,
"items": [
{
"id": 0,
"user_id": 0,
"key": "string",
"status": 0,
"name": "string",
"created_time": 0,
"accessed_time": 0,
"expired_time": 0,
"remain_quota": 0,
"unlimited_quota": true,
"used_quota": 0,
"model_limits_enabled": true,
"model_limits": "string",
"allow_ips": "string",
"group": "string",
"cross_group_retry": true
}
]
}
}