Skip to main content
POST
Promote a workflow version

Authorizations

Authorization
string
header
required

API key issued from Settings → API Keys. Pass as Authorization: Bearer <key>.

Path Parameters

id
string
required

Workflow id, agent id, or typed alias like workflows.slug / agents.slug

versionId
string
required

Tagged version id from GET /automations/{id}/versions. Untagged snapshots (for example after restore) and unknown ids return 404.

Response

Existing tagged workflow version promoted.

id
string
required
automationId
string
required
version
string | null
required
sourceRef
string | null
isCurrent
boolean
createdAt