令牌管理
获取所有 API KEY 信息
获取当前账户下的所有 API KEY 列表
GET
/
api_keys
Copy
curl --request GET \
--url https://geekai.co/api/api_keys \
--header 'Authorization: Bearer <token>'
Copy
{
"data": [
{
"uuid": "<string>",
"name": "<string>",
"value": "<string>",
"group": {
"name": "<string>",
"alias": "<string>",
"desc": "<string>"
},
"credit_limit": 123,
"credit_used": 123,
"expired_at": "2023-12-25",
"expired": true,
"status": true,
"last_used_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
获取当前账户所有 API KEY 列表。
注意:调用此接口需要通过系统 KEY 进行认证,需要创建后复制进行使用。
Authorizations
系统KEY
Response
200
application/json
成功响应
The response is of type object
.
Copy
curl --request GET \
--url https://geekai.co/api/api_keys \
--header 'Authorization: Bearer <token>'
Copy
{
"data": [
{
"uuid": "<string>",
"name": "<string>",
"value": "<string>",
"group": {
"name": "<string>",
"alias": "<string>",
"desc": "<string>"
},
"credit_limit": 123,
"credit_used": 123,
"expired_at": "2023-12-25",
"expired": true,
"status": true,
"last_used_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
助手
Responses are generated using AI and may contain mistakes.