Skip to content
DevelopersTerminal

Project CLI reference


Create Projects, attach source, inspect state, and manage the Project lifecycle.

On this page

Use this page to inspect every public atoi project command, its accepted flags, and one runnable example. Return to the CLI reference index to choose another command group.

atoi projectCreate Projects, attach source, inspect state, and manage the Project lifecycle.

CommandWhat it does
atoi project listList Projects you can operate.
atoi project createCreate a Project and optionally attach its authoritative source.
atoi project getRead one Project and its source attachment.
atoi project updateChange one or more editable Project fields.
atoi project attachAttach authoritative repository source to a Project.
atoi project sourceRead a Project source binding and last reported source state.
atoi project statusInspect local Git truth and report it against the attached Project source.
atoi project changesRead the latest or selected Task change set for a Project.
atoi project archiveArchive one exact Project.
atoi project restoreRestore an archived Project.

#project list

List Projects you can operate.

atoi project list [--archived]

FlagTypeDefaultValuesWhat it does
--archivedbooleanfalseInclude archived Projects.
--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 project list

bash
atoi project list --json

#project create

Create a Project and optionally attach its authoritative source.

atoi project create --name <name> [--kind <chat|code>] [--description <text>] [--instructions <text>] [--profile <safe|workspace-write>] [--repo <owner/repo> --branch <branch>] [--directory <path>]

FlagTypeDefaultValuesWhat it does
--name requiredstringSet the Project name.
--kindstringcodechat, codeChoose a chat or code Project.
--descriptionstringDescribe the Project.
--instructionsstringSet the Project instructions.
--profilestringsafe, workspace-writeSet the default Task safety profile.
--repostringAttach a credential-free repository URL or owner/repository shorthand.
--branchstringAttach the authoritative repository branch.
--directorystringUse a local Git directory or a path within the attached repository.
--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 project create

bash
atoi project create --name "Atlas notes" --repo owner/repository --branch main --json

#project get

Read one Project and its source attachment.

atoi project get <project-id>

FlagTypeDefaultValuesWhat it does
--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 project get

bash
atoi project get prj_8k2v --json

#project update

Change one or more editable Project fields.

atoi project update <project-id> [--name <name>] [--description <text>] [--instructions <text>] [--profile <safe|workspace-write>]

FlagTypeDefaultValuesWhat it does
--namestringReplace the Project name.
--descriptionstringReplace the Project description.
--instructionsstringReplace the Project instructions.
--profilestringsafe, workspace-writeReplace the default Task safety profile.
--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 project update

bash
atoi project update prj_8k2v --description "Release evidence workspace" --json

#project attach

Attach authoritative repository source to a Project.

atoi project attach <project-id> (--repo <owner/repo> --branch <branch> | --directory <local-git-directory>)

FlagTypeDefaultValuesWhat it does
--repostringAttach a credential-free repository URL or owner/repository shorthand.
--branchstringAttach the authoritative repository branch.
--directorystringUse a local Git directory or a path within the attached repository.
--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 project attach

bash
atoi project attach prj_8k2v --repo owner/repository --branch main --json

#project source

Read a Project source binding and last reported source state.

atoi project source <project-id>

FlagTypeDefaultValuesWhat it does
--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 project source

bash
atoi project source prj_8k2v --json

#project status

Inspect local Git truth and report it against the attached Project source.

atoi project status <project-id> [--directory <path>] [--preview-url <url>]

FlagTypeDefaultValuesWhat it does
--directorystringcurrent directoryInspect this local Git directory.
--preview-urlstringReport a credential-free HTTP or HTTPS preview URL.
--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 project status

bash
atoi project status prj_8k2v --directory . --json

#project changes

Read the latest or selected Task change set for a Project.

atoi project changes <project-id> [--task <task-id>]

FlagTypeDefaultValuesWhat it does
--taskstringSelect a Task 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 project changes

bash
atoi project changes prj_8k2v --task tsk_3m9q --json

#project archive

Archive one exact Project.

atoi project archive <project-id> --confirm

FlagTypeDefaultValuesWhat it does
--confirm requiredbooleanConfirm the exact consequential action after you inspect its target.
--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 project archive

bash
atoi project archive prj_8k2v --confirm --json

#project restore

Restore an archived Project.

atoi project restore <project-id>

FlagTypeDefaultValuesWhat it does
--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 project restore

bash
atoi project restore prj_8k2v --json

Was this useful?