Skip to content

Plan CLI reference


List a Workspace's plans, and retire or restore one.

Use this page to read what atoi plan answers and the flags it takes. The terminal reads and retires plans over the same read and write the chat agent uses, so a plan retired here leaves the list the agent reads too.

atoi planList a Workspace’s plans, and retire or restore one, over the same read and write chat uses.

CommandWhat it does
atoi plan listList the plans in the Workspace the terminal is standing in, with their ids, status and checklist progress.
atoi plan archiveRetire one plan. It leaves the list and comes back with restore. A plan in another Workspace is refused, not touched.
atoi plan restoreBring a retired plan back.

#plan list

List the plans in the Workspace the terminal is standing in, with their ids, status and checklist progress.

atoi plan list [--project <project-id>] [--workspace <id>] [--personal] [--archived] [--limit <n>]

FlagTypeDefaultValuesWhat it does
--projectstringSelect a Project by id.
--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.
--archivedbooleanInclude retired plans.
--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 plan list

bash
atoi plan list --json

Without --workspace, the list answers for the Workspace the terminal is standing in; --personal steps out to Personal for one call. Retired plans stay out of the list unless you pass --archived.

#plan archive

Retire one plan. It leaves the list and comes back with restore.

atoi plan archive <plan-id> [--workspace <id>] [--personal]

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.
--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 plan archive

bash
atoi plan archive pln_3k8d --json

A plan in another Workspace is refused, not touched. Stand in its Workspace with atoi workspace use, or pass --workspace for the one call.

#plan restore

Bring a retired plan back.

atoi plan restore <plan-id> [--workspace <id>] [--personal]

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.
--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 plan restore

bash
atoi plan restore pln_3k8d --json

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

Was this useful?