Get Browse
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.
Where a browse task stands, in result, with its answer and the steps the agent took in result.response once state is ‘completed’; meta names the tool. Pass wait=60, so one call waits up to a minute for the task to end, and call again only while state is ‘queued’ or ‘running’; it then ends ‘completed’, ‘failed’ or ‘cancelled’. Polling starts nothing new: poll rather than start the task again. A 410 means the provider no longer knows the task: how long an ended task stays readable depends on the provider, so read its answer soon after it completes, and start a new task only if the answer is still needed. A 502 or 504 means the provider did not answer this poll, not that the task failed: it goes on, so poll again.