Runs

List workflow runs across all workflows for the current organization.

Results are paginated and can be filtered by status, search_key, and error_code. All filters are combined with AND logic — a run must match every supplied filter to be returned.

search_key

A case-insensitive substring search that matches against any of the following fields:

Searched fieldDescription
workflow_run_idThe unique run identifier (e.g. wr_123…)
workflow_permanent_idThe permanent ID of the workflow that ran (e.g. wpid_123…)
Workflow titleThe title of the workflow that ran
Parameter keyThe key of any workflow parameter definition associated with the run
Parameter descriptionThe description of any workflow parameter definition
Run parameter valueThe actual value supplied for any parameter when the run was created
extra_http_headersExtra HTTP headers attached to the run (searched as raw JSON text)
webhook_callback_urlThe webhook URL the run posts its result to

Soft-deleted parameter definitions are excluded from key/description matching. A run is returned if any of the fields above contain the search term.

A complete identifier also matches the run that used it, by exact equality:

IdentifierDescription
browser_profile_idThe browser profile the run used (e.g. bp_123…)
browser_session_idThe browser session the run used (e.g. pbs_123…)
Credential idA credential the run used (e.g. cred_123…)
workflow_run_idThe run itself (e.g. wr_123…)
Task idThe workflow run the task ran in, when that run is top-level (e.g. tsk_123…)

A complete browser profile, browser session, workflow run or task id is matched against those identifiers only, not the text fields above. A credential id matches a run 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 that parameter. Other pool and fallback members the run did not use do not match.

Default search window

A search_key other than a complete browser profile, browser session, workflow run or task id is matched only against runs created in the 30 days before created_at_end (or before now) unless the request supplies created_at_start. This includes complete credential ids. Supply created_at_start (and optionally created_at_end) to search a different range. Explicit bounds apply to every search, complete ids included. Listings without search_key are not windowed. To fetch one run by its id, use GET /v1/runs/{run_id}.

created_at_start / created_at_end

Optional ISO 8601 bounds on the run's creation time: created_at_start is inclusive and created_at_end is exclusive. A timestamp without an offset is read as UTC.

error_code

An exact-match filter against the error_code field inside each task's errors JSON array. A run matches if any of its tasks contains an error object with a matching error_code value. Error codes are user-defined strings set during workflow execution (e.g. INVALID_CREDENTIALS, LOGIN_FAILED, CAPTCHA_DETECTED).

Combining filters

All query parameters use AND logic:

  • ?status=failed — only failed runs
  • ?status=failed&error_code=LOGIN_FAILED — failed runs and have a LOGIN_FAILED error
  • ?status=failed&error_code=LOGIN_FAILED&search_key=prod_credential — all three conditions must match (searched over the last 30 days)
  • ?search_key=prod_credential&created_at_start=2026-01-01T00:00:00Z&created_at_end=2026-02-01T00:00:00Z — search one explicit month
get/v1/agents/runs

Request

Query parameters

pageinteger

Page number for pagination.

page_sizeinteger

Number of runs to return per page.

statusWorkflowRunStatus[] nullable

Filter by one or more run statuses.

search_keystring nullable

Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, extra HTTP headers and webhook callback URL. A run is returned if any of these fields match. Soft-deleted parameter definitions are excluded from key/description matching. 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. The workflow title and workflow permanent ID are matched as well. Without created_at_start, a search other than a complete browser profile, browser session, workflow run or task ID covers only runs created in the 30 days before created_at_end (or before now).

Example:login_url
error_codestring nullable

Exact-match filter on the error_code field inside each task's errors JSON array. A run matches if any of its tasks contains an error with a matching error_code. Error codes are user-defined strings set during workflow execution.

Example:INVALID_CREDENTIALS
created_at_startstring date-time nullable

Only include runs created at or after this timestamp (ISO 8601; a value without an offset is read as UTC). Supplying it replaces the 30-day default window of a free-text search_key.

Example:2026-01-01T00:00:00Z
created_at_endstring date-time nullable

Only include runs created strictly before this timestamp (ISO 8601; a value without an offset is read as UTC). Without created_at_start, a free-text search_key covers the 30 days before this timestamp.

Example:2026-02-01T00:00:00Z

Response

Successful Response

workflow_run_idstring required
workflow_idstring required
workflow_permanent_idstring required
organization_idstring required
browser_session_idstring nullable
browser_profile_idstring nullable
browser_seed_source'override' | 'picked' | 'own_memory' | 'credential' | 'fresh' | 'degraded_fresh'

Which layer of the seed-precedence chain seeded a run's browser (provenance).

Resolved at run setup, before any browser creation, for all run types (C-semantics). A serialized Save & Reuse run re-resolves once more after the sequential wait, so a profile an earlier run in its lane saved while it was queued becomes own_memory rather than a stale pick.

  • override: explicit request browser_profile_id (one-run-only pick via API)
  • picked: the workflow's explicit profile pick (workflows.browser_profile_id) — "always start here"
  • own_memory: the workflow's own auto-profile (no pick + persist_browser_session)
  • credential: the run's selected credential's profile (rotation-aware; also the empty-own boot)
  • fresh: no seed profile
  • degraded_fresh: a resolved profile failed to load; ran fresh
browser_sink_profile_idstring nullable
start_fresh_browserboolean nullable
reuse_browser_sessionboolean nullable
debug_session_idstring nullable
status'created' | 'queued' | 'running' | 'failed' | 'terminated' | 'canceled' | 'timed_out' | 'completed' | 'paused' required
attemptinteger

One-based number of the current workflow run attempt

retry_pendingboolean

Whether another attempt is scheduled for this workflow run

next_attempt_atstring date-time nullable

Timestamp when the next workflow run attempt is scheduled

extra_http_headersobject nullable
cdp_connect_headersobject nullable
webhook_callback_urlstring nullable
webhook_failure_reasonstring nullable
totp_verification_urlstring nullable
totp_identifierstring nullable
failure_reasonstring nullable
failure_categoryobject[] nullable
retried_from_workflow_run_idstring nullable
fallback_attemptinteger nullable
parent_workflow_run_idstring nullable
workflow_titlestring nullable
max_screenshot_scrollsinteger nullable
max_elapsed_time_minutesinteger nullable
browser_addressstring nullable
run_withstring nullable
browser_typestring nullable
job_idstring nullable
depends_on_workflow_run_idstring nullable
sequential_keystring nullable
sequential_credential_idstring nullable
ai_fallbackboolean nullable
code_genboolean nullable
trigger_type'manual' | 'mcp' | 'api' | 'scheduled' | 'webhook' | 'event' | 'job_recipe_extract' | 'job_recipe_apply' | 'seo_recipe_submit'

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
workflow_schedule_idstring nullable
ignore_inherited_workflow_system_promptboolean
copilot_session_idstring nullable
created_bystring nullable

ID of the user who started the run

credits_usedinteger
cached_credits_usedinteger
queued_atstring date-time nullable
started_atstring date-time nullable
finished_atstring date-time nullable
created_atstring date-time required
modified_atstring date-time required

Example response

[
  {
    "proxy_location": {
      "country": "US",
      "subdivision": "CA",
      "city": "New York"
    },
    "browser_settings": {
      "timezone_id": "America/New_York"
    }
  }
]

Changes

    • warning

      for the query request parameter page, the max was set to 1000000.00

    • warning

      for the query request parameter page_size, the max was set to 1000.00

    • warning

      added the new seo_recipe_submit enum value to the // response property for the response status