<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Overview
Create, list, rotate, and revoke AIRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
Quick install
npm install -g AIRoute # or: npx AIRoute
AIRoute --version
Subcommands
`keys`
Example:
AIRoute keys
`keys add <provider> [apiKey]`
Flags:
--stdin
Example:
AIRoute keys add <provider> [apiKey]
`keys list`
Flags:
--json
Example:
AIRoute keys list
`keys remove <provider>`
Flags:
--yes
Example:
AIRoute keys remove <provider>
`keys regenerate <id>`
Flags:
--yes
Example:
AIRoute keys regenerate <id>
`keys revoke <id>`
Flags:
--yes
Example:
AIRoute keys revoke <id>
`keys reveal <id>`
Example:
AIRoute keys reveal <id>
`keys usage <id>`
Flags:
--limit <n>
Example:
AIRoute keys usage <id>
`keys policy`
Example:
AIRoute keys policy
`keys show <id>`
Example:
AIRoute keys show <id>
`keys set <id>`
Flags:
--rate-limit <n>--max-cost <n>--allowed-models <list>
Example:
AIRoute keys set <id>
`keys expiration`
Example:
AIRoute keys expiration
`keys list`
Flags:
--days <n>--json
Example:
AIRoute keys list
`keys rotate <id>`
Flags:
--grace-period <ms>--yes
Example:
AIRoute keys rotate <id>
`oauth`
Example:
AIRoute oauth
`oauth providers`
Example:
AIRoute oauth providers
`oauth start`
Flags:
--no-browser--import-from-system--social <s>--timeout <ms>
Example:
AIRoute oauth start
`oauth status`
Flags:
--provider <id>
Example:
AIRoute oauth status
`oauth revoke`
Flags:
--connection-id <id>--yes
Example:
AIRoute oauth revoke