Skyvern SDK API
The SDK API from Skyvern — 1 operation(s) for sdk.
The SDK API from Skyvern — 1 operation(s) for sdk.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/skyvern-com:skyvern-com-sdk-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Skyvern SDK API
description: API for Skyvern
version: 1.0.0
servers:
- url: https://api.skyvern.com
x-fern-server-name: Cloud
- url: https://api-staging.skyvern.com
x-fern-server-name: Staging
- url: http://localhost:8000
x-fern-server-name: Local
tags:
- name: SDK
paths:
/v1/sdk/run_action:
post:
tags:
- SDK
summary: Run an SDK action
description: Execute a single SDK action with the specified parameters
operationId: run_sdk_action_v1_sdk_run_action_post
parameters:
- name: x-api-key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
title: X-Api-Key
description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RunSdkActionRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RunSdkActionResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-excluded: true
x-fern-sdk-method-name: run_sdk_action
components:
schemas:
ExtractAction:
properties:
type:
type: string
const: extract
title: Type
default: extract
prompt:
type: string
title: Prompt
description: Extraction prompt
default: ''
extract_schema:
anyOf:
- additionalProperties: true
type: object
- items: {}
type: array
- type: string
- type: 'null'
title: Extract Schema
description: Schema for extraction
error_code_mapping:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
title: Error Code Mapping
description: Error code mapping for extraction
intention:
anyOf:
- type: string
- type: 'null'
title: Intention
description: The intention or goal of the extraction
data:
anyOf:
- type: string
- additionalProperties: true
type: object
- type: 'null'
title: Data
description: Additional context data
type: object
title: ExtractAction
description: Extract data action parameters.
ActAction:
properties:
type:
type: string
const: ai_act
title: Type
default: ai_act
intention:
type: string
title: Intention
description: Natural language prompt for the action
default: ''
data:
anyOf:
- type: string
- additionalProperties: true
type: object
- type: 'null'
title: Data
description: Additional context data
type: object
title: ActAction
description: AI act action parameters.
RunSdkActionRequest:
properties:
url:
type: string
title: Url
description: The URL where the action should be executed
browser_session_id:
anyOf:
- type: string
- type: 'null'
title: Browser Session Id
description: The browser session ID
browser_address:
anyOf:
- type: string
- type: 'null'
title: Browser Address
description: The browser address
workflow_run_id:
anyOf:
- type: string
- type: 'null'
title: Workflow Run Id
description: Optional workflow run ID to continue an existing workflow run
action:
oneOf:
- $ref: '#/components/schemas/ClickAction'
- $ref: '#/components/schemas/InputTextAction'
- $ref: '#/components/schemas/SelectOptionAction'
- $ref: '#/components/schemas/UploadFileAction'
- $ref: '#/components/schemas/ActAction'
- $ref: '#/components/schemas/ExtractAction'
- $ref: '#/components/schemas/LocateElementAction'
- $ref: '#/components/schemas/ValidateAction'
- $ref: '#/components/schemas/PromptAction'
title: Action
description: The action to execute with its specific parameters
discriminator:
propertyName: type
mapping:
ai_act: '#/components/schemas/ActAction'
ai_click: '#/components/schemas/ClickAction'
ai_input_text: '#/components/schemas/InputTextAction'
ai_select_option: '#/components/schemas/SelectOptionAction'
ai_upload_file: '#/components/schemas/UploadFileAction'
extract: '#/components/schemas/ExtractAction'
locate_element: '#/components/schemas/LocateElementAction'
prompt: '#/components/schemas/PromptAction'
validate: '#/components/schemas/ValidateAction'
type: object
required:
- url
- action
title: RunSdkActionRequest
description: Request to run a single SDK action.
UploadFileAction:
properties:
type:
type: string
const: ai_upload_file
title: Type
default: ai_upload_file
selector:
anyOf:
- type: string
- type: 'null'
title: Selector
description: CSS selector for the element
default: ''
file_url:
anyOf:
- type: string
- type: 'null'
title: File Url
description: File URL for upload
default: ''
intention:
type: string
title: Intention
description: The intention or goal of the upload
default: ''
data:
anyOf:
- type: string
- additionalProperties: true
type: object
- type: 'null'
title: Data
description: Additional context data
timeout:
type: number
title: Timeout
description: Timeout in milliseconds
default: 10000
type: object
title: UploadFileAction
description: Upload file action parameters.
RunSdkActionResponse:
properties:
workflow_run_id:
type: string
title: Workflow Run Id
description: The workflow run ID used for this action
result:
anyOf:
- {}
- type: 'null'
title: Result
description: The result from the action (e.g., selector, value, extracted data)
type: object
required:
- workflow_run_id
title: RunSdkActionResponse
description: Response from running an SDK action.
InputTextAction:
properties:
type:
type: string
const: ai_input_text
title: Type
default: ai_input_text
selector:
anyOf:
- type: string
- type: 'null'
title: Selector
description: CSS selector for the element
default: ''
value:
anyOf:
- type: string
- type: 'null'
title: Value
description: Value to input
default: ''
intention:
type: string
title: Intention
description: The intention or goal of the input
default: ''
data:
anyOf:
- type: string
- additionalProperties: true
type: object
- type: 'null'
title: Data
description: Additional context data
totp_identifier:
anyOf:
- type: string
- type: 'null'
title: Totp Identifier
description: TOTP identifier for input_text actions
totp_url:
anyOf:
- type: string
- type: 'null'
title: Totp Url
description: TOTP URL for input_text actions
timeout:
type: number
title: Timeout
description: Timeout in milliseconds
default: 10000
type: object
title: InputTextAction
description: Input text action parameters.
PromptAction:
properties:
type:
type: string
const: prompt
title: Type
default: prompt
prompt:
type: string
title: Prompt
description: The prompt to send to the LLM
response_schema:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Response Schema
description: Optional JSON schema to structure the response
model:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Model
description: Optional model configuration
type: object
required:
- prompt
title: PromptAction
description: Prompt action parameters.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
SelectOptionAction:
properties:
type:
type: string
const: ai_select_option
title: Type
default: ai_select_option
selector:
anyOf:
- type: string
- type: 'null'
title: Selector
description: CSS selector for the element
default: ''
value:
anyOf:
- type: string
- type: 'null'
title: Value
description: Value to select
default: ''
intention:
type: string
title: Intention
description: The intention or goal of the selection
default: ''
data:
anyOf:
- type: string
- additionalProperties: true
type: object
- type: 'null'
title: Data
description: Additional context data
timeout:
type: number
title: Timeout
description: Timeout in milliseconds
default: 10000
type: object
title: SelectOptionAction
description: Select option action parameters.
ValidateAction:
properties:
type:
type: string
const: validate
title: Type
default: validate
prompt:
type: string
title: Prompt
description: Validation criteria or condition to check
model:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Model
description: Optional model configuration
type: object
required:
- prompt
title: ValidateAction
description: Validate action parameters.
LocateElementAction:
properties:
type:
type: string
const: locate_element
title: Type
default: locate_element
prompt:
type: string
title: Prompt
description: Natural language prompt to locate an element
default: ''
type: object
title: LocateElementAction
description: Locate element action parameters.
ClickAction:
properties:
type:
type: string
const: ai_click
title: Type
default: ai_click
selector:
anyOf:
- type: string
- type: 'null'
title: Selector
description: CSS selector for the element
default: ''
intention:
type: string
title: Intention
description: The intention or goal of the click
default: ''
data:
anyOf:
- type: string
- additionalProperties: true
type: object
- type: 'null'
title: Data
description: Additional context data
timeout:
type: number
title: Timeout
description: Timeout in milliseconds
default: 10000
type: object
title: ClickAction
description: Click action parameters.
securitySchemes:
ApiKeyAuth:
type: apiKey
description: Your Skyvern API key from https://app.skyvern.com/settings.
in: header
name: x-api-key