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

# Start research run

> Start a research run on an existing table to discover contacts or custom fields.

Start a research run on an existing table. Choose scope and research kind to discover key contacts, website contact channels, or custom data fields.

## Overview

| | |
| - | - |
| Method | `POST` |
| Path | `/api/v2/websets/{websetId}/research/runs` |
| Permission | `websets.research:write` |
| Idempotency | Required via `Idempotency-Key` header |
| Returns | `202` with run ID, kind, field key, and reused flag |

## Path parameters

**websetId** `string` *required*

Table UUID to research.

## Request body

**scope** `object` *required*

Must be one of:

* `{"mode":"all"}` - research the entire table
* `{"mode":"selected","item_ids":["UUID"]}` - research up to 1000 specific rows

**kind** `string` *required*

One of `key_contacts`, `website_contacts`, or `custom`.

**label** `string`

Optional display label for the research column.

**force** `boolean` (default: false)

If `true`, force refresh even if cached results exist. May re-trigger billing.

## Research kinds

> [accordion] key\_contacts
>
> Discover key contacts by job title.
>
> * `positions` - array of 1-24 strings, maximum 60 characters each
> * `max_contacts_per_company` - 1-50, default 50
> * Result column key: `snovio_key_contacts`

> [accordion] website\_contacts
>
> Extract contact channels from the company website.
>
> * `channels` required - choose from `email`, `whatsapp`, `phone`
> * Result column key: `company_social_contacts`

> [accordion] custom
>
> Research a custom question.
>
> * `field_key` - column key to create or reuse
> * `question` - the research question
> * `field_type` - `text`, `number`, `boolean`, or `list`
> * `subject_mode` - `company` or `person`
> * `allowed_options` - optional, for `list` type
> * `locale` - optional
>
> Employee count uses custom research.

## Request example

```json Request body theme={null}
{
  "kind": "key_contacts",
  "scope": {
    "mode": "all"
  },
  "positions": ["CEO", "Procurement"],
  "max_contacts_per_company": 50
}
```

## Behavior

* Invalid or inaccessible selected items reject the entire request
* Existing run, billing, caching, and worker behavior is reused
* Creation returns 202 with `run`, `kind`, `field_key`, and `reused`
* Poll with `page`, `limit` (maximum 100), and `view=progress` or `view=results`
* Results are current effective values, including manual edits, not historical raw provider responses
* Research does not automatically start outreach

```bash cURL theme={null}
curl -X POST "https://revor.ai/api/v2/websets/{websetId}/research/runs" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME" \
  -H "Idempotency-Key: research-run-001" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "key_contacts",
    "scope": {
      "mode": "all"
    },
    "positions": ["CEO", "Procurement"],
    "max_contacts_per_company": 50
  }'
```


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