查询黑名单
更新时间:2025-12-30
GET
https://qianfan.baidubce.com/v2/ai_search/url_black_list
权限说明
调用本文API,需使用API Key鉴权方式。使用API Key鉴权调用API流程,具体调用流程,请查看认证鉴权。
请求参数
Headers 参数
除公共头域外,无其它特殊头域
URL 参数
offset
string
偏移量
可选
limit
string
条数限制,最大不超过 50
可选
config_id
string
策略配置id,需要提前调用配置接口创建id
可选
请求结构
GET /v2/ai_search/url_black_list HTTP/1.1
HOST: qianfan.baidubce.com
Authorization: Bearer <API Key>
示例代码
返回响应
Headers 参数
除公共头域外,无其它特殊头域
返回参数
request_id
string
请求request_id
必选
count
integer
黑名单列表总长度
必选
items
object {1}
黑名单列表
必选
显示子属性
隐藏子属性
url
string
网页地址
必选
message
string
错误消息,当发生异常时返回
可选
响应示例
{
"count": 4,
"items": [
{
"url": "http://abc.com"
},
{
"url": "http://efg.com"
}
],
"request_id": "94c0df15-993b-4ab4-8e92-2d6272255dfb"
}
