Skip to main content
POST
Start automation asynchronously

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key from the API Keys page.

Body

application/json

Automation task configuration

url
string<uri>
required

Target website URL to automate

Example:

"https://example.com"

goal
string
required

Natural language description of what to accomplish on the website

Minimum string length: 1
Example:

"Find the pricing page and extract all plan details"

browser_profile
enum<string>

Browser profile for execution. LITE uses standard browser, STEALTH uses anti-detection browser.

Available options:
lite,
stealth
Example:

"lite"

api_integration
string

Name of the integration making this API call (e.g., "dify", "zapier", "n8n"). Used for analytics.

Example:

"dify"

agent_config
object

Agent behavior configuration

capture_config
object

Configure which data to capture during the run.

webhook_url
string<uri>

HTTPS URL to receive webhook notifications for run lifecycle events. Must use HTTPS.

use_vault
boolean

Opt-in to vault credentials for this run. When true, enabled vault items are included. Defaults to false.

Example:

true

use_profile
boolean

Opt-in to the default Browser Context Profile if Browser Context Profiles are enabled; legacy callers are silently ignored when the profiles feature is disabled. Returns 400 when enabled but no default profile is set.

Example:

true

profile_id
string

Browser Context Profile ID to use when use_profile is true.

Minimum string length: 1
Example:

"prof_abc123def4567890"

credential_item_ids
string[]

Scope vault credentials to specific credential URIs. Requires use_vault to be true. If omitted with use_vault: true, all enabled items are used.

Minimum array length: 1
Minimum string length: 1
Example:
proxy_config
object

Proxy configuration

output_schema
object

Optional provider-supported structured-output schema subset for the run result. Unsupported fields are rejected before the request is accepted.

Example:

Response

Run created and enqueued successfully. Returns run_id immediately. The automation will execute asynchronously.

Async automation run response. Returns run_id immediately without waiting for completion.

run_id
string | null
required

Unique identifier for the created automation run

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

error
object | null
required

Error details. Null if successful.