API keys let you interact with DeployGPU programmatically. Use them to deploy instances, check your balance, manage volumes, and more through the API.
Create an API key
- Navigate to API Keys in the sidebar
- Enter a name for the key (e.g., “Production”, “CI/CD Pipeline”)
- Click Create
- Copy the key immediately — it is only displayed once
The full API key is shown only at creation time. It cannot be retrieved later. Store it securely (e.g., in a secrets manager or environment variable).
Using your API key
Include the API key in the Authorization header of your requests:
See the API Reference for full documentation of all available endpoints.
Key management
The API Keys page shows all your active keys:
Revoke a key
Click Revoke next to any key, then confirm in the dialog. Revoked keys stop working immediately.
Revoking cannot be undone — you’ll need to create a new key if you need access again.
Best practices
- Use separate API keys for different environments or services. If one is compromised, you can revoke it without affecting others.
- Revoke keys you’re no longer using.
- Never commit API keys to source control. Use environment variables or a secrets manager instead.
- The Last used column helps you identify stale keys that may be safe to revoke.