Skip to main content
GET
Get discovery criteria and strategy
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

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

cURL

Response

200

Response fields

boolean
Whether the request succeeded.
string
Request identifier.
string
Webset ID.
string
Current webset status.
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.
boolean
Whether criteria are ready to display.
boolean
Whether strategy is ready to display.
object[]
Criteria list.
object | null
Search strategy; null before it is ready.
string
Criteria updated time.
string
Strategy available time.
string
Strategy updated time.

Readiness

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.