Skip to content

Automation CLI reference


Create and operate reusable manual or scheduled work.

Use this page to inspect every public atoi automation command, its accepted flags, and one runnable example. In the web app the same Automations live in the panel's Automations tab.

atoi automationCreate and operate reusable manual or scheduled work.

CommandWhat it does
atoi automation listList Automations in the Workspace the terminal is standing in, optionally for one Project or only active entries.
atoi automation getRead one Automation and what it recently ran.
atoi automation createCreate a manual or scheduled Automation.
atoi automation updateChange an Automation definition or schedule.
atoi automation toggleToggle an Automation between active and paused.
atoi automation triggerRun an Automation now.
atoi automation removeRemove one exact Automation.

#automation list

List Automations, optionally for one Project or only active entries.

atoi automation list [--workspace <id>] [--personal] [--project <project-id>] [--enabled-only]

FlagTypeDefaultValuesWhat it does
--workspacestringAnswer one Workspace by id for this call; without it, the Workspace the terminal is standing in.
--personalbooleanAnswer Personal for this call, whatever the terminal is standing in.
--projectstringSelect a Project by id.
--enabled-onlybooleanReturn only enabled Automations.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run automation list

bash
atoi automation list --project prj_8k2v --json

#automation get

Read one Automation and what it recently ran.

atoi automation get <automation-id> [--automation <automation-id>] [--limit <n>]

FlagTypeDefaultValuesWhat it does
--automationstringSelect an Automation by id instead of a positional id.
--limitnumberLimit the number of returned records.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run automation get

bash
atoi automation get aut_5k1m --json

#automation create

Create a manual or scheduled Automation.

atoi automation create --name <name> --prompt <prompt> [--description <text>] [--project <project-id>] [--model <model-id>] [--thread <thread-id>] [--schedule <manual|daily|interval|monthly|once>] [schedule flags] [--enabled|--no-enabled]

FlagTypeDefaultValuesWhat it does
--name requiredstringSet the Automation name.
--prompt requiredstringSet the Automation prompt.
--descriptionstringDescribe the Automation.
--projectstringSelect a Project by id.
--modelstringSelect a model id.
--threadstringDeliver each run into one Thread by id.
--schedulestringmanualmanual, daily, interval, monthly, onceChoose the schedule type. A once schedule runs one time and then the Automation retires.
--hournumberSet the hour from 0 through 23 on the local clock of the Automation time zone, never UTC.
--minutenumberSet the minute from 0 through 59 on that same local clock.
--datestringSet the calendar date a once schedule runs on, as YYYY-MM-DD.
--hour-utcnumberOlder name for --hour. The same local clock.
--minute-utcnumberOlder name for --minute. The same local clock.
--hoursnumberSet the interval from 1 through 8760 hours.
--daysstringSet unique comma-separated weekdays from 0 through 6.
--day-of-monthnumberSet the calendar day from 1 through 31.
--enabledbooleanCreate the Automation enabled or disabled. Pass --no-enabled for false.
--idempotency-keystringReuse a mutation identity when you safely retry the same action.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run automation create

bash
atoi automation create --project prj_8k2v --name "Release audit" --prompt "Audit main and return evidence." --schedule daily --hour 14 --minute 30 --json

--hour and --minute are the clock of the Automation's time zone, never UTC. --hour-utc and --minute-utc are the older names for the same local clock and still work.

#Run it once

A once schedule names one moment on that clock: it runs one time, then the Automation retires. It stays in the list, off, and every list says ran once on <date>. A moment that has already passed is refused.

bash
atoi automation create --name "Nudge the crew" --prompt "Nudge the crew about the launch checklist." --schedule once --date 2026-09-17 --hour 16 --json

#automation update

Change an Automation definition or schedule.

atoi automation update <automation-id> [--automation <automation-id>] [--name <name>] [--prompt <prompt>] [--description <text>] [--project <project-id|all|none>] [--model <model-id>] [--thread <thread-id>] [--schedule <manual|daily|interval|monthly|once>] [schedule flags] [--enabled|--no-enabled]

FlagTypeDefaultValuesWhat it does
--automationstringSelect an Automation by id instead of a positional id.
--namestringReplace the Automation name.
--promptstringReplace the Automation prompt.
--descriptionstringReplace the Automation description.
--projectstringSelect a Project, or pass all or none to clear Project scope.
--modelstringSelect a model id.
--threadstringDeliver each run into one Thread by id.
--schedulestringmanual, daily, interval, monthly, onceChoose the schedule type. A once schedule runs one time and then the Automation retires.
--hournumberSet the hour from 0 through 23 on the local clock of the Automation time zone, never UTC.
--minutenumberSet the minute from 0 through 59 on that same local clock.
--datestringSet the calendar date a once schedule runs on, as YYYY-MM-DD.
--hour-utcnumberOlder name for --hour. The same local clock.
--minute-utcnumberOlder name for --minute. The same local clock.
--hoursnumberSet the interval from 1 through 8760 hours.
--daysstringSet unique comma-separated weekdays from 0 through 6.
--day-of-monthnumberSet the calendar day from 1 through 31.
--enabledbooleanEnable or disable the Automation. Pass --no-enabled for false.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run automation update

bash
atoi automation update aut_5k1m --description "Audit the candidate release." --json

#automation toggle

Toggle an Automation between active and paused.

atoi automation toggle <automation-id> [--automation <automation-id>]

FlagTypeDefaultValuesWhat it does
--automationstringSelect an Automation by id instead of a positional id.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run automation toggle

bash
atoi automation toggle aut_5k1m --json

#automation trigger

Run an Automation now.

atoi automation trigger <automation-id> [--automation <automation-id>] [--input <message>] [--idempotency-key <key>]

FlagTypeDefaultValuesWhat it does
--automationstringSelect an Automation by id instead of a positional id.
--inputstringAdd an input message for this run.
--idempotency-keystringReuse a mutation identity when you safely retry the same action.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run automation trigger

bash
atoi automation trigger aut_5k1m --input "Check the candidate tag." --json

#automation remove

Remove one exact Automation.

atoi automation remove <automation-id> [--automation <automation-id>] --confirm

FlagTypeDefaultValuesWhat it does
--automationstringSelect an Automation by id instead of a positional id.
--confirm requiredbooleanConfirm the exact consequential action after you inspect its target.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run automation remove

bash
atoi automation remove aut_5k1m --confirm --json

Read Run work from the terminal for the rest of this group, or the CLI reference index for every command.

Was this useful?