Account Management Commands
Manage projects, API keys, team members, and usage with the dg CLI.
Account commands are flag-based: the action is a flag, not a subcommand. Run dg keys --help, dg projects --help, or dg members --help for the full set.
Projects
List Projects
Switch Project
API Keys
List Keys
Create Key
--scopes takes comma-separated scope names and defaults to member. See Working With Roles & API Scopes for what each scope grants.
Delete Key
Use --dry-run to preview:
Team Members
List Members
Invite Member
Available scopes: owner, admin, member. See Working With Roles & API Scopes.
Remove Member
Usage
View Usage
Export Usage
-o belongs to dg itself, so it goes before the subcommand name:
Billing
View Balance
Direct API Access
Use dg api to call any Deepgram API endpoint. The endpoint is positional; set the method with -X and body fields with -f:
Authentication is handled automatically.