查询调研进度与结果
curl --request GET \
--url https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}import requests
url = "https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}', 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/{runId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body表格智能调研
查询调研进度与结果
获取指定调研任务的进度或当前有效结果。
GET
/
api
/
v2
/
websets
/
{websetId}
/
research
/
runs
/
{runId}
查询调研进度与结果
curl --request GET \
--url https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}import requests
url = "https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}', 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/{runId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body查询指定调研任务的状态、进度或当前有效结果。支持
progress 和 results 两种视图。
接口概览
| 方法 | GET |
| 路径 | /api/v2/websets/{websetId}/research/runs/{runId} |
| 权限 | websets.research:read |
路径参数
Query 参数
请求示例
cURL
curl "https://revor.ai/api/v2/websets/webset-uuid/research/runs/run-uuid?view=progress" \
-H "Authorization: Bearer sk-revor-REPLACE_ME"
响应
返回调研进度或结果。results 视图返回该 run 所涉及行的当前有效结果,包含后续人工修改,不表示历史 provider 原始快照。
200
{
"run": {
"id": "run-uuid",
"kind": "key_contacts",
"field_key": "snovio_key_contacts",
"reused": false,
"status": "running"
}
}

