Browser tasks
Browser task status
Check a browser task and read its result. Send one request and get JSON back. Examples in cURL, TypeScript and Python. A failed call costs nothing.
POST
result is null while the task runs. When it ends, result says whether the goal was met, why it stopped if not, and the steps taken. A task is kept for 24 hours.
Free.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Cut every text value in the response to this many characters. A value that was cut ends with …, and a page whose text was cut has isTruncated set to true. A screenshot is never cut. Leave it out to get the full text.
Required range:
x >= 1Body
application/json
The id browser.task returned.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$