Skip to main content
GET
Get workflow source

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

workflow_id
string
required

Workflow identifier

Query Parameters

source_target_kind
string
target_branch_id
string<uuid> | null
runtime_target_kind
enum<string> | null

Used as the source target kind when source_target_kind is omitted.

Available options:
main_branch,
environment,
preview_branch,
null
target_environment_id
string<uuid> | null

Not supported for source reads; a non-null value is rejected.

Response

Workflow document

id
string
required
name
string
required
description
string | null
required
target
string
required
source_path
string
required
source
string
required
version
string | null
required
schedulable
boolean
required
edit_mode
enum<string>
required
Available options:
structured,
source_only
source_only_reasons
string[]
required