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

# Exa Websets

> Configure a workflow step that finds companies, people or pages that match a description and checks each one against your criteria

Use **Exa Websets** when you want a workflow step to build a checked list: companies, people or pages that match a description, where every result has been checked against rules you set.

## Configuration

| Option | Required | Description |
| - | - | - |
| Name | No | Label for the step in the workflow canvas. |
| What to find | Yes | A plain description of the companies, people or pages you want. This field supports workflow variables through **Insert Variable**. |
| Result type | No | **Let Exa decide**, **Companies**, **People**, **Articles** or **Research papers**. |
| Results to find | No | How many results to look for, from 1 to 100. The default is 10. This can also be one workflow variable that holds the number, such as `{{lead_count}}`. |
| Criteria | No | Up to 5 rules every result must meet, one per line. Leave it empty and the rules are written from your description. This field supports workflow variables through **Insert Variable**. |
| Extra details to look up | No | Up to 5 facts to find for every result, one per line, such as a LinkedIn profile or a funding round. This field supports workflow variables through **Insert Variable**. |
| People per company | No | For people, the most people to return from one company, from 1 to 25. |
| Charge Type | No | Value selected in **Charge type**. Available values are **Hosted** and **Personal**. |
| When the step fails | No | Controls whether the workflow should **Terminate Workflow** or **Continue** if this step fails. |

Add this step from the **Research** group in **Search steps...**.

This step takes longer than a search, because each result is checked before it is returned. Most runs finish in under a minute. A large list with several extra details can take a few minutes.

## Output

Click **Run** in the step header to test the step. Fetch Hive shows the list in **Output** after the run completes.

The output is an object. The list is in `items`:

```text theme={null}
{{step_2.output.items}}
```

| Field | Description |
| - | - |
| `items_count` | Number of results returned. |
| `requested_count` | Number of results you asked for. |
| `entity_type` | The result type that was used. |
| `complete` | `false` when the search was stopped at the time limit and the list is partial. |
| `items` | The results. |

Each item has:

| Field | Description |
| - | - |
| `type` | `company`, `person`, `article` or `research_paper`. |
| `name` | Company name, person name or page title. |
| `url` | The company website, the person's profile or the page. |
| `description` | Short note on why the result is relevant. |
| `criteria_met` | `true` when the result meets every rule. |
| `criteria` | One entry per rule, with `criterion`, `satisfied` (`yes`, `no` or `unclear`) and `reasoning`. |
| `enrichments` | One entry per extra detail, with `description` and `result`. |
| `location`, `industry`, `employees`, `about` | Company results. |
| `position`, `location`, `company` | People results. |
| `author`, `published_at` | Article and research paper results. |

To work through the list, add an **Iteration** step over `{{step_2.output.items}}` and read `{{item.name}}` and `{{item.url}}` inside it.

## Example

Add **Exa Websets** from the **Research** group in **Search steps...**.

Set **Name** to something like `Find target companies`.

In **What to find**, describe the list, for example `B2B software companies in the UK with 20 to 200 employees that sell to marketing teams`.

Set **Result type** to **Companies** and **Results to find** to `10`.

In **Criteria**, add one rule per line, for example `Headquartered in the United Kingdom` and `Has between 20 and 200 employees`.

If you want a fact for every company, add it in **Extra details to look up**, for example `LinkedIn profile URL of the head of marketing`.

Choose **Charge type**, click **Run**, and review the list in **Output**.

## Notes

* Use **Exa Websets** when every result has to match your rules. Use **Exa Search** when you want fast search results to read or filter yourself.
* The cost depends on how many results you ask for and how many extra details you add. Start with a small number of results while you tune the description and criteria.
* With **Hosted**, the step is billed from the cost of the search. With **Personal**, it uses the Exa key connected to your workspace.
* Results that Exa could not confirm against a rule show `unclear` in `criteria`. Check `criteria_met` before you act on a result.

See also: [Exa Search](https://docs.fetchhive.com/workflows/steps/web-research/exa-search.md), [Exa Similar](https://docs.fetchhive.com/workflows/steps/web-research/exa-similar.md), and [Testing and Iteration](https://docs.fetchhive.com/workflows/testing-and-iteration.md)


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