docs/elevenlabs.md
The ElevenLabs provider reads subscription usage from the ElevenLabs API using an API key.
next_character_count_reset_unix.Store the API key without opening Settings:
printf '%s' "$ELEVENLABS_API_KEY" | codexbar config set-api-key --provider elevenlabs --stdin
This trims the piped key, writes it to ~/.codexbar/config.json with restrictive permissions, and enables ElevenLabs by default. Use --no-enable to save the key without enabling the provider.
https://elevenlabs.io/app/settings/api-keysCodexBar also accepts these environment variables:
ELEVENLABS_API_KEYXI_API_KEYFor tests or self-hosted/proxy setups, override the API base URL with ELEVENLABS_API_URL.
GET https://api.elevenlabs.io/v1/user/subscriptionxi-api-keycharacter_count, character_limit, voice_slots_used, voice_limit, professional_voice_slots_used, professional_voice_limit, tier, status, next_character_count_reset_unixSet the key with codexbar config set-api-key --provider elevenlabs --stdin, add it in Settings -> Providers -> ElevenLabs, set ELEVENLABS_API_KEY, or configure an ElevenLabs token account.
Confirm the API key is valid and that the current network can reach api.elevenlabs.io.