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.
Quick Start
Example Request
Example Response
The start answers at once, with status202:
How it works
1
Start the task
POST /v2/web-router/browse answers at once with a job_id. Every start is
a new, billed task. Nimble picks the provider and keeps the task with it.2
The agent works in a browser
It starts at
start_url, stays on allowed_domains, and takes at most
max_steps actions.3
Poll it
GET /v2/web-router/browse/{job_id}?wait=60 waits up to a minute for the
task to end. Call again while state is queued or running.4
Read the answer
Once
state is completed, result.response holds the answer, the steps
the agent reported, and a recording when the provider made one.Parameters
Response fields
Job states and errors
502or504on a poll: the provider did not answer that poll. The task goes on, so poll again.410on a poll: the provider no longer knows the task. Read answers soon after a task completes.- Cancel:
POST /v2/web-router/browse/{job_id}/cancelstops the task and returns it as it stands. A stopped task cannot be resumed.
Next Steps
Research
Answer questions across many sources, with citations
API Reference
Every field of the request and response