Skip to main content
Helpers run a purpose-built agent for a common job and return its run. Every method here also accepts request_options (Python) or a final requestOptions argument (TypeScript) to override the timeout, retries or headers for one call; see request options.

login

Log in to a website using either credential stored in Skyvern, Bitwarden, 1Password, or Azure Vault
Parameters
CredentialType
required
Where to get the credential from
str | None
Website URLDefault: None
str | None
ID of the Skyvern credential to use for login.Default: None
str | None
Bitwarden collection ID. You can find it in the Bitwarden collection URL. e.g. https://vault.bitwarden.com/vaults/collection_id/itemsDefault: None
str | None
Bitwarden item IDDefault: None
str | None
1Password vault IDDefault: None
str | None
1Password item IDDefault: None
str | None
Login instructions. Skyvern has default prompt/instruction for login if this field is not provided.Default: None
str | None
Webhook URL to send status updatesDefault: None
ProxyLocationInput
Proxy location to useDefault: None
str | None
Identifier for TOTP (Time-based One-Time Password) if requiredDefault: None
str | None
TOTP URL to fetch one-time passwordsDefault: None
str | None
ID of the browser session to use, which is prefixed by pbs_ e.g. pbs_123456Default: None
str | None
The CDP address for the task.Default: None
dict[str, str] | None
Additional HTTP headers to include in requestsDefault: None
int | None
Maximum number of times to scroll for screenshotsDefault: None
str | None
Azure Vault NameDefault: None
str | None
Azure Vault username keyDefault: None
str | None
Azure Vault password keyDefault: None
str | None
Azure Vault TOTP secret keyDefault: None
bool
Wait for the run to reach a final status before returning.Default: False · TypeScript: waitForCompletion
float
Maximum time to wait for completion, in seconds.Default: 1800
string
ID of a browser profile to reuse for this runTypeScript only
Record<string, string | undefined>
HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites.TypeScript only
Returns WorkflowRunResponse · TypeScript Promise<WorkflowRunResponse>
Example

download_files

Download a file from a website by navigating and clicking download buttons
Parameters
Instructions for navigating to and downloading the file
str | None
User-Agent string the browser sends.Default: None · TypeScript: x-user-agent
str | None
Website URLSent only when you pass it
str | None
Webhook URL to send status updatesSent only when you pass it
ProxyLocation | None
Proxy location to useSent only when you pass it
str | None
Identifier for TOTP (Time-based One-Time Password) if requiredSent only when you pass it
str | None
TOTP URL to fetch one-time passwordsSent only when you pass it
str | None
ID of the browser session to use, which is prefixed by pbs_ e.g. pbs_123456Sent only when you pass it
str | None
ID of a browser profile to reuse for this runSent only when you pass it
str | None
The CDP address for the task.Sent only when you pass it
dict[str, str | None] | None
Additional HTTP headers to include in requestsSent only when you pass it
dict[str, str | None] | None
HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites.Sent only when you pass it
int | None
Maximum number of times to scroll for screenshotsSent only when you pass it
str | None
Suffix or complete filename for the downloaded fileSent only when you pass it
float | None
Timeout in seconds for the download operationSent only when you pass it
int | None
Maximum number of steps to executeSent only when you pass it
boolean
TypeScript only
number
TypeScript only
Returns WorkflowRunResponse · TypeScript Promise<WorkflowRunResponse>
Example

get_version

Returns the current Skyvern server version (git SHA for official builds).
Returns dict[str, str] · TypeScript Promise<Record<string, string>> — Current server version Example