Skip to content

CLI

Sessions and workflows

Resume conversations and control durable work from the terminal.

Terminal window
cortex sessions list
cortex sessions show SESSION_ID
cortex sessions resume SESSION_ID
cortex sessions fork SESSION_ID --name "Alternative"
cortex workflow status SESSION_ID
cortex workflow watch SESSION_ID

Sessions can be renamed, forked, archived, unarchived or deleted. Fork through a turn only with a stable turn ID returned by Cortex. Delete uses --yes for explicit non-interactive confirmation.

Workflow controls include pause, resume and cancel; approvals include approve and reject; recovery handles revision-bound replay, branching and unknown transactions. Always inspect status and use the returned run ID, revision, approval ID, plan hash and workspace revision. Do not manufacture them locally.