Skip to main content
List all workflows. Supports filtering and pagination.
workflows = await client.get_workflows()
for wf in workflows:
    print(f"{wf.title} ({wf.workflow_permanent_id})")

Parameters

ParameterTypeRequiredDefaultDescription
pageintNoNonePage number for pagination.
page_sizeintNoNoneNumber of results per page.
only_saved_tasksboolNoNoneOnly return saved tasks.
only_workflowsboolNoNoneOnly return workflows (not saved tasks).
only_templatesboolNoNoneOnly return templates.
templateboolNoNoneOnly return template workflows.
titlestrNoNoneFilter by title. Deprecated - use search_key instead.
search_keystrNoNoneCase-insensitive substring search across workflow title, folder name, and parameter metadata.
folder_idstrNoNoneFilter by folder.
statusWorkflowStatus | list[WorkflowStatus]NoNoneFilter by status.
request_optionsRequestOptionsNo-Per-request configuration (see below).

Returns list[Workflow]


Request options

Override timeout, retries, or headers for this call by passing request_options (Python) or a second options argument (TypeScript).
from skyvern.client.core import RequestOptions

request_options=RequestOptions(
    timeout_in_seconds=120,
    max_retries=3,
    additional_headers={"x-custom-header": "value"},
)
Option (Python)Option (TypeScript)TypeDescription
timeout_in_secondstimeoutInSecondsint / numberHTTP timeout in seconds.
max_retriesmaxRetriesint / numberRetry count.
additional_headersheadersdict / Record<string, string>Extra headers.
additional_query_parameters-dictExtra query parameters.
additional_body_parameters-dictExtra body parameters.
-abortSignalAbortSignalSignal to cancel the request.
-apiKeystringOverride API key.