Skip to content
AdlyseDocs
Product guideMCP reference
⌘K
Open Adlyse
⌘K
Overview
QuickstartAuthentication
adlyse-insights
adlyse-ads
adlyse-workflows
list_workflowsget_workflowrun_workflowget_run_statusget_node_runget_workflow_schemacreate_workflowupdate_workflowdelete_workflowcreate_releaselist_releasesset_production_releasedelete_releaselist_authoring_resourceslist_tablesget_tablequery_table_rowscreate_tableadd_table_columnsadd_table_rowsupsert_table_rowsupdate_table_rowsdelete_table_rowsupdate_tabledelete_tableupdate_table_columndelete_table_columnreorder_table_columnslist_schedulesget_schedulecreate_scheduleupdate_schedulepause_scheduleresume_scheduledelete_scheduletrigger_schedulerun_assistantget_assistant_runlist_assistant_threadsget_assistant_threadlist_assistantsget_assistantcreate_assistantupdate_assistantdelete_assistantlist_assistant_handoffscreate_assistant_handoffupdate_assistant_handoffdelete_assistant_handofflist_filesread_filegrep_fileswrite_fileedit_filemove_filearchive_filelist_file_versionspromote_file_versionlist_skillsget_skillcreate_skillupdate_skilldelete_skillassign_skill_to_assistantremove_skill_from_assistantlist_agent_resourcesstart_batch_taskget_batch_taskcontrol_batch_task
adlyse-admin
adlyse-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 by default (or with target="production"), and what schedules and the API run — 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
Previouslist_releasesNextdelete_release