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

# Get discovery criteria and strategy

> The existing GET /api/v2/websets/{webset_id}/strategy endpoint remains supported with the same parameters, response fields, and permissions. Both URLs execute the same operation.

Returns the currently persisted criteria and search strategy. It does not start a model call or search and does not consume credits.

## At a glance

| | |
| - | - |
| Method | `GET` |
| Path | `/api/v2/prospect-lists/{webset_id}/search-plan` |
| Permission | `websets:read` |
| Returns | `200` with `criteria` and `strategy` |

The existing `GET /api/v2/websets/{webset_id}/strategy` endpoint remains supported with the same parameters, response fields, and permissions. Both URLs execute the same operation. The Webset does not need to be complete.

## Request

```bash cURL theme={null}
curl "https://revor.ai/api/v2/prospect-lists/WEBSET_ID/search-plan" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME"
```

## Response

```json 200 theme={null}
{
  "ok": true,
  "request_id": "req_xxx",
  "webset_id": "webset-uuid",
  "webset_status": "searching",
  "readiness": "ready",
  "criteria_ready": true,
  "strategy_ready": true,
  "criteria": [
    {
      "id": "criterion-1",
      "description": "Manufactures, sells, rents, or repairs excavators",
      "type": "business_fit",
      "weight": 0.65,
      "required": true,
      "active": true
    }
  ],
  "strategy": {
    "query_groups": [
      {
        "angle": "North American excavator dealers and rentals",
        "rationale": "Cover regional dealerships and equipment-rental businesses",
        "queries": [
          {
            "text": "excavator dealer rental United States Canada",
            "user_location": "US"
          }
        ]
      }
    ],
    "additional_queries": [],
    "rounds": []
  },
  "criteria_updated_at": "2026-09-24T07:58:08.000Z",
  "strategy_available_at": "2026-09-24T07:58:12.000Z",
  "strategy_updated_at": "2026-09-24T07:58:12.000Z"
}
```

## Response fields

**ok** `boolean`

Whether the request succeeded.

**request\_id** `string`

Request identifier.

**webset\_id** `string`

Webset ID.

**webset\_status** `string`

Current webset status.

**readiness** `string`

Readiness state:

* `generating_criteria`: criteria are still being generated.
* `planning`: criteria are ready and strategy planning continues.
* `ready`: the strategy can be displayed.
* `failed` / `cancelled`: the operation failed or was cancelled.

**criteria\_ready** `boolean`

Whether criteria are ready to display.

**strategy\_ready** `boolean`

Whether strategy is ready to display.

**criteria** `object[]`

Criteria list.

**properties**

**id** `string`

Criterion ID.

**description** `string`

Criterion description.

**type** `string`

Criterion type.

**weight** `number`

Weight.

**required** `boolean`

Whether required.

**active** `boolean`

Whether active.

**strategy** `object | null`

Search strategy; `null` before it is ready.

**properties**

**query\_groups** `object[]`

Query groups.

**properties**

**angle** `string`

Angle.

**rationale** `string`

Rationale.

**queries** `object[]`

Query list.

**properties**

**text** `string`

Query text.

**user\_location** `string`

User location.

**additional\_queries** `string[]`

Additional queries.

**rounds** `object[]`

Search rounds.

**criteria\_updated\_at** `string`

Criteria updated time.

**strategy\_available\_at** `string`

Strategy available time.

**strategy\_updated\_at** `string`

Strategy updated time.

## Readiness

> [!NOTE]
>
> Display `criteria` after `criteria_ready=true` and `strategy` after `strategy_ready=true`. Before that, `strategy=null`. The SSE `webset.strategy` event sends the same complete presentation snapshot.


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