Skip to main content
PUT
Create or update workflow version

Authorizations

Authorization
string
header
required

API key passed as Authorization: Bearer <api_key>

Path Parameters

workflowID
string
required

Unique workflow identifier

Example:

"wf_abc123"

versionID
string
required

Version identifier (e.g., "v1", "v2")

Example:

"v1"

Body

application/json
version_id
string
required

Version identifier (e.g., "v1", "v2", "v1.1")

Example:

"v2"

definition
object
required

The complete workflow definition for this version. This follows the workflow DSL format and must include all steps.

locked
boolean
default:false

Whether to lock this version from further modifications

production
boolean
default:false

Whether this is a production version

allowed_to_share
boolean
default:false

Toggle unlisted sharing for this version.

  • true → Makes version "unlisted" (accessible via link, hidden from public listings)
  • false → Makes version "private" (organization only)
  • No effect on public versions
  • New versions default to private when omitted

Response

Workflow version created or updated successfully

Summary information about a workflow version

version_id
string
required

Version identifier

Example:

"v1"

slug
string
required

Workflow slug (inherited from parent workflow)

Example:

"text-to-image-generator"

locked
boolean

Whether this version is locked from modifications

Example:

false

production
boolean

Whether this is a production version

Example:

true

allowed_to_share
boolean

True if version is unlisted (accessible via direct link but hidden from public listings).

Example:

false

trigger_count
integer

Number of times this specific version has been triggered

Example:

15

created_at
string<date-time>

RFC3339 timestamp when version was created

Example:

"2025-12-01T10:00:00Z"

updated_at
string<date-time>

RFC3339 timestamp when version was last updated

Example:

"2025-12-05T14:20:00Z"

status
enum<string>

Version lifecycle status

Available options:
active,
archived,
deleted
Example:

"active"

definition
object

The complete workflow definition (only included in detail responses). Contains steps, input schema, and metadata.

Last modified on July 27, 2026