Get all runs by agent
List runs for a specific workflow.
Supports filtering by status, search_key, and error_code. All filters are combined with AND logic.
search_key
Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. Soft-deleted parameter definitions are excluded.
error_code
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.
Headers
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Path Parameters
Query Parameters
Page number for pagination.
x >= 1Number of runs to return per page.
x >= 1Filter by one or more run statuses.
created, queued, running, failed, terminated, canceled, timed_out, completed, paused Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. A run is returned if any of these fields match. Soft-deleted parameter definitions are excluded from key/description matching.
500"login_url"
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.
500"INVALID_CREDENTIALS"
Response
Successful Response
created, queued, running, failed, terminated, canceled, timed_out, completed, paused RESIDENTIAL, US-CA, US-NY, US-TX, US-FL, US-WA, RESIDENTIAL_ES, RESIDENTIAL_IE, RESIDENTIAL_GB, RESIDENTIAL_IN, RESIDENTIAL_JP, RESIDENTIAL_FR, RESIDENTIAL_DE, RESIDENTIAL_NZ, RESIDENTIAL_ZA, RESIDENTIAL_AR, RESIDENTIAL_AU, RESIDENTIAL_BR, RESIDENTIAL_TR, RESIDENTIAL_CA, RESIDENTIAL_MX, RESIDENTIAL_IT, RESIDENTIAL_NL, RESIDENTIAL_PH, RESIDENTIAL_KR, RESIDENTIAL_SA, RESIDENTIAL_ISP, NONE How a workflow run was initiated.
- manual: User clicked "Run" in the UI
- api: Direct API call to the run endpoint
- scheduled: Triggered by a cron schedule
- webhook: Triggered by an external system via the webhook endpoint
manual, api, scheduled, webhook 
