ixp
latest
false
  • 概述
    • 简介
    • 从非结构化文档中提取数据
    • 构建和部署模型
    • 配额
  • 模型构建
    • 概述
    • 管理项目
    • 上传示例文档
    • 查看预测
    • 验证提取预测
    • 模型配置
  • 模型验证
  • 模型部署
  • API
    • API 审核事件
  • 常见问题
UiPath logo, featuring letters U and I in white

非结构化复杂文档用户指南

上次更新日期 2026年1月8日

API 审核事件

查询审核事件

您可以查询审核事件,以检索平台内用户和系统操作的详细记录。

注意:您必须已分配“IXP 审核日志查看者”角色。

/api/v1/audit_events/query

重击

curl -X POST 'https://<my_api_endpoint>/api/v1/audit_events/query' \
    -H "Authorization: Bearer $REINFER_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
  "filter": {
    "timestamp": {
      "maximum": "2021-07-10T00:00:00Z",
      "minimum": "2021-06-10T00:00:00Z"
    }
  }
}'
curl -X POST 'https://<my_api_endpoint>/api/v1/audit_events/query' \
    -H "Authorization: Bearer $REINFER_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
  "filter": {
    "timestamp": {
      "maximum": "2021-07-10T00:00:00Z",
      "minimum": "2021-06-10T00:00:00Z"
    }
  }
}'

节点

const request = require("request");

request.post(
  {
    url: "https://<my_api_endpoint>/api/v1/audit_events/query",
    headers: {
      Authorization: "Bearer " + process.env.REINFER_TOKEN,
    },
    json: true,
    body: {
      filter: {
        timestamp: {
          maximum: "2021-07-10T00:00:00Z",
          minimum: "2021-06-10T00:00:00Z",
        },
      },
    },
  },
  function (error, response, json) {
    // digest response
    console.log(JSON.stringify(json, null, 2));
  }
);const request = require("request");

request.post(
  {
    url: "https://<my_api_endpoint>/api/v1/audit_events/query",
    headers: {
      Authorization: "Bearer " + process.env.REINFER_TOKEN,
    },
    json: true,
    body: {
      filter: {
        timestamp: {
          maximum: "2021-07-10T00:00:00Z",
          minimum: "2021-06-10T00:00:00Z",
        },
      },
    },
  },
  function (error, response, json) {
    // digest response
    console.log(JSON.stringify(json, null, 2));
  }
);

Python

import json
import os

import requests

response = requests.post(
    "https://<my_api_endpoint>/api/v1/audit_events/query",
    headers={"Authorization": "Bearer " + os.environ["REINFER_TOKEN"]},
    json={
        "filter": {
            "timestamp": {
                "minimum": "2021-06-10T00:00:00Z",
                "maximum": "2021-07-10T00:00:00Z",
            }
        }
    },
)

print(json.dumps(response.json(), indent=2, sort_keys=True))
import json
import os

import requests

response = requests.post(
    "https://<my_api_endpoint>/api/v1/audit_events/query",
    headers={"Authorization": "Bearer " + os.environ["REINFER_TOKEN"]},
    json={
        "filter": {
            "timestamp": {
                "minimum": "2021-06-10T00:00:00Z",
                "maximum": "2021-07-10T00:00:00Z",
            }
        }
    },
)

print(json.dumps(response.json(), indent=2, sort_keys=True))

响应

{
  "audit_events": [
    {
      "actor_user_id": "e2148a6625225593",
      "dataset_ids": ["1fe230edc85ffc1a"],
      "event_id": "2555880060c23eb5",
      "event_type": "get_datasets",
      "project_ids": ["ce3c61dcf210f425", "274400867ab17af9"],
      "tenant_ids": ["c59b6e209da438a8"],
      "timestamp": "2021-06-10T16:32:53Z"
    }
  ],
  "continuation": "2555880060c23eb5",
  "datasets": [
    {
      "id": "1fe230edc85ffc1a",
      "name": "collateral-sharing",
      "project_id": "ce3c61dcf210f425",
      "title": "Collateral Sharing"
    },
    {
      "id": "274400867ab17af9",
      "name": "Customer-Feedback",
      "project_id": "ce3c61dcf210f425",
      "title": "Customer Feedback"
    }
  ],
  "projects": [
    {
      "id": "ce3c61dcf210f425",
      "name": "bank-collateral",
      "tenant_id": "c59b6e209da438a8"
    }
  ],
  "status": "ok",
  "tenants": [
    {
      "id": "c59b6e209da438a8",
      "name": "acme"
    }
  ],
  "users": [
    {
      "display_name": "Alice",
      "email": "alice@acme.example",
      "id": "e2148a6625225593",
      "tenant_id": "c59b6e209da438a8",
      "username": "alice"
    }
  ]
}{
  "audit_events": [
    {
      "actor_user_id": "e2148a6625225593",
      "dataset_ids": ["1fe230edc85ffc1a"],
      "event_id": "2555880060c23eb5",
      "event_type": "get_datasets",
      "project_ids": ["ce3c61dcf210f425", "274400867ab17af9"],
      "tenant_ids": ["c59b6e209da438a8"],
      "timestamp": "2021-06-10T16:32:53Z"
    }
  ],
  "continuation": "2555880060c23eb5",
  "datasets": [
    {
      "id": "1fe230edc85ffc1a",
      "name": "collateral-sharing",
      "project_id": "ce3c61dcf210f425",
      "title": "Collateral Sharing"
    },
    {
      "id": "274400867ab17af9",
      "name": "Customer-Feedback",
      "project_id": "ce3c61dcf210f425",
      "title": "Customer Feedback"
    }
  ],
  "projects": [
    {
      "id": "ce3c61dcf210f425",
      "name": "bank-collateral",
      "tenant_id": "c59b6e209da438a8"
    }
  ],
  "status": "ok",
  "tenants": [
    {
      "id": "c59b6e209da438a8",
      "name": "acme"
    }
  ],
  "users": [
    {
      "display_name": "Alice",
      "email": "alice@acme.example",
      "id": "e2148a6625225593",
      "tenant_id": "c59b6e209da438a8",
      "username": "alice"
    }
  ]
}

