Skip to content
AdlyseMCP Docs
Product guideMCP reference
⌘K
Open Adlyse
⌘K
Overview
QuickstartAuthentication
adlyse-insights
adlyse-reports
adlyse-ads
adlyse-workflows
list_workflowsget_workflowrun_workflowget_run_status
adlyse-adminadlyse-all
  1. Overview
  2. adlyse-workflows

create_release

Create an immutable release (versioned snapshot) of a draft workflow. The current draft graph is snapshotted server-side; the draft stays editable. The draft must pass validation — fix any errors (see update_workflow with preview: true) before releasing.

Run a release via run_workflow with target="production" or the release id.

Parameters#

NameTypeRequiredDefaultDescription
workflow_idstringyesThe draft workflow id (agent_…)
namestringnoName for the snapshot (defaults to the workflow name)
notesstringno""Release notes
set_productionbooleannofalseIf true, also promote this release to production

Returns#

json
{
  "release_id": "release_abc",
  "snapshot_id": "agent_snap_123",
  "name": "Enrich Contact",
  "notes": "Switch to Fable 5",
  "is_production": true,
  "created_at": "2026-06-09T12:00:00Z"
}

Errors#

error_typeWhen
auth_errorMissing / invalid API key
not_foundWorkflow id doesn’t exist or is outside your org
validation_errorThe draft graph doesn’t currently pass validation

See also#

  • list_releases — see all versions
  • set_production_release — promote later instead of at create time