Overview
This page documents all available parameters when creating tasks via the SDK or API. Parameters allow you to customize task behavior, specify execution settings, and configure data extraction.Required Parameters
The goal or task description for Skyvern to accomplish. This tells Skyvern what you want it to do.Examples:
"Find the top post on hackernews today""Fill out the contact form with my information""Get a quote for car insurance""Navigate to the invoices page and download all PDFs"
Core Parameters
The starting URL for the task. If not provided, Skyvern will attempt to determine an appropriate URL based on the prompt.Examples:
"https://www.geico.com""https://news.ycombinator.com""https://example.com/contact"
The engine that powers the agent task. Available options:
skyvern-2.0(default): Latest Skyvern agent, performs well with complex and multi-step tasksskyvern-1.0: Good for simple tasks like filling a form or searching for informationopenai-cua: Uses OpenAI’s Computer Use Agent modelanthropic-cua: Uses Anthropic’s Claude Sonnet 3.7 model with computer use toolui-tars: Specialized UI interaction engine
A human-readable title for the task. Useful for organizing and identifying tasks in the UI.Example:
"Get car insurance quote"Maximum number of steps the task can take. Task will fail if it exceeds this number.Important: You are charged per step, so set this to a reasonable value.Default: Varies based on your account settingsExample:
50Data Extraction
The schema for data to be extracted from the webpage. For consistent data output, it’s highly recommended to use JSON Schema format.Example:See Data Extraction for more details.
Browser & Session
Run the task in a specific Skyvern browser session. Browser sessions persist the real-time state of the browser, allowing the next run to continue from where the previous run left off.Example:
"bs_a1b2c3d4e5f6"The Chrome DevTools Protocol (CDP) address for the task. Use this to connect to a specific browser instance.Examples:
"http://127.0.0.1:9222""ws://127.0.0.1:9222/devtools/browser/1234567890"
Geographic proxy location to route the browser traffic through. Only available in Skyvern Cloud.Available options:
RESIDENTIAL: Default, random US residential proxyRESIDENTIAL_ES: SpainRESIDENTIAL_IE: IrelandRESIDENTIAL_GB: United KingdomRESIDENTIAL_IN: IndiaRESIDENTIAL_JP: JapanRESIDENTIAL_FR: FranceRESIDENTIAL_DE: GermanyRESIDENTIAL_NZ: New ZealandRESIDENTIAL_PH: PhilippinesRESIDENTIAL_ZA: South AfricaRESIDENTIAL_AR: ArgentinaRESIDENTIAL_AU: AustraliaRESIDENTIAL_ISP: ISP proxyNONE: No proxy
Authentication & 2FA
Identifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern.See TOTP Documentation for details.
URL that serves TOTP/2FA/MFA codes for Skyvern to use during task execution.See TOTP Documentation for details.
Webhooks & Callbacks
After a task finishes, send an update to this URL.Example:
"https://your-domain.com/webhook"See Webhooks FAQ for details.Error Handling
Custom mapping of error codes to error messages if Skyvern encounters specific situations.Example:
Advanced Configuration
Optional model configuration for custom LLM settings.Example:
Extra HTTP headers for the requests in the browser.Example:
Custom user agent string for the browser.Example:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"Whether to include action history when verifying that the task is complete.
The maximum number of scrolls for the post-action screenshot. When set to
None or 0, it takes the current viewport screenshot.Example: 10Whether to publish this task as a reusable workflow. Only available for
skyvern-2.0 engine.Whether to run the task with agent or code execution.Options:
"agent", "code"The maximum time to wait for downloads to complete, in seconds. If not set, defaults to
BROWSER_DOWNLOAD_TIMEOUT from settings.Example: 15.0SDK-Specific Parameters
Python SDK Only
When
True, the SDK will poll the task status until it reaches a final state (completed, failed, terminated, timed_out, or canceled).Timeout in seconds when
wait_for_completion=True. Only used with Python SDK.Example: 300.0 (5 minutes)Additional options for the HTTP request, such as custom timeout or headers. Python SDK only.
Example: Complete Task Configuration
Next Steps
Data Extraction
Learn how to extract structured data with JSON schemas
Monitoring Runs
Monitor task execution and check status