审核事件是用户在 IXP 平台中执行的操作的记录。可审核事件示例包括:

  • 正在登录的用户。
  • 用户在更改密码。
  • 用户正在更改另一个用户的权限。
名称类型必填描述
continuation字符串如果上一个查询在响应中返回了continuation ,则可以使用另一页事件。 在此处设置返回的延续值以获取下一页。
limit数字每页返回的审核事件数。 默认为 128。
filter筛选用于指定要返回的审核事件的筛选器。
filter具有以下格式:
名称类型必填描述
timestamp时间戳筛选器此筛选器用于指定要返回事件的时间范围。
TimestampFilter具有以下格式:
名称类型必填描述
minimum字符串ISO-8601 时间戳。如果提供,则仅返回此时间戳之后(含此时间戳)的审核事件。
maximum字符串ISO-8601 时间戳。如果提供,则仅返回此时间戳之前的审核事件。

审核事件类型

此部分包含适用于非结构化复杂文档的所有审核事件类型。

项目管理

事件类型描述
ucd_project_created系统将创建“非结构化复杂文档”项目。
ucd_project_deleted“非结构化复杂文档”项目已删除。

模型管理

事件类型描述
model_version_published模型已发布。
model_version_unpublished模型标签已更新。
model_tag_deleted已发布模型已删除。

数据集管理

事件类型描述
get_datasets数据集已检索。
get_datasets_by_owner数据集由所有者检索。
get_dataset特定数据集已检索。
export_dataset数据集已导出。

用户管理

事件类型描述
create_user系统将创建新用户。
delete_user系统将删除用户。
get_users系统将检索用户信息。
update_user用户信息被修改。

身份验证和安全性

事件类型描述
login_success用户登录成功。
authentication_failed_password由于密码错误,登录失败。
authentication_failed_totp由于 TOTP 代码错误,登录失败。
login_failed_ip_address由于 IP 地址限制,登录失败。
revoke_api_tokensAPI 令牌被撤销。
revoke_login_tokens登录令牌被撤销。
revoke_current_login_token当前会话令牌被撤销。
replace_api_tokenAPI 令牌被替换。
authentication_failed_totp_lockout由于 TOTP 锁定,登录失败。

密码重置

事件类型描述
send_password_reset_success已成功发送密码重置电子邮件。
send_password_reset_failed_ip_addressIP 阻止密码重置。
verify_password_reset_success密码重置验证成功。
verify_password_reset_failed_ip_addressIP 阻止密码重置验证。
change_password_success密码更改成功。
change_password_failed_totp由于 TOTP,密码更改失败。
change_password_failed_ip_addressIP 阻止密码更改。
verify_password_reset_failed_signature密码重置签名无效。
verify_password_reset_failed_timestamp密码重置链接已过期。
change_password_failed_current_password提供的当前密码错误。

评论查询

事件类型描述
comment_query_text基于文本的评论查询。
comment_query_sample注释查询示例。
comment_query_learning与学习相关的注释查询。
comment_query_any_label_asc按升序排列的基于标签的查询。
comment_query_recent最近的评论查询。
comment_query_by_label按特定标签筛选的查询。
comment_query_diagnostic诊断注释查询。
comment_query_label_property标签属性查询。
comment_query_attachment_text附件文本查询。

批注

事件类型描述
get_annotations批注已检索。
update_annotation批注已修改。

配额管理

事件类型描述
quota_set已设置配额。
quota_reset配额已重置。
quotas_get检索配额。

系统和管理

事件类型描述
audit_event_query系统会直接查询审核事件。
  • 查询审核事件
  • 审核事件类型

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2026 UiPath。保留所有权利。