读取智能体详情
curl --request GET \
--url https://revor.ai/api/v2/agents/{agentId}import requests
url = "https://revor.ai/api/v2/agents/{agentId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://revor.ai/api/v2/agents/{agentId}', 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/agents/{agentId}",
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/agents/{agentId}"
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/agents/{agentId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/agents/{agentId}")
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
/
agents
/
{agentId}
读取智能体详情
curl --request GET \
--url https://revor.ai/api/v2/agents/{agentId}import requests
url = "https://revor.ai/api/v2/agents/{agentId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://revor.ai/api/v2/agents/{agentId}', 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/agents/{agentId}",
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/agents/{agentId}"
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/agents/{agentId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/agents/{agentId}")
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/agents/{agentId} |
| 权限 | agents:read |
| 限流桶 | read |
| 返回 | 单个 item,含完整配置与绑定信息 |
路径参数
cURL
curl -X GET "https://revor.ai/api/v2/agents/{agentId}" \
-H "Authorization: Bearer sk-revor-REPLACE_ME"
响应
200
{
"ok": true,
"request_id": "req_xxx",
"item": {
"id": "agent-uuid",
"name": "客户开发助手",
"description": "面向制造业的主动触达智能体",
"status": "active",
"default_mode": "icebreaker",
"config_mode": "advanced",
"generation_contract_version": 2,
"updated_at": "2026-11-13T04:44:50.096+00:00",
"created_at": "2026-11-01T08:00:00.000+00:00",
"channel_bindings": {
"email": {
"account_id": "account-uuid",
"bound_at": "2026-11-10T12:00:00.000+00:00"
},
"linkedin": null,
"whatsapp": null
}
}
}
渠道绑定
channel_bindings 包含 linkedin、whatsapp、email;未绑定为 null,已绑定为:
{
"account_id": "UUID",
"bound_at": "timestamp"
}
GET /api/v2/connect/accounts。
行为说明
- 所有修改必须提供最近一次 GET 返回的
updated_at,原样作为expected_updated_at。 - 智能体不存在、已删除或不属于当前用户返回
404agent_not_found。

