This page covers all parameters you can pass toDocumentation Index
Fetch the complete documentation index at: https://skyvern-mintlify-refresh-session-endpoint-1776470899.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
run_task.
Only prompt is a required parameter.
Quick reference
| Parameter | Type | Use this to |
|---|---|---|
prompt (Required) | string | Give natural language instructions for the AI |
url | string | Give a starting URL for the task |
engine | string | Choose a different Agent model |
data_extraction_schema | object | Get consistent, structured JSON output |
max_steps | integer | Limit how long the Agent runs and cap costs |
proxy_location | string | object | Access geo-restricted content or reduce bot detection |
browser_session_id | string | Maintain state (cookies, login) across multiple tasks |
totp_identifier | string | Handle 2FA when pushing codes to Skyvern |
totp_url | string | Have Skyvern fetch 2FA codes from your endpoint |
error_code_mapping | object | Get custom error codes for programmatic handling |
webhook_url | string | Get notified when the task completes |
title | string | Label the task in the Skyvern UI |
extra_http_headers | object | Add custom headers (e.g., Authorization) to browser requests |
publish_workflow | boolean | Convert this task into a reusable workflow |
max_screenshot_scrolls | integer | Capture lazy-loaded content in screenshots |
browser_address | string | Connect to your own browser for local development |
include_action_history_in_verification | boolean | Improve verification accuracy for multi-step forms |
run_with | string | Choose whether to run with the AI agent or generated code |
model | object | Configure model settings (e.g., temperature) |
prompt
Required. Natural language instructions describing what the AI should do.
url
The starting page for the automation. Skyvern navigates from here based on your prompt.
engine
The AI engine that powers the task. These are not iterations—they’re suited for different purposes.
| Engine | Description |
|---|---|
skyvern-2.0 | Default. Multi-objective, flexible, handles complex multi-step tasks. 85.85% on WebVoyager benchmark. Slower and more expensive. |
skyvern-1.0 | Single objective, precise, faster, cheaper. Best for simple tasks like form filling or single-page extraction. |
openai-cua | OpenAI’s Computer Use Agent |
anthropic-cua | Anthropic Claude Sonnet with computer use |
ui-tars | UI-TARS model (Seed1.5-VL) via Doubao API |
data_extraction_schema
A JSON Schema defining the structure of output data.
Use this when you need consistent, typed responses.
max_steps
Maximum number of steps the task can take. The task fails if it exceeds this limit.
proxy_location
Route browser traffic through a residential proxy in a specific location.
Use this for geo-restricted content or to reduce bot detection.
Country-level pools:
| Value | Location |
|---|---|
RESIDENTIAL | Random US residential (default) |
RESIDENTIAL_GB | United Kingdom |
RESIDENTIAL_DE | Germany |
RESIDENTIAL_FR | France |
RESIDENTIAL_ES | Spain |
RESIDENTIAL_IE | Ireland |
RESIDENTIAL_IN | India |
RESIDENTIAL_JP | Japan |
RESIDENTIAL_AU | Australia |
RESIDENTIAL_CA | Canada |
RESIDENTIAL_BR | Brazil |
RESIDENTIAL_MX | Mexico |
RESIDENTIAL_AR | Argentina |
RESIDENTIAL_NZ | New Zealand |
RESIDENTIAL_ZA | South Africa |
RESIDENTIAL_IT | Italy |
RESIDENTIAL_NL | Netherlands |
RESIDENTIAL_PH | Philippines |
RESIDENTIAL_KR | South Korea |
RESIDENTIAL_SA | Saudi Arabia |
RESIDENTIAL_TR | Turkey |
RESIDENTIAL_ISP | ISP proxy |
US-CA | California, US |
US-NY | New York, US |
US-TX | Texas, US |
US-FL | Florida, US |
US-WA | Washington, US |
NONE | No proxy |
NONE to disable proxies.
browser_session_id
Run the task in an existing persistent browser session.
Use this to maintain state (cookies, localStorage) across multiple tasks.
totp_identifier
Identifier for TOTP codes when you push codes to Skyvern’s API.
Use this for two-factor authentication during task execution.
totp_url
URL that Skyvern calls to fetch TOTP codes when needed.
Use this when Skyvern should retrieve codes from your endpoint.
error_code_mapping
Map specific error conditions to custom error codes.
Use this to make programmatic error handling easier.
output contains {"error": "login_failed"} instead of a generic error message.
webhook_url
URL to receive a POST request when the task completes.
Use this instead of polling for production systems.
title
Display name for the task in the Skyvern UI.
extra_http_headers
Additional HTTP headers to include in browser requests.
publish_workflow
Convert this task into a reusable workflow. Only available for skyvern-2.0.
max_screenshot_scrolls
Number of scrolls for post-action screenshots.
Use this for pages with lazy-loaded content.
browser_address
Connect to a browser at a specific CDP address.
Use this for local development only.
run_with
Choose whether the task runs with the AI agent or generated code.
| Value | Description |
|---|---|
agent | Run with the AI agent (default). The agent analyzes screenshots and decides actions in real time. |
code | Run with generated code. Faster and more deterministic, but requires a previously published workflow. |
model
Optional model configuration for the task.
include_action_history_in_verification
Include action history when verifying task completion. Default: false.
Next steps
Extract Structured Data
Define a schema to get typed JSON output
Run a Task
Execute tasks and retrieve results

