- Removed priority lines from various TODO markdown files - Added new admin.md for grokkit admin tool - Updated README.md with new entry
936 B
936 B
grokkit admin administration tools
Category: Nice to Have
Add an admin command that, if an XAI_MGMT_KEY is set in the environment, displays up-to-date token usage on the api account/team.
Details
-
Command:
grokkit admin -
Subcommands:
grokkit admin token-usage<-- default (shows token usage for current team)grokkit admin credit-balance<-- shows credit balance for current teamgrokkit admin models<-- shows available modelsgrokkit admin api-keys<-- shows available API keys
-
Condition: Must check for
XAI_MGMT_KEYenv var. -
Functionality: Fetch and display token usage stats from the [XAI MANAGEMENT API](https://docs.x.ai/developers/rest-api-reference/management.
-
Goal: Help me monitor my API costs and limits directly from the CLI.
NOTE: If possible, it would be cool if this command was "hidden" if the XAI_MGMT_KEY is not set.