WebRouter is in closed beta. It’s available to selected accounts, and the API may still change. To get access, talk to the Nimble team.
effort. It runs as a job: start it, then poll it until it ends. For a quick lookup, use Search.
Quick Start
Example Request
Example Response
The start answers at once, with status202:
How it works
1
Start the run
POST /v2/web-router/research answers at once with a job_id. Every start
is a new, billed run. Nimble picks the provider and keeps the run with it.2
Poll it
GET /v2/web-router/research/{job_id}?wait=60 waits up to a minute for the
run to end. Call again while state is queued or running.3
Read the answer
Once
state is completed, result.response holds the answer, the
citations, and structured data when an output_schema was sent.Parameters
query - Required
query - Required
effort
effort
How much work the run does, and so how long it takes and what it costs. Unset is each provider’s own default, which for some is a deep and costly tier.Options:
low: a quick pass, closest in cost to a deep searchmedium: a typical agentic runhigh: several rounds of gathering and cross-checking
output_schema
output_schema
records
records
include_domains / exclude_domains
include_domains / exclude_domains
Structured output
Send anoutput_schema to get data instead of prose:
result.response.structured. Each citation’s field names the part of the answer it backs, as a JSON path into structured or a marker in answer.
Job states and errors
502or504on a poll: the provider did not answer that poll. The run goes on, so poll again.410on a poll: the provider no longer knows the run. Read answers soon after a run completes.- Cancel:
POST /v2/web-router/research/{job_id}/cancelstops the run and returns it as it stands. A stopped run cannot be resumed.
Next Steps
Browse
Have an agent work through a site in a real browser
API Reference
Every field of the request and response