Skip to main content
GET
Error

路径参数

taskId
string
必填

审核任务ID

响应

200 - application/json

审核任务详情

SQL审核任务响应

taskId
string

任务ID

requestId
string

幂等键(外部请求ID)

status
enum<string>

任务状态: accepted/running/finished

可用选项:
accepted,
running,
finished
result
enum<string>

判定结果: allow/deny/timeout/failed

可用选项:
allow,
deny,
timeout,
failed
errorCode
integer

错误码(仅当result=failed时有值)

errorMessage
string

错误信息(仅当result=failed时有值)

riskLevel
enum<integer>

风险等级: 0-critical 1-warning 2-notice

可用选项:
0,
1,
2
riskLevelDesc
enum<string>

风险等级描述: critical/warning/notice

可用选项:
critical,
warning,
notice
statistics
object

统计信息

summary
string

审核摘要(Markdown格式,适合展示)

summaryData
object

审核摘要(结构化JSON,适合度量分析)

reportUrl
string

报告详情页URL

reportHtml
string

报告HTML内容

callbackStatus
string

回调状态: pending/success/failed/skipped

callbackMessage
string

回调结果信息

finishedAt
string<date-time>

完成时间

extra
object

扩展数据(透传)

ticketId
string

关联的工单ID

ticketTitle
string

工单标题(可用于平台搜索)

auditId
string

关联的审核ID

workspaceInfo
object

工作空间信息

env
string

环境信息

orgInfo
object

机构信息

ruleTemplateInfo
object

规则模板信息

operatorEmail
string

操作人邮箱

enableIndexRecommendation
boolean

是否执行索引推荐