> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/ai-ml/skyvern.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Skyvern

Skyvern automates browser tasks with AI. Run browser tasks and agents, manage workflows and runs, tag agents and runs, and buy credits.

![Skyvern logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-57560d783b10d317f517d2251f88d220965e2cbf%2Fskyvern.png?alt=media)

|                    |                                                                        |
| ------------------ | ---------------------------------------------------------------------- |
| **Category**       | [AI and ML](https://docs.fastn.ai/connectors/catalog/ai-ml.md)         |
| **Website**        | [skyvern.com](https://skyvern.com)                                     |
| **Authentication** | API key                                                                |
| **Slug**           | `skyvern`                                                              |
| **On fastn.ai**    | [Embed Skyvern in your product](https://fastn.ai/integrations/skyvern) |

## Setup

Your customers enter their API key for Skyvern when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Skyvern from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Skyvern**.
2. Select **Connect** on the Skyvern card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Skyvern's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Apply Agent Tags</td><td><code>applyAgentTags</code></td><td>Add or remove tags on a Skyvern agent (workflow).</td></tr><tr><td>Apply Run Tags</td><td><code>applyRunTags</code></td><td>Add or remove tags on a Skyvern workflow run. Tags are key:value strings used to group and filter runs.</td></tr><tr><td>Apply To Job</td><td><code>applyToJob</code></td><td>Fill in and SUBMIT a real job application on the employer's site using a resume URL and optional login. This sends real data to a real company - only run it for an application you intend to send.</td></tr><tr><td>Batch Get Agent Tags</td><td><code>batchGetAgentTags</code></td><td>Fetch the tags of several Skyvern agents in one GET, passing a comma-separated list of agent permanent ids.</td></tr><tr><td>Batch Get Agent Tags By Body</td><td><code>batchGetAgentTagsPost</code></td><td>Fetch the tags of many Skyvern agents by POSTing the id list in the body. Use this instead of the GET form when the list is too long for a URL.</td></tr><tr><td>Batch Get Run Tags</td><td><code>batchGetRunTags</code></td><td>Fetch the tags of several Skyvern workflow runs in one GET, passing a comma-separated list of run ids.</td></tr><tr><td>Batch Get Run Tags By Body</td><td><code>batchGetRunTagsPost</code></td><td>Fetch the tags of many Skyvern workflow runs by POSTing the id list in the body. Use this instead of the GET form when the list is too long for a URL.</td></tr><tr><td>Bulk Cancel Runs</td><td><code>bulkCancelRuns</code></td><td>Cancel several Skyvern runs in one call by passing a list of run ids. Returns per-run cancellation results.</td></tr><tr><td>Buy Credit Pack</td><td><code>buyCreditPack</code></td><td>Purchase additional Skyvern credit packs for the organization. SPENDS REAL MONEY on the card on file - only run this when a top-up is genuinely intended.</td></tr><tr><td>Cancel Run</td><td><code>cancelRun</code></td><td>Cancel a queued or running Skyvern run by id, stopping the browser session and any further credit spend.</td></tr></tbody></table>

<details>

<summary>View 138 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Cancel Task (Legacy API)</td><td><code>cancelTaskLegacy</code></td><td>Cancel a running task through Skyvern's original /api/v1 task API, stopping the browser and further credit spend.</td></tr><tr><td>Cancel Workflow Run (Legacy API)</td><td><code>cancelWorkflowRunLegacy</code></td><td>Cancel a running workflow run through Skyvern's original /api/v1 workflow API, stopping the browser and further credit spend.</td></tr><tr><td>Change Plan Tier</td><td><code>changePlanTier</code></td><td>Move the Skyvern organization to a different subscription tier. CHANGES RECURRING BILLING and can charge the card on file immediately - only run this when a plan change is genuinely intended.</td></tr><tr><td>Check Server Health</td><td><code>checkServerHealth</code></td><td>Liveness probe for the Skyvern API. Returns a plain-text confirmation that the server is running.</td></tr><tr><td>Close Browser Session</td><td><code>closeBrowserSession</code></td><td>Close a live Skyvern browser session, releasing the browser and stopping uptime billing.</td></tr><tr><td>Convert Curl To HTTP Block</td><td><code>convertCurlToHttpBlock</code></td><td>Turn a curl command into the JSON shape of a Skyvern HTTP workflow block, so an existing API call can be pasted straight into an agent.</td></tr><tr><td>Create Agent</td><td><code>createAgent</code></td><td>Create a reusable Skyvern agent (workflow) from a JSON or YAML block definition. Returns the created agent with its workflow_id and workflow_permanent_id.</td></tr><tr><td>Create Agent Schedule</td><td><code>createAgentSchedule</code></td><td>Create a recurring cron schedule that runs a Skyvern agent automatically. Each firing starts a real browser run and consumes credits.</td></tr><tr><td>Create Browser Profile</td><td><code>createBrowserProfile</code></td><td>Create a reusable Skyvern browser profile that stores cookies, local storage and proxy settings so later runs start already logged in.</td></tr><tr><td>Create Browser Session</td><td><code>createBrowserSession</code></td><td>Start a persistent Skyvern browser session that several runs can share. The session stays alive and bills browser uptime until it is closed or times out.</td></tr><tr><td>Create Credential</td><td><code>createCredential</code></td><td>Store a login, credit card or TOTP secret in the Skyvern vault so agents can sign in to a site without the secret ever appearing in a prompt. The secret is write-only: reads return only metadata.</td></tr><tr><td>Create Credential Folder</td><td><code>createCredentialFolder</code></td><td>Create a folder for grouping stored Skyvern credentials.</td></tr><tr><td>Create Custom LLM</td><td><code>createCustomLlm</code></td><td>Register a bring-your-own-key LLM (OpenAI, Anthropic, Azure, Bedrock, Gemini, OpenAI-compatible) that Skyvern agents can be pointed at instead of the built-in models.</td></tr><tr><td>Create Folder</td><td><code>createFolder</code></td><td>Create a folder for organising Skyvern agents.</td></tr><tr><td>Create Script</td><td><code>createScript</code></td><td>Create a Skyvern script from a set of Python files, optionally attached to an agent or generated from a run, so the run can be replayed deterministically.</td></tr><tr><td>Create Tag Value</td><td><code>createTagValue</code></td><td>Define a new value under a Skyvern tag key, optionally with a display colour.</td></tr><tr><td>Create Task (Legacy API)</td><td><code>createTaskLegacy</code></td><td>Start a browser task through Skyvern's original /api/v1 task API, using navigation_goal and data_extraction_goal instead of a single prompt. Drives a real browser and consumes credits.</td></tr><tr><td>Create UI Session Token</td><td><code>createUiSessionToken</code></td><td>Mint a short-lived Skyvern UI session JWT for the organization, used to embed the Skyvern web UI or a live browser stream. SECURITY: the returned token authenticates as the organization - treat it as a credential, never log it, and rely on its short expiry.</td></tr><tr><td>Create Workflow (Legacy API)</td><td><code>createWorkflowLegacy</code></td><td>Create a workflow from a YAML definition through Skyvern's original /api/v1 workflow API. The body is raw YAML, not JSON.</td></tr><tr><td>Delete Agent</td><td><code>deleteAgent</code></td><td>Delete a Skyvern agent (workflow) by id. The agent stops appearing in List Agents and can no longer be run.</td></tr><tr><td>Delete Agent Schedule</td><td><code>deleteAgentSchedule</code></td><td>Permanently delete a cron schedule from a Skyvern agent.</td></tr><tr><td>Delete Agent Tag</td><td><code>deleteAgentTag</code></td><td>Remove one tag key from a Skyvern agent.</td></tr><tr><td>Delete Browser Profile</td><td><code>deleteBrowserProfile</code></td><td>Delete a Skyvern browser profile and the stored cookies and local storage it holds.</td></tr><tr><td>Delete Credential</td><td><code>deleteCredential</code></td><td>Permanently delete a stored Skyvern credential and its vault secret.</td></tr><tr><td>Delete Credential Folder</td><td><code>deleteCredentialFolder</code></td><td>Delete a Skyvern credential folder. The credentials inside are not deleted, only ungrouped.</td></tr><tr><td>Delete Custom LLM</td><td><code>deleteCustomLlm</code></td><td>Remove a registered custom LLM from the Skyvern organization.</td></tr><tr><td>Delete File</td><td><code>deleteFile</code></td><td>Delete a file previously uploaded to Skyvern, by its file id.</td></tr><tr><td>Delete Folder</td><td><code>deleteFolder</code></td><td>Delete a Skyvern agent folder. Optionally delete the agents inside it as well; by default they are moved to the root.</td></tr><tr><td>Delete Run Tag</td><td><code>deleteRunTag</code></td><td>Remove one tag key from a Skyvern workflow run.</td></tr><tr><td>Delete Tag Key</td><td><code>deleteTagKey</code></td><td>Delete a Skyvern tag key and every value under it, removing it from all agents and runs.</td></tr><tr><td>Delete Tag Value</td><td><code>deleteTagValue</code></td><td>Delete one value under a Skyvern tag key, removing it from every agent and run that carried it.</td></tr><tr><td>Delete Workflow (Legacy API)</td><td><code>deleteWorkflowLegacy</code></td><td>Delete a workflow through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>Deploy Script</td><td><code>deployScript</code></td><td>Publish a new revision of a Skyvern script by uploading its files, making that revision the one future runs replay.</td></tr><tr><td>Disable Agent Schedule</td><td><code>disableAgentSchedule</code></td><td>Pause a Skyvern agent schedule so it stops firing, without deleting it.</td></tr><tr><td>Enable Agent Schedule</td><td><code>enableAgentSchedule</code></td><td>Turn a Skyvern agent schedule back on so it fires again on its cron expression.</td></tr><tr><td>Extend Browser Session</td><td><code>extendBrowserSession</code></td><td>Push back the timeout of a live Skyvern browser session by a number of minutes. Extends billed browser uptime.</td></tr><tr><td>Extract Job Posting</td><td><code>extractJobPosting</code></td><td>Open a job advert URL in a browser and extract its structured details (title, company, location, requirements) using the Skyvern jobs recipe. Drives a real browser and consumes credits.</td></tr><tr><td>Generate AI Suggestion</td><td><code>generateAiSuggestion</code></td><td>Ask Skyvern's LLM to draft something for you from a prompt - most commonly a JSON data-extraction schema (suggestion type data_schema).</td></tr><tr><td>Get Agent</td><td><code>getAgent</code></td><td>Get a single Skyvern agent (workflow) by its permanent id, optionally at a specific version.</td></tr><tr><td>Get Agent Schedule</td><td><code>getAgentSchedule</code></td><td>Get one cron schedule of a Skyvern agent by its schedule id.</td></tr><tr><td>Get Agent Tag History</td><td><code>getAgentTagHistory</code></td><td>List the history of tag changes on a Skyvern agent, optionally limited to one tag key or a time window.</td></tr><tr><td>Get Agent Tags</td><td><code>getAgentTags</code></td><td>List the tags currently applied to one Skyvern agent.</td></tr><tr><td>Get Analytics Action Types</td><td><code>getAnalyticsActionTypes</code></td><td>Break down which browser action types (click, input, extract,...) Skyvern agents performed, for the named agents.</td></tr><tr><td>Get Analytics Anomalies</td><td><code>getAnalyticsAnomalies</code></td><td>List unusual changes Skyvern detected in run health, such as a sudden drop in success rate. Requires the anomaly-detection entitlement on the organization.</td></tr><tr><td>Get Analytics Summary</td><td><code>getAnalyticsSummary</code></td><td>Get run-health analytics for the Skyvern organization: total runs, success rate, average duration, credits consumed and a daily breakdown for the period.</td></tr><tr><td>Get Artifact Content</td><td><code>getArtifactContent</code></td><td>Download the raw content of a single Skyvern artifact (screenshot PNG, recording MP4, HAR, LLM prompt/response JSON) by artifact id. Supports an optional HTTP Range header for partial downloads of large binaries.</td></tr><tr><td>Get Billing State</td><td><code>getBillingState</code></td><td>Get the Skyvern organization's plan tier, included credits, credits consumed and credits remaining for the current billing period. Read this before launching runs, because every run spends credits.</td></tr><tr><td>Get Browser Profile</td><td><code>getBrowserProfile</code></td><td>Get one Skyvern browser profile by id, including its proxy settings and last verified login time.</td></tr><tr><td>Get Browser Profile Usage</td><td><code>getBrowserProfileUsage</code></td><td>List which Skyvern agents and runs currently use a browser profile, so you can see what breaks before deleting it.</td></tr><tr><td>Get Browser Session</td><td><code>getBrowserSession</code></td><td>Get one Skyvern browser session by id, including its CDP browser address and live-view URL.</td></tr><tr><td>Get Credential</td><td><code>getCredential</code></td><td>Get the metadata of one stored Skyvern credential by id. The stored secret itself is never returned.</td></tr><tr><td>Get Credential Folder</td><td><code>getCredentialFolder</code></td><td>Get one Skyvern credential folder by id.</td></tr><tr><td>Get Folder</td><td><code>getFolder</code></td><td>Get one Skyvern agent folder by id.</td></tr><tr><td>Get Organizations</td><td><code>getOrganizations</code></td><td>Get the Skyvern organizations the API key belongs to, including the org id, slug, default webhook callback URL and per-run step limits.</td></tr><tr><td>Get Run</td><td><code>getRun</code></td><td>Get the current status, output, recording URL and request of a single Skyvern run (task run or agent/workflow run) by its run id.</td></tr><tr><td>Get Run Tag History</td><td><code>getRunTagHistory</code></td><td>List the history of tag changes on a Skyvern workflow run, optionally limited to one tag key or a time window.</td></tr><tr><td>Get Run Tags</td><td><code>getRunTags</code></td><td>List the tags currently applied to one Skyvern workflow run.</td></tr><tr><td>Get Run Timeline</td><td><code>getRunTimeline</code></td><td>Get the ordered timeline of a run: every thought, action and block the Skyvern agent produced while executing it.</td></tr><tr><td>Get Runtime Config</td><td><code>getRuntimeConfig</code></td><td>Get the Skyvern deployment's runtime settings: which browser-streaming mode is active, the environment name and any active warnings.</td></tr><tr><td>Get Script</td><td><code>getScript</code></td><td>Get one cached Skyvern script by id, including its revision and file listing.</td></tr><tr><td>Get Server Version</td><td><code>getServerVersion</code></td><td>Return the git commit hash of the running Skyvern API server build.</td></tr><tr><td>Get Task (Legacy API)</td><td><code>getTaskLegacy</code></td><td>Get one task from Skyvern's original /api/v1 task API, including its status, extracted information and failure reason.</td></tr><tr><td>Get Task V2</td><td><code>getTaskV2</code></td><td>Get a Skyvern 2.0 (observer) task by id, including its plan summary, status and extracted output.</td></tr><tr><td>Get Workflow (Legacy API)</td><td><code>getWorkflowLegacy</code></td><td>Get one workflow and its block definition through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>Get Workflow Run (Legacy API)</td><td><code>getWorkflowRunLegacy</code></td><td>Get one workflow run, including its per-block outputs, through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>Get Workflow Run By ID (Legacy API)</td><td><code>getWorkflowRunByIdLegacy</code></td><td>Get a workflow run by its run id alone, without naming the workflow, through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>Get Workflow Run Timeline (Legacy API)</td><td><code>getWorkflowRunTimelineLegacy</code></td><td>Get the block-by-block timeline of a workflow run through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>List Agent Runs</td><td><code>listAgentRuns</code></td><td>List the runs of one Skyvern agent, filterable by status, error code, tag and creation date range.</td></tr><tr><td>List Agent Schedules</td><td><code>listAgentSchedules</code></td><td>List the cron schedules attached to one Skyvern agent.</td></tr><tr><td>List Agent Versions</td><td><code>listAgentVersions</code></td><td>List every saved version of a Skyvern agent, newest first, so a previous definition can be inspected or restored.</td></tr><tr><td>List Agents</td><td><code>listAgents</code></td><td>List the Skyvern agents (workflows) in the organization, with paging, text search, folder, status, tag and template filters.</td></tr><tr><td>List All Agent Runs</td><td><code>listAllAgentRuns</code></td><td>List agent (workflow) runs across every agent in the organization, filterable by status and error code.</td></tr><tr><td>List All Schedules</td><td><code>listAllSchedules</code></td><td>List every cron schedule in the Skyvern organization across all agents, with paging, status and search filters.</td></tr><tr><td>List All Workflow Runs (Legacy API)</td><td><code>listAllWorkflowRunsLegacy</code></td><td>List workflow runs across every workflow through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>List Artifacts By Step</td><td><code>listArtifactsByStep</code></td><td>List the artifacts produced by one agent step, addressed by step id alone without naming the task.</td></tr><tr><td>List Artifacts By Thought</td><td><code>listArtifactsByThought</code></td><td>List the artifacts attached to one agent thought (a planning step of a Skyvern 2.0 task).</td></tr><tr><td>List Artifacts By Workflow Run Block</td><td><code>listArtifactsByWorkflowRunBlock</code></td><td>List the artifacts produced by one block of a workflow run, addressed by workflow run block id.</td></tr><tr><td>List Available Models</td><td><code>listAvailableModels</code></td><td>List the LLM models a Skyvern run can be pointed at, as a map of model key to display name.</td></tr><tr><td>List Billing History</td><td><code>listBillingHistory</code></td><td>List the Skyvern organization's past invoices and credit purchases.</td></tr><tr><td>List Browser Profiles</td><td><code>listBrowserProfiles</code></td><td>List the saved Skyvern browser profiles, with paging, search and filters for deleted and managed profiles.</td></tr><tr><td>List Browser Sessions</td><td><code>listBrowserSessions</code></td><td>List the Skyvern browser sessions that are currently active and still billing browser uptime.</td></tr><tr><td>List Browser Types</td><td><code>listBrowserTypes</code></td><td>List the browser engines a Skyvern browser session can be launched with (Chrome, Microsoft Edge, Stealth Chromium).</td></tr><tr><td>List Credential Folders</td><td><code>listCredentialFolders</code></td><td>List the folders used to organise stored Skyvern credentials.</td></tr><tr><td>List Credentials</td><td><code>listCredentials</code></td><td>List the credentials stored in the Skyvern vault. Only metadata is returned; passwords, card numbers and TOTP seeds are never included.</td></tr><tr><td>List Custom LLMs</td><td><code>listCustomLlms</code></td><td>List the bring-your-own-key LLM configurations registered for the Skyvern organization.</td></tr><tr><td>List Folders</td><td><code>listFolders</code></td><td>List the agent folders in the organization, with paging and a text search.</td></tr><tr><td>List Google OAuth Credentials</td><td><code>listGoogleOauthCredentials</code></td><td>List the Google accounts connected to Skyvern via Google OAuth, which agents use for Google Sheets blocks.</td></tr><tr><td>List Google Sheets Spreadsheets</td><td><code>listGoogleSheetsSpreadsheets</code></td><td>List the Google Sheets spreadsheets reachable through a Google account connected to Skyvern, for use in a Google Sheets workflow block.</td></tr><tr><td>List Job Recipe Runs</td><td><code>listJobRecipeRuns</code></td><td>List the runs created by the Skyvern job-application recipes (extract posting, apply to job), with paging.</td></tr><tr><td>List Microsoft OAuth Credentials</td><td><code>listMicrosoftOauthCredentials</code></td><td>List the Microsoft accounts connected to Skyvern via Microsoft OAuth.</td></tr><tr><td>List Organization API Keys</td><td><code>listOrganizationApiKeys</code></td><td>List the API tokens issued for a Skyvern organization. SECURITY WARNING: the response contains each token in plaintext, including the one this connection authenticates with. Treat the output as a secret and never log or forward it.</td></tr><tr><td>List Run Artifacts</td><td><code>listRunArtifacts</code></td><td>List the artifacts (screenshots, HTML snapshots, recordings, LLM prompts and responses) produced by a run, optionally filtered by artifact type.</td></tr><tr><td>List Run Tag Suggestions</td><td><code>listRunTagSuggestions</code></td><td>List the tag keys and values Skyvern suggests when tagging a run, based on what the organization already uses.</td></tr><tr><td>List Runs</td><td><code>listRuns</code></td><td>List all task and workflow runs in the Skyvern organization, newest first. Supports pagination and status filtering.</td></tr><tr><td>List Scripts</td><td><code>listScripts</code></td><td>List the generated Python scripts Skyvern has cached for agents, which replay a run deterministically instead of re-driving the LLM.</td></tr><tr><td>List Step Artifacts</td><td><code>listStepArtifacts</code></td><td>List the artifacts (screenshots, HTML, LLM prompts and responses) produced by one step of a Skyvern task.</td></tr><tr><td>List Tag Keys</td><td><code>listTagKeys</code></td><td>List every tag key defined in the Skyvern organization, with its description.</td></tr><tr><td>List Tag Values</td><td><code>listTagValues</code></td><td>List the values defined under one Skyvern tag key, with their display colours.</td></tr><tr><td>List Task Actions</td><td><code>listTaskActions</code></td><td>List every browser action (click, type, select, extract) the Skyvern agent performed while running a task, with its reasoning and screenshot.</td></tr><tr><td>List Task Steps</td><td><code>listTaskSteps</code></td><td>List the agent steps of a Skyvern task, each with its order, status and output.</td></tr><tr><td>List Tasks (Legacy API)</td><td><code>listTasksLegacy</code></td><td>List task runs through Skyvern's original /api/v1 task API. Prefer List Runs for new work; this endpoint returns the older task-shaped records.</td></tr><tr><td>List Workflow Runs For Workflow (Legacy API)</td><td><code>listWorkflowRunsForWorkflowLegacy</code></td><td>List the runs of one workflow through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>List Workflow Versions (Legacy API)</td><td><code>listWorkflowVersionsLegacy</code></td><td>List every saved version of a workflow through Skyvern's original /api/v1 workflow API.</td></tr><tr><td>List Workflows (Legacy API)</td><td><code>listWorkflowsLegacy</code></td><td>List workflows through Skyvern's original /api/v1 workflow API. Equivalent to List Agents on the newer API.</td></tr><tr><td>Move Agent To Folder</td><td><code>moveAgentToFolder</code></td><td>Move a Skyvern agent into a folder, or pass a null folder id to move it back to the root.</td></tr><tr><td>Open Billing Portal</td><td><code>openBillingPortal</code></td><td>Create a Stripe billing-portal session for the Skyvern organization and return its URL, where an admin can manage the plan, payment method and invoices. SECURITY: the returned URL grants billing access without further login - treat it as a secret and hand it only to an authorised admin.</td></tr><tr><td>Preview Run Webhook Payload</td><td><code>previewRunWebhookPayload</code></td><td>Return the exact webhook payload and target URL Skyvern would deliver for a given run, without sending it. Use this to build or test a webhook receiver.</td></tr><tr><td>Rename Tag Value</td><td><code>renameTagValue</code></td><td>Rename one value under a Skyvern tag key everywhere it is used.</td></tr><tr><td>Replay Run Webhook</td><td><code>replayRunWebhook</code></td><td>Resend the completion webhook callback for a finished run, optionally to a different webhook URL. Use this to recover a delivery your endpoint missed.</td></tr><tr><td>Replay Task Webhook (Legacy API)</td><td><code>replayTaskWebhookLegacy</code></td><td>Resend the completion webhook for a finished task created through the original /api/v1 task API.</td></tr><tr><td>Reset Agent Browser Profile</td><td><code>resetAgentBrowserProfile</code></td><td>Clear the persisted browser profile (cookies, local storage, logged-in session) that a Skyvern agent reuses between runs, forcing the next run to start from a clean browser.</td></tr><tr><td>Retry Agent Run</td><td><code>retryAgentRun</code></td><td>Re-run a finished agent (workflow) run with the same parameters, creating a new attempt. Consumes Skyvern credits.</td></tr><tr><td>Rotate Organization API Key</td><td><code>rotateOrganizationApiKey</code></td><td>Issue a new Skyvern API token for the organization and invalidate the current one. DESTRUCTIVE: this revokes the key this connection authenticates with, so every existing integration stops working until it is re-connected with the new token.</td></tr><tr><td>Run Agent</td><td><code>runAgent</code></td><td>Start a run of an existing Skyvern agent (workflow), passing its input parameters. Returns the created workflow run. Consumes Skyvern credits.</td></tr><tr><td>Run File Download Task</td><td><code>runFileDownloadTask</code></td><td>Start a Skyvern task whose goal is to navigate a site and download files, returning them on the run. Consumes credits.</td></tr><tr><td>Run Login Task</td><td><code>runLoginTask</code></td><td>Start a Skyvern task that signs in to a website using a vaulted credential (Skyvern vault, Bitwarden, 1Password or Azure Key Vault) and leaves the browser logged in for later runs. Consumes credits.</td></tr><tr><td>Run Script</td><td><code>runScript</code></td><td>Execute a deployed Skyvern script instead of re-running the AI agent. Drives a real browser and consumes credits.</td></tr><tr><td>Run SDK Action</td><td><code>runSdkAction</code></td><td>Execute a single low-level browser action (click, input, extract, goto, scroll) against a URL, the primitive the Skyvern SDKs are built on. Drives a real browser.</td></tr><tr><td>Run Task</td><td><code>runTask</code></td><td>Start a Skyvern browser-automation task from a natural-language prompt. Skyvern opens a real browser, navigates to the given URL and works towards the goal. Returns the created run with its run_id and status. Consumes Skyvern credits.</td></tr><tr><td>Run Task V2</td><td><code>runTaskV2</code></td><td>Start a Skyvern 2.0 (observer) task from a single user prompt. Skyvern plans the whole multi-step browser job itself. Drives a real browser and consumes credits.</td></tr><tr><td>Run Workflow (Legacy API)</td><td><code>runWorkflowLegacy</code></td><td>Start a workflow run through Skyvern's original /api/v1 workflow API, passing workflow parameters. Drives a real browser and consumes credits.</td></tr><tr><td>Send Test Webhook</td><td><code>sendTestWebhook</code></td><td>Have Skyvern POST a sample run payload to a webhook URL so you can verify your receiver and signature check before wiring up real runs.</td></tr><tr><td>Send TOTP Code</td><td><code>sendTotpCode</code></td><td>Push a one-time 2FA code (or the SMS/email text containing it) to Skyvern so a waiting run can complete a two-factor login.</td></tr><tr><td>Send TOTP Code (Legacy API)</td><td><code>sendTotpCodeLegacy</code></td><td>Push a 2FA code to Skyvern through the original /api/v1 TOTP endpoint so a waiting run can finish a two-factor login.</td></tr><tr><td>Start Billing Checkout</td><td><code>startBillingCheckout</code></td><td>Create a Stripe checkout session for a Skyvern subscription and return its URL. Completing that checkout SPENDS REAL MONEY.</td></tr><tr><td>Update Agent</td><td><code>updateAgent</code></td><td>Replace the definition of an existing Skyvern agent, creating a new version of it. Pass the full JSON or YAML definition.</td></tr><tr><td>Update Agent Schedule</td><td><code>updateAgentSchedule</code></td><td>Change the cron expression, timezone, parameters or name of an existing Skyvern agent schedule.</td></tr><tr><td>Update Browser Profile</td><td><code>updateBrowserProfile</code></td><td>Rename a Skyvern browser profile or change its proxy settings, optionally rotating its sticky proxy session.</td></tr><tr><td>Update Browser Session</td><td><code>updateBrowserSession</code></td><td>Change whether a live Skyvern browser session saves its final browser state as a new browser profile when it closes.</td></tr><tr><td>Update Credential</td><td><code>updateCredential</code></td><td>Replace a stored Skyvern credential's name and secret, for example after a password rotation.</td></tr><tr><td>Update Credential Folder</td><td><code>updateCredentialFolder</code></td><td>Rename a Skyvern credential folder or change its description. At least one of title or description must be supplied.</td></tr><tr><td>Update Custom LLM</td><td><code>updateCustomLlm</code></td><td>Replace the configuration of a registered custom LLM, for example to change the model name, endpoint or API key.</td></tr><tr><td>Update Folder</td><td><code>updateFolder</code></td><td>Rename a Skyvern agent folder or change its description.</td></tr><tr><td>Update Organization</td><td><code>updateOrganization</code></td><td>Update organization-wide Skyvern settings: the default webhook callback URL every run reports to, the step limits that cap credit spend per run, and the default LLM.</td></tr><tr><td>Update Tag Key</td><td><code>updateTagKey</code></td><td>Change the description of a Skyvern tag key.</td></tr><tr><td>Update Tag Value Color</td><td><code>updateTagValueColor</code></td><td>Change the display colour of one value under a Skyvern tag key.</td></tr><tr><td>Update Workflow (Legacy API)</td><td><code>updateWorkflowLegacy</code></td><td>Replace a workflow's YAML definition through Skyvern's original /api/v1 workflow API, creating a new version.</td></tr><tr><td>Upload File</td><td><code>uploadFile</code></td><td>Upload a text file to Skyvern so a run can attach it to a form or read it. Returns a file id to pass in file_ids when starting a task or agent run.</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Run Canceled</td><td><code>canceled</code></td><td>Fires when a Skyvern run is cancelled through Cancel Run, Bulk Cancel Runs or the Skyvern UI. Same payload shape as Run Completed.</td></tr><tr><td>Run Completed</td><td><code>completed</code></td><td>Fires when a Skyvern run (task or agent/workflow run) finishes successfully. Registration is organization-wide: Skyvern stores one webhook_callback_url per organization, which the subscription code sets via; an individual run can override it with its own webhook_url. Skyvern signs each delivery with x-skyvern-signature (HMAC-SHA256 hex over the body, keyed with the organization's own API key) and x-skyvern-timestamp - verify these yourself, because the signing key is per-account and cannot be stored on a shared connector. Payload schema captured live from for a real workflow_run.</td></tr><tr><td>Run Failed</td><td><code>failed</code></td><td>Fires when a Skyvern run ends in failure. failure_reason and failure_category carry the cause, and output.error carries your custom code when error_code_mapping was supplied. Same payload shape as Run Completed, captured live from</td></tr><tr><td>Run Terminated</td><td><code>terminated</code></td><td>Fires when Skyvern stops a run because its terminate_criterion was met or the agent decided the goal is unreachable. Same payload shape as Run Completed.</td></tr><tr><td>Run Timed Out</td><td><code>timed_out</code></td><td>Fires when a Skyvern run exceeds its step or elapsed-time limit. Same payload shape as Run Completed.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/ai-ml/skyvern.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
