列出 API Key
GET /api/v1/gateway/keys
分页返回组织下的全部 API Key(不含完整 Key 明文)。
鉴权:本接口属于控制台后端 API(Base URL
https://portal.aiin1.ai,注意不是api.portal.aiin1.ai),需携带控制台账号登录后获取的access_token(15 分钟有效),不能使用sk-nex-API 令牌。登录方式见 账单对账与用量自动同步。
请求示例
curl -X GET https://portal.aiin1.ai/api/v1/gateway/keys \
-H "Authorization: Bearer $ACCESS_TOKEN"响应
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
items |
array<KeyResponse> | 是 | Key 对象列表,字段见 获取 API Key |
total |
integer | 是 | 总数 |