通用能力接口参考API Key 管理列出 API Key

列出 API Key

列出当前账号的 API Key 信息,不返回完整的 API Key。此接口只接受控制台登录凭证。

认证

控制台登录凭证:Authorization: Bearer <登录凭证>。此接口不接受 API Key。

示例中的凭证为占位值,请替换后在服务器端运行。

代码示例

curl -X GET 'https://shixux.com/api/keys' \  -H 'Authorization: Bearer login_credential_placeholder'
[  {    "id": "example",    "name": "example",    "public_prefix": "example",    "is_active": true,    "last_used_at": "2026-10-06T10:00:00Z",    "created_at": "2026-10-06T10:00:00Z"  }]

响应体

请求成功

application/json
  1. response
[index: integer]?

本页目录