Connect to the API
Keep your API key in an environment variable. Send it in theAuthorization
header with the Bearer prefix.
enabled value is true and whose
locked value is false. Use its id in your run request.
Submit a test
ReplaceDEVICE_ID with your chosen device ID and set start_url to a site you
are authorized to test. Describe the task in test_task.
202. Save the id from the response to retrieve its
progress. Creating a run starts test execution and can consume account usage.
Keep the same idempotency key and request body when retrying an uncertain
submission. Use a new key for a new test. Reusing a key with a changed request
returns HTTP
409.Follow the run
ReplaceRUN_ID with the returned run ID:
status describes execution progress; outcome describes its result.
A finished run has status: "complete". Open the returned run_url while signed
in to the owning account to review the run in your dashboard.
Retrieve a page of logs:
next_cursor, pass that value unchanged as the cursor
query parameter to retrieve the next page.