v1
latestOpenAPI 3.0.02026-07-26300209.6 KBAutomation
Start automation asynchronously
Creates and enqueues an automation run, returning the run_id immediately without waiting for completion. Use this for long-running automations where you want to poll for results separately.
post/v1/automation/run-async
Request body
Example request
{
"url": "https://example.com",
"goal": "Find the pricing page and extract all plan details",
"browser_profile": "lite",
"api_integration": "dify",
"agent_config": {
"mode": "strict",
"cursor_style": "standard",
"max_steps": 50,
"max_duration_seconds": 300
},
"use_vault": true,
"use_profile": true,
"profile_id": "prof_abc123def4567890",
"credential_item_ids": [
"cred:conn-abc:Work:item-123",
"cred:conn-def:Personal:item-456"
],
"proxy_config": {
"enabled": true,
"country_code": "US"
},
"output_schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"price": {
"type": "number"
}
},
"required": [
"title",
"price"
]
}
}Response
Run created and enqueued successfully. Returns run_id immediately. The automation will execute asynchronously.
Example response
{
"run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error"
}
}