Skip to Content
Account SettingsTokens and API Keys

Tokens and API Keys

API tokens authenticate console APIs, CLI, SDK, MCP clients, and Relay IDE hooks. Each token has a name, expiry, and usage history.

Which key do I need?

Key typeScopeUse for
Organization (eis_*)Org platform accessMarshal SDK / CLI, AI Gateway, Tools & MCP clients
Personal with RELAY scopeYour user + RelayClaude / Cursor / Codex / OpenCode hooks only

Org keys are rejected on Relay IDE hooks. Personal Relay keys are the right choice for Connect. Full map: SDKs & CLI.

How To: Create a New API Token and Set Expiry

Create a New API Token and Set ExpiryConsole walkthrough: generating a new API token and setting expiry options.

Create a new API token

  1. Open Account Settings → Tokens and API Keys.
  2. Enter a Token name that identifies usage (for example local-relay, ci-marshal).
  3. Choose scopes (include RELAY for IDE hooks) and an expiry (or No expiry if permitted).
  4. Click Create.
  5. Copy the secret immediately — it is shown only once.

Store the secret in a password manager or secret store. Never paste tokens into agent chat or commit them to git.

Token fields

FieldMeaning
NameWhere the token is used
ExpiryWhen it stops working
UsageRecent activity for audit

Name examples:

local-relay ci-marshal-sdk mcp-cursor

Revoke and rotate

Revoke compromised or unused tokens from the same table. Create a replacement before revoking production keys used by CI or shared MCP clients.

Last updated on