启动智能调研
curl --request POST \
--url https://revor.ai/api/v2/websets/{websetId}/research/runs \
--header 'Content-Type: application/json' \
--data '
{
"scope": {},
"kind": "<string>",
"label": "<string>",
"force": true
}
'import requests
url = "https://revor.ai/api/v2/websets/{websetId}/research/runs"
payload = {
"scope": {},
"kind": "<string>",
"label": "<string>",
"force": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({scope: {}, kind: '<string>', label: '<string>', force: true})
};
fetch('https://revor.ai/api/v2/websets/{websetId}/research/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://revor.ai/api/v2/websets/{websetId}/research/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'scope' => [
],
'kind' => '<string>',
'label' => '<string>',
'force' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://revor.ai/api/v2/websets/{websetId}/research/runs"
payload := strings.NewReader("{\n \"scope\": {},\n \"kind\": \"<string>\",\n \"label\": \"<string>\",\n \"force\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://revor.ai/api/v2/websets/{websetId}/research/runs")
.header("Content-Type", "application/json")
.body("{\n \"scope\": {},\n \"kind\": \"<string>\",\n \"label\": \"<string>\",\n \"force\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/websets/{websetId}/research/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"scope\": {},\n \"kind\": \"<string>\",\n \"label\": \"<string>\",\n \"force\": true\n}"
response = http.request(request)
puts response.read_body表格智能调研
启动智能调研
在已有表格上启动整表或选中行的智能调研任务。
POST
/
api
/
v2
/
websets
/
{websetId}
/
research
/
runs
启动智能调研
curl --request POST \
--url https://revor.ai/api/v2/websets/{websetId}/research/runs \
--header 'Content-Type: application/json' \
--data '
{
"scope": {},
"kind": "<string>",
"label": "<string>",
"force": true
}
'import requests
url = "https://revor.ai/api/v2/websets/{websetId}/research/runs"
payload = {
"scope": {},
"kind": "<string>",
"label": "<string>",
"force": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({scope: {}, kind: '<string>', label: '<string>', force: true})
};
fetch('https://revor.ai/api/v2/websets/{websetId}/research/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://revor.ai/api/v2/websets/{websetId}/research/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'scope' => [
],
'kind' => '<string>',
'label' => '<string>',
'force' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://revor.ai/api/v2/websets/{websetId}/research/runs"
payload := strings.NewReader("{\n \"scope\": {},\n \"kind\": \"<string>\",\n \"label\": \"<string>\",\n \"force\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://revor.ai/api/v2/websets/{websetId}/research/runs")
.header("Content-Type", "application/json")
.body("{\n \"scope\": {},\n \"kind\": \"<string>\",\n \"label\": \"<string>\",\n \"force\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/websets/{websetId}/research/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"scope\": {},\n \"kind\": \"<string>\",\n \"label\": \"<string>\",\n \"force\": true\n}"
response = http.request(request)
puts response.read_body在指定表格上启动智能调研,支持全表调研或选中行调研。调研类型包括关键联系人、官网联系方式和自定义问题。
接口概览
| 方法 | POST |
| 路径 | /api/v2/websets/{websetId}/research/runs |
| 权限 | websets.research:write |
| 幂等性 | 通过 Idempotency-Key 请求头实现 |
| 返回 | HTTP 202,含 run ID、kind、field_key 和 reused |
路径参数
请求体
启动调研
{
"kind": "key_contacts",
"scope": {
"mode": "all"
},
"positions": ["CEO", "Procurement"],
"max_contacts_per_company": 50
}
调研类型
key_contacts
key_contacts
按职位查找关键联系人。
positions- 必填,1-24 个职位,每个不超过 60 字符max_contacts_per_company- 1-50,默认 50- 结果列 key:
snovio_key_contacts
website_contacts
website_contacts
从企业官网提取联系方式。
channels必填 - 可选email、whatsapp、phone- 结果列 key:
company_social_contacts
custom
custom
自定义调研问题。
field_key- 新建或复用的列 keyquestion- 调研问题field_type-text、number、boolean、listsubject_mode-company或personallowed_options- 可选,用于list类型locale- 可选
请求示例
cURL
curl -X POST "https://revor.ai/api/v2/websets/webset-uuid/research/runs" \
-H "Authorization: Bearer sk-revor-REPLACE_ME" \
-H "Idempotency-Key: research-001" \
-H "Content-Type: application/json" \
-d '{
"kind": "key_contacts",
"scope": {
"mode": "all"
},
"positions": ["CEO", "Procurement"],
"max_contacts_per_company": 50
}'
行为说明
- 指定的行只要有一行不存在、跨表或不在有效范围内,就整次拒绝,不静默扩大范围
- 沿用原有预扣、缓存和结算
- 返回 202、kind、field_key、reused 和 run
- 轮询支持 page(默认 1)、limit(默认 50,最大 100)、view=progress/results(默认 progress)
- results 返回该 run 所涉及行的当前有效结果,包含后续人工修改,不表示历史 provider 原始快照
- 调研不自动启动触达

