Cortex CLI
The Cortex CLI for Platform communicates with Cortex from the terminal. It is separate from infrastructure management tooling.
Command 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. |
documents upload <file> | Upload a document 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. |