GET /openapi/memorylake/admin/v1/me/authorized-apps
所需权限: 无——团队任一成员的 Key 都可以调用
curl -X GET 'https://app.memorylake.cn/openapi/memorylake/admin/v1/me/authorized-apps' \
-H 'Authorization: Bearer sk_xxxxxx'
响应
object
Show Authorized Apps 对象
Show Authorized Apps 对象
array
按最近使用由近到远排列,未使用的排在最后
Show Authorized App 对象
Show Authorized App 对象
string
应用注册时自报的名称;未提供时为空。未经验证。
integer
首次授权时间,Unix 秒
boolean
true 表示 authorized_at 是能查到的最早记录,首次授权更早
object
string
这次授权的稳定标识(应用 × 团队 × 记忆边界)
integer
应用最近一次续取访问的时间,Unix 秒;0 表示授权后尚未续取
string
应用注册时提供的图标(仅 https);没有时为空
string
授权完成后跳回的主机名;source_local 为 true 时为空
boolean
应用运行在用户的设备上(跳回环回地址或自定义协议)
boolean
恒为 false:MCP 应用均为自行注册,未经验证
{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"app_name": "Example app",
"authorized_at": 1760000000,
"authorized_before": false,
"boundary": {
"deleted": false,
"name": "Example name"
},
"id": "c7ff648cfec4d3959017fa69c2c25bc9",
"last_used_at": 1760000000,
"logo_uri": "example",
"source_host": "example",
"source_local": false,
"verified": false,
"workspace": {
"deleted": false,
"name": "Example name"
}
}
]
}
}
错误
出错时返回success: false、message 和 error_code。全部错误码见错误码。
| 状态码 | 含义 |
|---|---|
401 | API Key 缺失、无效、已停用或已过期 |
403 | 该 Key 无权执行此操作 |
429 | 请求过多,请按 Retry-After 等待后重试 |
500 | 服务端错误 |