email= 可一次检查多个地址)。
所需权限:
member:invite查询参数
响应
错误
出错时返回success: false、message 和 error_code。全部错误码见错误码。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"created_at": 1760000000,
"email": "alice@example.com",
"expires_at": 1760000000,
"id": "c079f4f4e529b9d687b3cce00eeb9644",
"role": "tenant_member",
"status": "pending",
"accepted_at": 1760000000,
"accepted_principal_id": "5a4863beca31b3b37f780badf1652511",
"last_invited_at": 1760000000
}
],
"continuation_token": "eyJvZmZzZXQiOjIwfQ",
"total": 1
}
}
列出团队的邀请,按时间倒序,可按状态和邮箱地址筛选(重复 email= 可一次检查多个地址)
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"created_at": 1760000000,
"email": "alice@example.com",
"expires_at": 1760000000,
"id": "c079f4f4e529b9d687b3cce00eeb9644",
"role": "tenant_member",
"status": "pending",
"accepted_at": 1760000000,
"accepted_principal_id": "5a4863beca31b3b37f780badf1652511",
"last_invited_at": 1760000000
}
],
"continuation_token": "eyJvZmZzZXQiOjIwfQ",
"total": 1
}
}
GET /openapi/memorylake/admin/v1/invitations
email= 可一次检查多个地址)。
member:invitecurl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations' \
-H 'Authorization: Bearer sk_xxxxxx'
显示 Load More Response Invitation 对象
显示 Invitation 对象
{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"created_at": 1760000000,
"email": "alice@example.com",
"expires_at": 1760000000,
"id": "c079f4f4e529b9d687b3cce00eeb9644",
"role": "tenant_member",
"status": "pending",
"accepted_at": 1760000000,
"accepted_principal_id": "5a4863beca31b3b37f780badf1652511",
"last_invited_at": 1760000000
}
],
"continuation_token": "eyJvZmZzZXQiOjIwfQ",
"total": 1
}
}
success: false、message 和 error_code。全部错误码见错误码。
| 状态码 | 含义 |
|---|---|
400 | 参数或请求体无效 |
401 | API Key 缺失、无效、已停用或已过期 |
403 | 该 Key 无权执行此操作 |
422 | 请求体或参数未通过校验 |
429 | 请求过多,请按 Retry-After 等待后重试 |
500 | 服务端错误 |