You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

请求提供AI生成文本检测返回对象示例 排查Webhook空数组问题

AI生成文本检测Webhook返回对象示例

当启用properties.aiGeneratedText.detect标识调用/v3/scans/submit/file/{scanId}端点完成AI生成文本扫描后,沙箱Webhook完成体的notifications.alerts区域会返回如下结构的对象:

{
  "notifications": {
    "alerts": [
      {
        "type": "ai_generated_text",
        "status": "detected",
        "score": 0.92,
        "details": {
          "segments": [
            {
              "startIndex": 0,
              "endIndex": 150,
              "confidence": 0.95,
              "text": "生成的AI文本内容片段示例..."
            },
            {
              "startIndex": 151,
              "endIndex": 300,
              "confidence": 0.88,
              "text": "另一处AI生成的文本片段..."
            }
          ],
          "overallConfidence": 0.92
        },
        "scanId": "your-scan-id-here",
        "timestamp": "2024-05-20T14:30:00Z"
      }
    ]
  }
}

关键字段说明

  • type: 固定为ai_generated_text,标识该警报为AI生成文本检测结果
  • status: 取值为detected(检测到AI生成文本)或not_detected(未检测到)
  • score: 整体AI生成置信度分数(0-1之间,值越高表示文本越可能由AI生成)
  • details.segments: 标注文本中被检测为AI生成的具体片段,包含片段起止索引、置信度和对应文本内容
  • scanId: 对应本次扫描的唯一ID
  • timestamp: 扫描完成的时间戳

内容的提问来源于stack exchange,提问作者learntheropes

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.29 11:02:40