Schedule

ScheduleService is the recurring launches, which spawn an agent into a workflow whenever their cron expression next matches.

schedule.v1.ScheduleService

  • list_schedules#

    List the recurring agent launches, most recently updated first, with each one's cron expression, prompt, workflow, next run time, and its latest run.

  • get_schedule#

    Fetch one schedule by id.

  • list_schedule_runs#

    List a schedule's most recent firings, newest first, each with the occurrence it stands for, its state, its attempt count, and why it was skipped or how it failed.

  • create_schedule#

    Create a recurring agent launch inside a workflow.

  • update_schedule#

    Replace a schedule's name, cron expression, timezone, prompt, workflow, and whether the agents it launches start hidden from the panel.

  • set_schedule_enabled#

    Pause or resume one schedule without editing anything else.

  • archive_schedule#

    Hide a schedule from the panel so it stops firing, keeping its record.