Skip to main content
GET
Poll a SmartBrowse run
Poll a SmartBrowse run. Returns the run state, page and item counts so far, and — once the run is done — the extracted result. Cost: Free. Polling never bills.

Polling pattern

Result shape

When data.run_status === "completed", the extracted items are at data.result.pages[].items. Each items entry matches the recipe’s saved schema.
data.credits_used is the run’s total credits (per-page accrual). The envelope’s outer credits_used is always 0 — polling itself is free.

Tips

  • data.result.drift (a number between 0 and 1) measures how much the page has changed since the recipe was authored. There’s no fixed “too high” cutoff — read it alongside data.items_extracted when deciding whether to re-author. See the SmartBrowse feature page.
  • data.result.warnings lists non-fatal issues (e.g. pagination stalled before reaching the configured limit).
  • For push delivery instead of polling, set up a webhook on the recipe from the dashboard.

Authorizations

X-API-Key
string
header
required

Generate from the dashboard. Format: wsg_live_<32 base62 chars>.

Path Parameters

id
string
required

Opaque run ID (~11 base62 chars).

Example:

"k7Xb9dRmQ2p"

Response

Run state returned.

status
enum<string>
required

Discriminator for the envelope variant.

Available options:
completed
request_id
string
required

Per-request id. Also returned as the X-Request-ID response header. Include it when reporting issues.

Example:

"req_aB3xY9Kp"

data
object
required
credits_used
integer
required

Always 0. Polling is free; the run's accrued credits are surfaced in data.credits_used.

Example:

0

credits_remaining
integer
required