Skip to content
Unsnag

unsnag key

Manage the OpenRouter API key.

unsnag key [options] [command]

Subcommands

CommandDescription
unsnag key setStore the OpenRouter API key, pasted at a prompt in a terminal or piped on stdin (OPENROUTER_API_KEY in the environment takes precedence).

unsnag key set

Store the OpenRouter API key, pasted at a prompt in a terminal or piped on stdin (OPENROUTER_API_KEY in the environment takes precedence).

unsnag key set [options]

It also takes the global options (--json, --quiet, --progress <form>, --no-color, --config <path>) and -h, --help.