Skip to navigation

schedules

Read and change the business-hours schedules of your AI Agent. Scheduled Blocks and Playbook conditions use a schedule to know when your team is open. These are the schedules of the Settings > Schedules page of the dashboard.

Commands

CommandWhat it does
schedules listLists the schedules.
schedules get <id>Shows the open hours and the special days of one schedule.
schedules createCreates a schedule.
schedules update <id>Changes the name, the time zone, the open hours or the special days of a schedule.
schedules delete <id>Deletes a schedule that nothing uses. Asks to confirm.

Examples

List the schedules, with their IDs:

adacli acme schedules list

Create a schedule that is open on weekdays from 9:00 to 17:00, Toronto time:

adacli acme schedules create --name "Support hours" --timezone America/Toronto \
--hours mon=09:00-17:00 --hours tue=09:00-17:00 --hours wed=09:00-17:00 \
--hours thu=09:00-17:00 --hours fri=09:00-17:00

Close a schedule on Saturday, and close it for a holiday afternoon:

adacli acme schedules update <schedule-id> --hours sat=closed --special 2026-12-24=12:00-23:59

See the change that an update makes, and save nothing:

adacli acme schedules update <schedule-id> --hours mon=08:00-12:00,13:00-17:00 --dry-run

Details

  • create needs --name, --timezone and --hours for at least one day. A day with no --hours is closed.
  • --hours takes a day name, or its first 3 letters, then one or more ranges, such as mon=08:00-12:00,13:00-17:00. closed closes the day. Repeat --hours for more days. The ranges of one day must not overlap.
  • --special closes the schedule on one date between two times. Repeat it for more dates.
  • --timezone takes an IANA name, such as America/Toronto or Europe/London, or UTC. An offset, such as +01:00, or an abbreviation, such as PST, does not work.
  • update keeps the hours of each day and date that you do not name.
  • A schedule must be open on at least one day of the week. Two schedules cannot have the same name, with no regard to case.
  • --file takes a JSON object in the shape of get --json. The options apply after the file.
  • Before it saves, adacli reads the schedules again. If another user changed them since, adacli saves nothing and stops with the LIST_CHANGED error. Run the command again.
  • delete refuses a schedule that an Answer, a Playbook or a Collaboration team uses. Outside a terminal, add --yes. You cannot undo a delete.

For every option of a command, run it with --help, for example adacli acme schedules update --help.

  • playbooks: read and change the Playbooks that use a schedule.
  • handoffs: read and change the handoffs that use a schedule.