Skip to main content
GET
List And Create API Keys
列出 AgentMail 账号的 API key 元数据:count、next_page_token 和 api_keys,每项含 api_key_id、prefix、name、pod_id、inbox_id、used_at、permissions 和 created_at。密钥本体永远不会返回,只有 prefix。🔴 **这是账号管理面,不是按调用方隔离的接口。**所有 AIsa 调用方共用同一个 AgentMail 账号,因此这里会触及其他调用方创建的收件箱,所以列出的是 AIsa 平台自己的 key,不是你的。正常邮件流程用不到它——找收件箱用 get_agentmail_inboxes,读邮件用 get_agentmail_inbox_messages。

示例

当前未启用。

请求规范

  • 方法与路径: GET /apis/v1/agentmail/api-keys
  • 可用状态: disabled
此接口已停用,无法调用。历史请求和 schema 仅保留供参考,当前未发布价格。
  • 请求 URL 模板: https://api.aisa.one/apis/v1/agentmail/api-keys
  • ascending: query; 可选
  • limit: query; 可选
  • page_token: query; 可选
  • type: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

历史归档接口:已停用,不可调用,价格未发布。

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ascending
boolean

按时间升序排序。

limit
integer

返回项目数量的上限。

page_token
string

用于分页的页面 token。

type
enum<string>

Restrict the list to one credential family. Omit for every family.

Available options:
bearer,
public_key

Response

状态码为 200 的响应

api_keys
(BearerApiKey · object | PublicKeyCredential · object)[]
required

Every credential family, ordered by created_at. type restricts to one family.

An API key presented as a bearer token in the Authorization header.

count
integer
required

返回的项目数量。

next_page_token
string

用于分页的页面 token。