Agents
Agent Keys
Create and manage API keys for your agents
Agent keys authenticate your AI agents with Ink. Each key is scoped to your account.
Creating a key
- Go to Settings > Agent Keys
- Click Create Key
- Give it a name (e.g., "Claude Code", "Cursor")
- Copy the key — it's only shown once
Key format
Keys use the format dk_live_ followed by a random string. For example:
dk_live_a1b2c3d4e5f6...Using a key
Pass the key as a Bearer token in the Authorization header:
Authorization: Bearer dk_live_a1b2c3d4e5f6...Revoking a key
If a key is compromised or no longer needed:
- Go to Settings > Agent Keys
- Click the revoke button next to the key
- The key is immediately invalidated
Best practices
- Create a separate key for each agent so you can revoke them independently
- Name your keys descriptively so you know which agent uses which key
- Rotate keys periodically for security
- Never commit keys to source control