Device API
API Keys
Create and manage API keys for the Device API.
Navigate to Devices > API Keys to manage your API keys. API keys authenticate all requests to the Device API.
Creating an API key
- Click Create API Key in the header
- Enter a name for the key (e.g. "Claude Code", "Cursor", "CI Pipeline")
- Click Create
The full API key is displayed once after creation. Copy it immediately — you won't be able to see it again.
The modal also shows ready-to-copy setup commands for popular MCP clients:
- Claude Code —
claude mcp addcommand - Cursor —
cursor --add-mcpcommand - VS Code Copilot —
code --add-mcpcommand - Codex —
codex mcp addcommand - Windsurf — JSON config snippet
Active keys
The active keys table shows:
- Name — The label you gave the key
- Key suffix — Last 4 characters for identification
- Created — When the key was created
- Last used — When the key was last used to make an API call
Revoking a key
Click Revoke next to any active key to disable it. Revoked keys stop working immediately — any MCP clients using the key will lose access.
Revoked keys are moved to a separate section showing the last 5 revoked keys for reference.
Best practices
- Create separate keys for each MCP client or environment (development, CI, production)
- Revoke keys you're no longer using
- Rotate keys periodically for security