GET
/
api_keys
/
{uuid}
curl --request GET \
  --url https://geekai.co/api/v1/api_keys/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "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"
  }
}

通过 UUID 获取指定 API KEY 的详细信息。

Authorizations

Authorization
string
header
required

JWT认证token

Path Parameters

uuid
string
required

资源唯一标识符

Response

200
application/json
成功响应
data
object

API KEY 详细信息