Skip to main content
Python: requires skyvern version 1.1.0 or later. Run pip install --upgrade skyvern to update.
Get a specific workflow by its permanent ID.
workflow = await client.get_workflow("wpid_abc123")
print(workflow.title, f"v{workflow.version}")

Parameters

ParameterTypeRequiredDescription
workflow_permanent_idstrYesThe workflow’s permanent ID.
versionintNoSpecific version to retrieve. Defaults to latest.
templateboolNoWhether to fetch a template workflow.
request_optionsRequestOptionsNoPer-request configuration (see below).

Returns 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.