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

trigger_schedule

Run a schedule once, immediately, without waiting for its next slot.

This spends a real agent or workflow run. The dispatch is asynchronous — poll get_schedule for the run’s status, then read the result with get_assistant_run (agent target, via the run’s thread_id) or get_run_status (workflow target, via agent_run_id).

Parameters#

NameTypeRequiredDefaultDescription
schedule_idstringyesThe schedule id

Returns#

json
{
  "triggered": true,
  "schedule_id": "sched_abc123",
  "run_id": "sched_run_xyz",
  "status": "pending",
  "note": "Dispatched asynchronously. Poll get_schedule: once this run_id shows a thread_id ..."
}

run_id is the run just dispatched (created pending, then picked up by the worker) — not the previous one.

Errors#

error_typeWhen
auth_errorMissing / invalid API key
feature_not_availableYour plan does not include schedules
not_foundUnknown schedule id, or one outside your organization
Previousdelete_scheduleNextrun_assistant