GET /openapi/memorylake/admin/v1/integrations
total);按您无权管理的工作空间筛选会被拒绝。从不返回凭据。
所需权限: 取决于您发送的内容:
- 设置了
workspace_id时:workspace:integration_manage(作用于workspace_id)
查询参数
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/integrations' \
-H 'Authorization: Bearer sk_xxxxxx'
响应
显示 Load More Response Integration 对象
显示 Load More Response Integration 对象
当前页的条目列表
显示 Integration 对象
显示 Integration 对象
稳定的原因代码,只要存在
status_error 就会返回。credentials_invalid:平台拒绝了凭据(请修正凭据);subscribe_rejected:WeCom 拒绝了订阅——凭据错误或触发平台限流,会自动重试;preempted:另一个连接接管了该机器人,通常是同一机器人在另一环境中建立了连接;timeout / disconnected / connection_aborted / connection_failed:连接问题,会自动重试;dependency_unavailable:此部署依赖的某项服务不可用,会自动重试;dependency_misconfigured:此部署缺少该渠道所需的组件(WeCom 需要 Redis)——请联系运维人员;internal_error:我方故障;unknown:该原因记录于原因代码引入之前,会在下次连接尝试时被替换。今后可能新增代码;遇到无法识别的代码时,请按 connection_failed 处理。{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"agent_id": "9926a90400d85f0a54e9e195e915db44",
"channel": "dingtalk",
"created_at": 1760000000,
"credentials_configured": false,
"daily_message_limit": 1,
"dataset_ids": [
"3748f84ef0d2e877c0097b8f32d45cf0"
],
"enabled": true,
"external_app_id": "524832f3cb1ba8ef33208d0692b8d565",
"id": "f58008acc066bab6dfb73de8efde8905",
"name": "Example name",
"read_only_project_ids": [
"5af1515af082229ccfd68f981a6cf886"
],
"read_write_project_id": "aed31b20113b86ecc2587aa0cbc0eb2f",
"settings": {
"card_template_id": "870213bad9d43369a8af134b1b482d6e"
},
"status": "pending",
"updated_at": 1760000000,
"workspace_id": "ce55865bcc4c12c26161d24b238a888e",
"status_error": "example",
"status_error_code": "credentials_invalid"
}
],
"continuation_token": "eyJvZmZzZXQiOjIwfQ",
"total": 1
}
}
错误
出错时返回success: false、message 和 error_code。全部错误码见错误码。
| 状态码 | 含义 |
|---|---|
400 | 参数或请求体无效 |
401 | API Key 缺失、无效、已停用或已过期 |
403 | 该 Key 无权执行此操作 |
404 | 资源不存在 |
422 | 请求体或参数未通过校验 |
429 | 请求过多,请按 Retry-After 等待后重试 |
500 | 服务端错误 |