Skyvern Agent API
The agent API from Skyvern — 1 operation(s) for agent.
The agent API from Skyvern — 1 operation(s) for agent.
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-agent-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 Agent 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: Agent
paths:
/v1/runs:
get:
tags:
- Agent
summary: List runs
description: List the organization's task and agent runs, newest first, filterable by status, run type, agent, a free-text search term, and failure category. Returns a paginated array of run summaries.
operationId: get_runs_v2_v1_runs_get
parameters:
- name: page
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 1
title: Page
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 10
title: Page Size
- name: status
in: query
required: false
schema:
anyOf:
- type: array
items:
$ref: '#/components/schemas/RunStatus'
- type: 'null'
title: Status
- name: search_key
in: query
required: false
schema:
anyOf:
- type: string
minLength: 3
- type: 'null'
description: Case-insensitive substring search (min 3 chars for trigram index) across the run's title, URL, run ID, agent (workflow) ID and inputs, plus a workflow run's webhook callback URL. A complete browser profile ID, browser session ID or credential ID matches the run that used it exactly (no substring match). A complete workflow run ID matches that run. A complete task ID matches the workflow run the task ran in, when this list includes that run, or the standalone task itself where standalone tasks are listed. A complete browser profile, browser session, workflow run or task ID is matched against those identifiers only, not the text fields. A credential ID matches when it is the run's sequential credential, the credential the run selected from a pool or fell back to, or the credential bound by a credential parameter on the run's workflow version when the run was created and the run recorded no selection for it. Browser profile and credential IDs apply to workflow runs; a browser session ID also matches a standalone task that used it.
examples:
- login_url
- wr_abc123
- bp_123456789
- cred_123456789
title: Search Key
description: Case-insensitive substring search (min 3 chars for trigram index) across the run's title, URL, run ID, agent (workflow) ID and inputs, plus a workflow run's webhook callback URL. A complete browser profile ID, browser session ID or credential ID matches the run that used it exactly (no substring match). A complete workflow run ID matches that run. A complete task ID matches the workflow run the task ran in, when this list includes that run, or the standalone task itself where standalone tasks are listed. A complete browser profile, browser session, workflow run or task ID is matched against those identifiers only, not the text fields. A credential ID matches when it is the run's sequential credential, the credential the run selected from a pool or fell back to, or the credential bound by a credential parameter on the run's workflow version when the run was created and the run recorded no selection for it. Browser profile and credential IDs apply to workflow runs; a browser session ID also matches a standalone task that used it.
- name: run_type
in: query
required: false
schema:
anyOf:
- type: array
items:
$ref: '#/components/schemas/RunType'
- type: 'null'
title: Run Type
- name: workflow_permanent_id
in: query
required: false
schema:
anyOf:
- type: array
items:
type: string
maxItems: 50
- type: 'null'
description: Filter to runs of these workflows (agents). Repeat the param to include multiple.
title: Workflow Permanent Id
description: Filter to runs of these workflows (agents). Repeat the param to include multiple.
- name: tags
in: query
required: false
schema:
anyOf:
- type: array
items:
type: string
maxItems: 20
- type: 'null'
description: Filter by run tags. Each term is a label (`production`), a group (`env:*`), or a group:label (`env:prod`). Repeat the param or comma-separate (`?tags=env:prod,env:staging`). AND across distinct terms, OR within a group's labels (`?tags=customer:acme,env:prod,env:staging` -> customer=acme AND env in (prod, staging)). A label term matches the value across any/no group. Matches current tag values only.
examples:
- env:prod
- production
- env:*
- customer:acme,env:prod
title: Tags
description: Filter by run tags. Each term is a label (`production`), a group (`env:*`), or a group:label (`env:prod`). Repeat the param or comma-separate (`?tags=env:prod,env:staging`). AND across distinct terms, OR within a group's labels (`?tags=customer:acme,env:prod,env:staging` -> customer=acme AND env in (prod, staging)). A label term matches the value across any/no group. Matches current tag values only.
- name: failure_category
in: query
required: false
schema:
anyOf:
- type: string
maxLength: 100
- type: 'null'
description: Exact-match filter on a workflow run's top classifier failure category (`failure_category[0].category`). Only failed, terminated, and timed_out runs are eligible; canceled runs are never returned by this filter. Applies to `run_type=workflow_run` only — combined with a task run_type it matches nothing.
examples:
- ANTI_BOT_DETECTION
- AUTH_FAILURE
title: Failure Category
description: Exact-match filter on a workflow run's top classifier failure category (`failure_category[0].category`). Only failed, terminated, and timed_out runs are eligible; canceled runs are never returned by this filter. Applies to `run_type=workflow_run` only — combined with a task run_type it matches nothing.
- 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.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TaskRunListItem'
title: Response Get Runs V2 V1 Runs Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-hidden: true
x-fern-sdk-method-name: get_runs_v2
components:
schemas:
WorkflowRunTriggerType:
type: string
enum:
- manual
- mcp
- api
- scheduled
- webhook
- event
- job_recipe_extract
- job_recipe_apply
- seo_recipe_submit
title: WorkflowRunTriggerType
description: 'How a workflow run was initiated.
- manual: User clicked "Run" in the UI
- mcp: First-party MCP client or Skyvern CLI request
- api: Direct API call to the run endpoint
- scheduled: Triggered by a cron schedule
- webhook: Triggered by an external system via the webhook endpoint
- event: Triggered by an external event source
- job_recipe_extract: Launched by a job recipe extract request
- job_recipe_apply: Launched by a job recipe apply request
- seo_recipe_submit: Launched by an SEO recipe directory submission'
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
RunStatus:
type: string
enum:
- created
- queued
- running
- paused
- timed_out
- failed
- terminated
- completed
- canceled
title: RunStatus
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
TaskRunListItem:
properties:
task_run_id:
type: string
title: Task Run Id
run_id:
type: string
title: Run Id
task_run_type:
type: string
title: Task Run Type
status:
type: string
title: Status
title:
anyOf:
- type: string
- type: 'null'
title: Title
started_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Started At
finished_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Finished At
created_at:
type: string
format: date-time
title: Created At
workflow_permanent_id:
anyOf:
- type: string
- type: 'null'
title: Workflow Permanent Id
workflow_deleted:
type: boolean
title: Workflow Deleted
default: false
script_run:
type: boolean
title: Script Run
default: false
trigger_type:
anyOf:
- $ref: '#/components/schemas/WorkflowRunTriggerType'
- type: 'null'
created_by:
anyOf:
- type: string
- type: 'null'
title: Created By
description: ID of the user who started the run
type: object
required:
- task_run_id
- run_id
- task_run_type
- status
- created_at
title: TaskRunListItem
description: Lightweight run-history item backed by the task_runs table.
RunType:
type: string
enum:
- task_v1
- task_v2
- task_v3
- workflow_run
- openai_cua
- anthropic_cua
- ui_tars
title: RunType
securitySchemes:
ApiKeyAuth:
type: apiKey
description: Your Skyvern API key from https://app.skyvern.com/settings.
in: header
name: x-api-key