查询文件鉴定任务结果

最近更新时间:2025-10-17 01:23:06

我的收藏

1. 接口描述

接口请求域名: ioa.tencentcloudapi.com 。

查询文件鉴定任务结果

默认接口请求频率限制:20次/秒。

推荐使用 API Explorer
点击调试
API Explorer 提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力。您可查看每次调用的请求内容和返回结果以及自动生成 SDK 调用示例。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:DescribeDLPFileDetectTaskResult。
Version String 公共参数,本接口取值:2022-06-01。
Region String 公共参数,详见产品支持的 地域列表
DomainInstanceId String 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
示例值:1
TaskRequestId String 任务请求Id
示例值:dfsvadfs121312asdaf

3. 输出参数

参数名称 类型 描述
Data DescribeDLPFileDetectTaskResult 文件鉴定任务结果数据。详情查看具体数据结构
RequestId String 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 查询文件鉴定任务结果

查询文件鉴定任务结果

输入示例

POST / HTTP/1.1
Host: ioa.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDLPFileDetectTaskResult
<公共请求参数>

{
    "TaskRequestId": "d3nlqa3jsehkhn9frk5g"
}

输出示例

{
    "Response": {
        "Data": {
            "DetectResult": "{\"DLPFileDetectionTaskID\":\"d3nlqa3jsehkhn9frk5g\",\"DataLevel\":\"S4\",\"DetectSource\":0,\"FileAbstract\":\"{\\\"FileAbstract\\\":\\\"时间:2023年9月付款方式:现金订单编号:121698231 金额:56r   \\\\n\\\"}\",\"FileAttr\":[\"TXT\",\"PARSE\"],\"FileCategory\":[\"产品交易订单\",\"终端\"],\"FileContent\":\"[{\\\"RuleId\\\":\\\"352327\\\",\\\"RuleName\\\":\\\"产品交易订单\\\",\\\"RuleLevel\\\":\\\"\\\",\\\"Hits\\\":[{\\\"LibraryId\\\":\\\"5133\\\",\\\"LibraryType\\\":\\\"Keyword\\\",\\\"LibraryName\\\":\\\"时间\\\",\\\"Attribute\\\":\\\"doc.Content\\\",\\\"String\\\":\\\"时间\\\",\\\"Content\\\":\\\"时间:2023年9月付款方式:现金订\\\"},{\\\"LibraryId\\\":\\\"5004\\\",\\\"LibraryType\\\":\\\"Keyword\\\",\\\"LibraryName\\\":\\\"付款\\\",\\\"Attribute\\\":\\\"doc.Content\\\",\\\"String\\\":\\\"付款\\\",\\\"Content\\\":\\\"时间:2023年9月付款方式:现金订单编号:121698\\\"},{\\\"LibraryId\\\":\\\"5477\\\",\\\"LibraryType\\\":\\\"Keyword\\\",\\\"LibraryName\\\":\\\"订单编号\\\",\\\"Attribute\\\":\\\"doc.Content\\\",\\\"String\\\":\\\"订单编号\\\",\\\"Content\\\":\\\"间:2023年9月付款方式:现金订单编号:121698231 金额:56\\\"},{\\\"LibraryId\\\":\\\"5091\\\",\\\"LibraryType\\\":\\\"Keyword\\\",\\\"LibraryName\\\":\\\"金额\\\",\\\"Attribute\\\":\\\"doc.Content\\\",\\\"String\\\":\\\"金额\\\",\\\"Content\\\":\\\"金订单编号:121698231 金额:56r   \\\\n\\\"},{\\\"LibraryId\\\":\\\"5002\\\",\\\"LibraryType\\\":\\\"Keyword\\\",\\\"LibraryName\\\":\\\"交易订单\\\",\\\"Attribute\\\":\\\"doc.Name\\\",\\\"String\\\":\\\"交易订单\\\",\\\"Content\\\":\\\"38产品交易订单.docx\\\"},{\\\"LibraryId\\\":\\\"43\\\",\\\"LibraryType\\\":\\\"Regex\\\",\\\"LibraryName\\\":\\\"Word文档\\\",\\\"Attribute\\\":\\\"doc.Type\\\",\\\"String\\\":\\\".docx\\\",\\\"Content\\\":\\\".docx\\\"}],\\\"HitsTotal\\\":6,\\\"HitsUniqueTotal\\\":0,\\\"HitsLibKWTotal\\\":[{\\\"LibraryId\\\":\\\"5133\\\",\\\"LibraryName\\\":\\\"时间\\\",\\\"Count\\\":1,\\\"UniqueCount\\\":0},{\\\"LibraryId\\\":\\\"5004\\\",\\\"LibraryName\\\":\\\"付款\\\",\\\"Count\\\":1,\\\"UniqueCount\\\":0},{\\\"LibraryId\\\":\\\"5477\\\",\\\"LibraryName\\\":\\\"订单编号\\\",\\\"Count\\\":1,\\\"UniqueCount\\\":0},{\\\"LibraryId\\\":\\\"5091\\\",\\\"LibraryName\\\":\\\"金额\\\",\\\"Count\\\":1,\\\"UniqueCount\\\":0},{\\\"LibraryId\\\":\\\"5002\\\",\\\"LibraryName\\\":\\\"交易订单\\\",\\\"Count\\\":1,\\\"UniqueCount\\\":0},{\\\"LibraryId\\\":\\\"43\\\",\\\"LibraryName\\\":\\\"Word文档\\\",\\\"Count\\\":1,\\\"UniqueCount\\\":0}]},{\\\"RuleId\\\":\\\"384077\\\",\\\"RuleName\\\":\\\"终端\\\",\\\"RuleLevel\\\":\\\"\\\",\\\"Hits\\\":[{\\\"LibraryId\\\":\\\"2887690\\\",\\\"LibraryType\\\":\\\"Dict\\\",\\\"LibraryName\\\":\\\"iao手册\\\",\\\"Attribute\\\":\\\"doc.Content\\\",\\\"String\\\":\\\"时间\\\",\\\"Content\\\":\\\"时间:2023年9月付款方式:现金订\\\"},{\\\"LibraryId\\\":\\\"2887690\\\",\\\"LibraryType\\\":\\\"Dict\\\",\\\"LibraryName\\\":\\\"iao手册\\\",\\\"Attribute\\\":\\\"doc.Content\\\",\\\"String\\\":\\\"方式\\\",\\\"Content\\\":\\\"时间:2023年9月付款方式:现金订单编号:12169823\\\"}],\\\"HitsTotal\\\":2,\\\"HitsUniqueTotal\\\":0,\\\"HitsLibKWTotal\\\":[{\\\"LibraryId\\\":\\\"2887690\\\",\\\"LibraryName\\\":\\\"iao手册\\\",\\\"Count\\\":2,\\\"UniqueCount\\\":0}]}]\",\"FileMd5\":\"68d9ad663ac025e51a59aa488dffaf91\",\"FileName\":\"38产品交易订单.docx\",\"FilePath\":\"\",\"FileSize\":12595,\"FileSource\":0,\"FileType\":\".docx\",\"FileTypeName\":\"Word文档\",\"FinalDataLevel\":\"S4\",\"Guid\":\"\",\"Intercept\":0,\"InterceptLog\":0,\"InterceptStatus\":0,\"NodeId\":\"4A7757D6984411F087815254003FE2DD68D23A50\",\"NodeIp\":\"172.16.16.12\",\"NodeName\":\"207\",\"OperateTime\":\"2025-10-15 16:36:56\",\"PolicyId\":\"\",\"PolicyName\":\"\",\"RandomPath\":\"\",\"ReportTime\":\"1760517417\",\"RiskChan\":\"\",\"RiskLevel\":0,\"RiskType\":\"\",\"TaskFileMd5\":\"\",\"TaskFileName\":\"38产品交易订单.docx\",\"TenantId\":\"251272654\",\"UploadFileName\":\"\",\"Url\":\"http://159.75.26.5:27800/store/CommonResource/TemplateFile/38产品交易订单.docx\",\"ZipFileCount\":0}",
            "FileMd5": "",
            "FileName": "38产品交易订单.docx",
            "Message": "task:d3nlqa3jsehkhn9frk5g检测成功",
            "Status": 4
        },
        "RequestId": "9e7751f3-eb9e-4e7e-9d3e-dc69ab6ba322"
    }
}

5. 开发者资源

腾讯云 API 平台

腾讯云 API 平台 是综合 API 文档、错误码、API Explorer 及 SDK 等资源的统一查询平台,方便您从同一入口查询及使用腾讯云提供的所有 API 服务。

API Inspector

用户可通过 API Inspector 查看控制台每一步操作关联的 API 调用情况,并自动生成各语言版本的 API 代码,也可前往 API Explorer 进行在线调试。

SDK

云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。

命令行工具

6. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码

错误码 描述
InternalError.DatabaseException 内部错误,数据库异常。
InternalError.Unknown 内部未知错误。
InvalidParameter.RequestParam 请求参数错误。
UnauthorizedOperation.PermissionDenied 未授权的操作。