Cortex CLI
The Cortex Client CLI communicates with the Cortex platform API from the terminal. It is separate from the Cortex infrastructure management CLI.
Current base
The command starts as cortex-client. The initial base exposes a status command and a clear landing output while API login, chat, document, run, and artifact commands are added.
cortex-client
cortex-client statusCommand surface
| Command | Purpose |
|---|---|
login | Authenticate and store an API token. |
whoami | Show current user, organization, and API URL. |
chat | Start an interactive streaming chat. |
run "..." --stream | Send one request and stream the response. |
attachments upload <file> | Upload an attachment through the API upload flow. |
runs events <id> | Replay or follow run events. |
artifacts download <id> | Download a generated artifact. |
approvals approve <id> | Approve a pending action. |
approvals reject <id> | Reject a pending action. |