Skip to content
Proud to collaborate with Microsoft for Startups

schedule.create ​

Register a recurring schedule that starts a target workflow every N minutes

Register a recurring schedule that the backend scheduler fires.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-composition
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
target_workflow_typestringYes—Registered workflow type to start each occurrence, e.g. data.foo.list or virtual.<uuid>@2
interval_minutesintegerYes—Minutes between runs (minimum 1)
namestringNo—Human-facing label (defaults to the target type)
initial_datajsonNo—Inputs the run starts with (organization_uuid is injected automatically)
activebooleanNoTrueStart firing immediately (false = paused)
user_uuiduuidNo—Creator (auto-filled from the conversation)

Output Schema ​

FieldTypeRequiredDefaultDescription
schedule_uuiduuidYes——
target_workflow_typestringYes——
interval_minutesintegerYes——
next_run_atstringYes——
activebooleanYes——
namestringYes——
failure_reasonstringNo—Engine-stamped human-readable failure reason
failure_typestringNo—Engine-stamped failure category
failed_actionstringNo—Engine-stamped action method that raised
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped DAG step that failed
failed_layerstringNo—Engine-stamped DAG layer that failed
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeRegister schedule
completedNoYesYes—Scheduled
failedNoYesNo—Schedule failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "schedule.create",
  "initial_data": {
    "organization_uuid": "value",
    "target_workflow_type": "value",
    "interval_minutes": 123
  }
}