> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 搜索人物

> 用自然语言发现人物候选，返回结构化资料、相关原文片段和来源链接。

## 接口概览

| | |
| - | - |
| 方法 | `POST` |
| 路径 | `/api/v2/search/people` |
| 权限 | 创建需要 `search:write` 和 `search:read`；读取 job 需要 `search:read` |
| 幂等性 | 通过 `Idempotency-Key` 请求头支持 |
| 返回 | 带人物条目的异步任务结果 |

## 请求

API 使用 `Idempotency-Key` 请求头进行安全重试。可传 `Prefer: wait=20` 等待结果；终态 HTTP 200，执行中 HTTP 202，使用返回的 job ID 查询 `/api/v2/jobs/{id}`。

### 参数

**query** `string` *required*

必填，1-1000 字符。地区、职位、行业等写在自然语言中，不代表严格字段过滤。

**limit** `integer` (default: 10)

整数 1-25，默认 10，表示最多返回数量，不保证足量或全部匹配。

**response.detail** `string` (default: standard)

`compact` / `standard`，默认 `standard`。

**response.include** `string[]` (default: \[])

默认 `[]`。人物支持 `experience`、`education`。

> [!WARNING]
>
> 未知参数会被拒绝。当前不支持游标分页、任意字段提取或联系方式保证。

### 请求示例

```bash cURL theme={null}
curl -X POST "https://revor.ai/api/v2/search/people" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME" \
  -H "Content-Type: application/json" \
  -H "Prefer: wait=20" \
  -d '{
    "query": "德国工业自动化公司的采购负责人",
    "limit": 10,
    "response": {
      "detail": "standard",
      "include": ["experience", "education"]
    }
  }'
```

## 返回字段

标准公共 job 外壳包含 `id`、`status`、`result`、`error`、`billing`。成功时 `result` 包含 `query`、`returned_count`、`items`。

每条结果包含：

* `id`：仅标识该任务内条目，不是全局人物 ID
* `target_kind`：`person`
* `entity`：结构化资料
* `evidence`：原文片段与来源链接

### 实体字段

**人物 compact** `object`

`name`、`profile_url`

**人物 standard** `object`

增加位置文本 `location`、明确在职经历 `positions`

**experience 扩展** `object`

`title`、`company_name`、`location`、`start_date`、`end_date`、`is_current`

**education 扩展** `object`

`institution_name`、`degree`、`start_date`、`end_date`

**evidence** `object`

`excerpts` 原文片段、`sources` 来源数组（`url`、`title`）

> [!NOTE]
>
> 缺失标量为 `null`，集合无记录为 `[]`，未请求的扩展字段省略。日期保留已知精度，如 `2024`、`2024-06`，不补造月日。结束日期为空时 `is_current=null`；`positions=[]` 不代表没有现职。人数等资料不是实时核验结果。来源页面与实体资料分开，托管资料页不冒充官网。搜索不生成 ICP 分数或验证状态，也不创建名单。

### 行为说明

* **限流：** API 与 MCP 共用会员 `expensive_create` 限流
* **并发：** 与公司搜索共享搜索任务并发桶
* 幂等重放和 job 查询不重复收费

## 积分

| 请求数量 | 每次积分 |
| - | -: |
| 1-10 | 3 |
| 11-25 | 8 |

成功零结果仍收费，搜索执行失败不收费；不足条数不补搜、不按条折算。详情、经历和教育字段不额外收费。最终以 `billing.charged_credits` 为准。

## MCP

`revor_search_people` 使用相同参数并增加 `idempotency_key`。工具可能直接返回终态，否则按 `next_action` 调用 `revor_get_job`。不要重复创建任务来检查进度。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.