Skip to content
Browse documentation
Set up / ATH documentation

ath key

Manage a gateway key for predictions from the terminal.

Usage

$ath key

What it does

Shows which gateways are configured without printing their keys. An agent using its own model does not need an ATH gateway key.

Examples

set prompts for a Vercel or OpenRouter key and stores it in the OS password store, never in the training record. ath key clear openrouter removes that saved key; ath key clear removes both saved gateway keys.

$ath key set openrouter

ath key set

Accepts vercel or openrouter. Enter the key when prompted; do not put it in the command.

$ath key set openrouter

ath key clear

Removes a saved gateway key. Omit the gateway to remove both saved keys.

$ath key clear openrouter

Options

--json
structured output, for an agent rather than a person

Related commands

Up nextath models →