Cortex CLI

The Cortex CLI for Platform communicates with Cortex from the terminal. It is separate from infrastructure management tooling.

Command Surface

CommandPurpose
loginAuthenticate and store an API token.
whoamiShow current user, organization, and API URL.
chatStart an interactive streaming chat.
run "..." --streamSend 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.