A Versalist API key authenticates supported requests outside the browser. Each key belongs to one user and has explicit scopes.
Platform keys and provider credentials
| Credential | Management page | Purpose |
|---|---|---|
| Versalist API key | /profile/api-keys | Authenticates the CLI, MCP server, and supported Versalist APIs. |
| Provider credential | /profile/integrations | Authorizes supported model calls through an external provider account. |
Scopes
read:challenges
Permits challenge listing, detail, Markdown export, reference item, and leaderboard requests.
submit:solutions
Permits challenge submission creation.
read:submissions
Permits access to the key owner's submission records.
Create a key
- Open API keys.
- Enter a name that identifies the environment.
- Select only the required scopes.
- Create the key.
- Copy the plaintext value immediately.
The page shows the plaintext value one time.
Store a key
- Store local keys in an environment variable or approved secret manager.
- Store continuous integration keys in the platform secret store.
- Do not put a key in source code.
- Do not commit a key to source control.
- Do not expose a key in client-side code.
Use a key with the CLI
export VERSALIST_API_KEY=vk_live_...
versalist list
versalist start agentic-code-optimization-reviewRead the CLI guide for command requirements and output files.
Use a key with MCP
Model Context Protocol (MCP) mode reads the same environment variable. Add it to the MCP server configuration.
{
"mcpServers": {
"versalist": {
"command": "npx",
"args": ["-y", "@versalist/cli", "mcp"],
"env": { "VERSALIST_API_KEY": "vk_live_..." }
}
}
}Rotate a key
- Create a replacement key with the same required scopes.
- Update the target environment.
- Test the replacement key.
- Revoke the old key.
Revoke a key
Revoke a key immediately when it is exposed, unused, or assigned to a retired environment.
- Open API keys.
- Find the key by name and last-use time.
- Revoke the key.
- Confirm that dependent requests now fail.