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

set_production_release

Promote a release to production, or clear the production pointer. Production is what run_workflow executes when called with target="production" — external callers keep running the frozen version while you iterate on the draft.

Parameters#

NameTypeRequiredDefaultDescription
workflow_idstringyesThe draft workflow id (agent_…)
release_idstring | nullnonullThe release to promote (release_…), or null to clear production (the workflow then has no production version)

Returns#

json
{
  "workflow_id": "agent_abc",
  "production_release_id": "release_def",
  "previous_production_release_id": "release_abc"
}

Errors#

error_typeWhen
auth_errorMissing / invalid API key
not_foundWorkflow / release id doesn’t exist or is outside your org

See also#

  • list_releases — find the release id to promote
  • delete_release — requires the release not be production