Tokens and API Keys
How To: Create a New API Token and Set Expiry
API tokens provide secure authentication when interacting with the platform programmatically, including APIs, CLI tools, and MCP integrations.
Each token is associated with a name, expiry policy, and usage history to ensure visibility and security.
Create a new API token
To generate a new token:
- Enter a Token name that helps identify its usage.
- Select an expiry duration (or choose No expiry if permitted).
- Click Create.
- Copy the generated secret immediately — it is shown only once.
Important — The token secret is displayed only once during creation. Store it securely in a password manager or secret store.
Understanding token fields
Each token listed in the table includes the following details:
Token name
A user-defined label that identifies where the token is used.
Examples:
- CLI integrations
- Local scripts
- Monitoring tools
- MCP-based AI assistants
Use descriptive names such as:
local-curl
monitor-api-key
mcp-inspectionLast updated on