Skip to main content
API keys authenticate the mutagent CLI and SDK with your Mutagent Platform account. Managed keys use the mg_live_ prefix.
For interactive use you don’t need to copy a key — mutagent login opens a browser and authorizes the CLI for you. API keys are for CI, scripts, and headless environments.

Create a key

1

Open the dashboard

2

Create API Key

Click Create API Key, give it a name, and copy the key — it’s shown only once.
3

Use it

Export it for the CLI or SDK:
With this set, mutagent commands authenticate without the browser flow.

Good practice

  • Keep keys in environment variables or a secrets manager — never commit them.
  • Use one key per environment or machine, and rotate on a schedule.
  • Revoke a key from the same dashboard page the moment it’s no longer needed.