Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use /v1/automation/run-async or /v1/automation/run-sse instead.
API key for authentication. Get your key from the API Keys page.
Automation task parameters
Target website URL to automate
"https://example.com"
Natural language description of what to accomplish on the website
1"Find the pricing page and extract all plan details"
Browser profile for execution. LITE uses standard browser, STEALTH uses anti-detection browser.
lite, stealth "lite"
Proxy configuration
Name of the integration making this API call (e.g., "dify", "zapier", "n8n"). Used for analytics.
"dify"
Feature flags to enable for this run
Opt-in to vault credentials for this run. When true, enabled vault items are included. Defaults to false.
true
Scope vault credentials to specific item IDs. Requires use_vault to be true. If omitted with use_vault: true, all enabled items are used.
11["item_abc123", "item_def456"]
Automation completed successfully. Returns run details and the extracted result.
Automation run response. Check status to determine success/failure. On success: result is populated, error is null. On failure: result is null, error contains message.
Unique identifier for the automation run
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Final status of the automation run
COMPLETED, FAILED "COMPLETED"
ISO 8601 timestamp when the run started
"2024-01-01T00:00:00Z"
ISO 8601 timestamp when the run finished
"2024-01-01T00:00:30Z"
Number of steps taken during the automation
5
Structured JSON result extracted from the automation. Null if the run failed.
{ "product": "iPhone 15", "price": "$799" }
Error details. Null if the run succeeded.