删除干预项
更新时间:2026-02-09
DELETE
https://qianfan.baidubce.com/v2/ai_search/web_search/intervention
权限说明
调用本文API,需使用API Key鉴权方式。使用API Key鉴权调用API流程,具体调用流程,请查看认证鉴权。
请求参数
Headers 参数
除公共头域外,无其它特殊头域
Body 参数
query
string
请求前需对 query 参数进行 URL Encode 编码
必选
config_id
string
用户配置ID。如果为空,则只查询全局干预;如果不为空,则先查全局干预,再根据 config_id 查询用户特定的干预策略
可选
请求结构
DELETE /v2/ai_search/web_search/intervention HTTP/1.1
HOST: qianfan.baidubce.com
Authorization: Bearer <API Key>
Content-Type: application/json
query=%E5%B0%8F%E7%B1%B3%E6%98%AF%E7%BB%84%E8%A3%85%E5%8E%82%E5%90%97%EF%BC%9F?
示例代码
请求示例
curl -X "DELETE" \
-H "Authorization: Bearer <API Key> " \
--location 'https://qianfan.baidubce.com/v2/ai_search/web_search/intervention?query=%E5%B0%8F%E7%B1%B3%E6%98%AF%E7%BB%84%E8%A3%85%E5%8E%82%E5%90%97%EF%BC%9F'
返回响应
Headers 参数
除公共头域外,无其它特殊头域
返回参数
request_id
string
请求request_id
必选
code
string
错误代码,当发生异常时返回
可选
message
string
错误消息,当发生异常时返回
可选
