{"componentChunkName":"component---src-templates-acg-portal-new-template-tsx","path":"/bmuazmhtu","result":{"data":{"markdownRemark":{"html":"<h2 id=\"api-概述\"><a href=\"#api-%E6%A6%82%E8%BF%B0\" aria-label=\"api 概述 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>API 概述</h2>\n<p>欢迎使用百度智能云的Skill安全检测服务。 Skill安全检测服务遵循百度智能云的 API 设计规范，对外提供 Restful API，用于对 Skill 安全性进行检测与查询，覆盖查询已有检测结果、上传/批量提交扫描任务、批量查询任务状态、查询本账号用量等能力。所有接口遵循百度云 API 规范，基于 AK/SK 进行 BCE V1 签名认证。</p>\n<p>本服务提供的能力：</p>\n<ul>\n<li>按 <code>slug</code>/<code>version</code>/<code>source</code>或<code>sha256</code> 查询安全检测结果。</li>\n<li>上传 zip 文件触发扫描任务。</li>\n<li>批量提交 URL 扫描任务。</li>\n<li>批量查询任务状态。</li>\n<li>查询本账号的调用量、单价与金额（仅供核对）。</li>\n</ul>\n<p>检测结果时效性：新提交的深度检测任务通常在约 5 分钟内完成，可通过批量任务查询接口取到结果（大包或引擎繁忙时更长，轮询策略见对应接口说明）。</p>\n<p>如果您是初次调用百度智能云产品的API，可以观看<a href=\"https://cloud.baidu.com/doc/APIGUIDE/index.html\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">API入门指南</a>，快速掌握调用API的方法。</p>\n<h2 id=\"接口类型\"><a href=\"#%E6%8E%A5%E5%8F%A3%E7%B1%BB%E5%9E%8B\" aria-label=\"接口类型 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>接口类型</h2>\n<table>\n<thead>\n<tr>\n<th>接口类型</th>\n<th>接口描述</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Skill安全检测-快速版</td>\n<td>上传Skill名称、版本、Sha256等参数，快速获取安全评估结果。</td>\n</tr>\n<tr>\n<td>Skill安全检测-深度检测版</td>\n<td>上传Skill文件或公网Skill下载URL进行检测，通过对Skill深度检测，获取安全评估结果。</td>\n</tr>\n</tbody>\n</table>\n<h2 id=\"接口列表\"><a href=\"#%E6%8E%A5%E5%8F%A3%E5%88%97%E8%A1%A8\" aria-label=\"接口列表 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>接口列表</h2>\n<table>\n<thead>\n<tr>\n<th>接口名称</th>\n<th>接口</th>\n<th>Method</th>\n<th>是否计费</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>快速检测：查询 Skill 安全结果</td>\n<td><code>/v3/skill/security/results</code></td>\n<td>GET</td>\n<td>计费</td>\n<td>按<code>slug</code>/<code>version</code>/<code>source</code> 或 <code>sha256</code> 查询已有检测结果，立即返回，无需轮询。按查询次数计费，一次查询命中即 1 次。</td>\n</tr>\n<tr>\n<td>深度检测：上传文件触发扫描</td>\n<td><code>/v3/skill/security/upload</code></td>\n<td>POST</td>\n<td>计费</td>\n<td>上传 zip 文件触发异步扫描，通过批量任务查询接口轮询结果。</td>\n</tr>\n<tr>\n<td>深度检测：批量提交 URL 扫描任务</td>\n<td><code>/v3/skill/security/scan/batch</code></td>\n<td>POST</td>\n<td>计费</td>\n<td>批量传入<code>source_url</code> 触发异步扫描任务。</td>\n</tr>\n<tr>\n<td>批量查询任务状态</td>\n<td><code>/v3/skill/security/tasks/batch</code></td>\n<td>POST</td>\n<td>不计费</td>\n<td>批量通过<code>task_id</code> 查询异步任务状态和结果。</td>\n</tr>\n<tr>\n<td>查询用量</td>\n<td><code>/v3/skill/security/usage</code></td>\n<td>GET</td>\n<td>不计费</td>\n<td>按版本查询本账号的调用量、单价与金额。</td>\n</tr>\n</tbody>\n</table>","fields":{"slug":"bmuazmhtu","title":"概述","date":"2026-09-23","extractedHeadings":[]},"headings":[{"value":"API 概述","depth":2},{"value":"接口类型","depth":2},{"value":"接口列表","depth":2}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"bmuazmhtu","prev":{"id":"mmrueubw2","name":"服务等级协议SLA","path":"mmrueubw2","filePath":"服务等级协议SLA/Agent安全中心服务等级协议（SLA）.md","seo":null,"parentIds":["8mruetxv7"],"parents":[{"id":"8mruetxv7","documentId":"8a9d816b-8dd6-486e-9d20-a2f67eb8dc51","name":"服务等级协议SLA","repoName":"ASC","filePath":"服务等级协议SLA","disabled":false,"path":"8mruetxv7","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}]},"next":{"id":"umucdgob7","name":"调用规范","path":"umucdgob7","filePath":"API参考/Skill安全检测服务接口/调用规范.md","seo":null,"parentIds":["Pmuazlcz0","xmuazm19h"],"parents":[{"id":"Pmuazlcz0","documentId":"d6b82d73-73ba-4bca-af5d-844538a67518","name":"API参考","repoName":"ASC","filePath":"API参考","disabled":false,"path":"Pmuazlcz0","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"xmuazm19h","documentId":"fe982a7e-bf8f-4fd2-912e-5e590ba600f2","name":"Skill安全检测服务接口","repoName":"ASC","filePath":"API参考/Skill安全检测服务接口","disabled":false,"path":"xmuazm19h","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}]},"parents":[{"id":"Pmuazlcz0","documentId":"d6b82d73-73ba-4bca-af5d-844538a67518","name":"API参考","repoName":"ASC","filePath":"API参考","disabled":false,"path":"Pmuazlcz0","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null},{"id":"xmuazm19h","documentId":"fe982a7e-bf8f-4fd2-912e-5e590ba600f2","name":"Skill安全检测服务接口","repoName":"ASC","filePath":"API参考/Skill安全检测服务接口","disabled":false,"path":"xmuazm19h","lastMergeTime":null,"isApiDoc":null,"httpMethod":null,"seo":null,"sourceOrgName":null,"sourceRepoName":null,"sourceDocumentId":"","solutionTag":null,"solutionColor":null}],"specificSeo":null}}}