The API Keys page is where you manage all credentials for applications connecting to the MetrixLLM gateway.
Creating a Key
- Click Create API Key.
- Enter a descriptive name (e.g.
iOS App - Production, Backend Service).
- Click Create — the key is displayed once. Copy it immediately.
The key value is shown only at the moment of creation. If you didn’t copy it, revoke the key and create a new one.
All MetrixLLM API keys begin with mtx_. This prefix ensures your code never accidentally sends a raw provider key (like sk-...) through the gateway.
Revoking a Key
Click the Revoke button next to any key to immediately invalidate it. Active requests using that key will fail with a 401 Unauthorized error within seconds.
Viewing Key Usage
Each key in the table shows its last used timestamp and the total request count. Click on a key to see a filtered view of its request logs and cost breakdown.