canviq Admin — API Keys Management

Mockup
Scene 1 — API Key List
The main API Keys page shows a table of all keys with their type, scopes, status, and usage stats. A "Create Key" button is positioned in the top right. An info callout explains what API keys are used for.
API keys authenticate requests to the canviq REST API and MCP Server. Keep them secure and rotate them regularly.
Key Name Prefix Type Scopes Created Last Used Status
Production API pk_live_aBcD... REST Full access Jan 15, 2026 2 hours ago
Survey Widget pk_sdk_eFgH... SDK surveys:read Dec 20, 2025 5 minutes ago
AI Agent pk_mcp_iJkL... MCP surveys:*, responses:* Jan 22, 2026 1 day ago
CI Pipeline pk_live_mNoP... REST responses:read, analytics:read Nov 10, 2025 3 days ago
Legacy Integration pk_live_qRsT... REST surveys:read Aug 5, 2025 Never Revoked
Scene 2 — Create Key Flow (Step 1)
Step 1 asks for the key name, type (REST API / MCP Server / SDK), and environment (Live or Test). These are the basic configuration options.

Step 1: Basic Configuration

REST API
HTTP API access
MCP Server
AI agent access
SDK
Client-side widget
Scene 3 — Create Key Flow (Step 2)
Step 2 presents permission bundles as radio cards. When "Custom" is selected, a detailed scope checklist grid appears grouped by resource.

Step 2: Permissions

Read Only
View surveys and responses
Survey Manager
Create and edit surveys
Full Access
All survey operations
Admin
Full system access
Custom
Select individual permissions
Surveys
surveys:read
surveys:write
surveys:delete
Responses
responses:read
responses:write
responses:export
Analytics
analytics:read
Submissions
submissions:read
submissions:write
Scene 4 — Key Created (Show Once)
After creating a key, the full key value is displayed once in a monospace box with a copy button. A warning callout emphasizes that this is the only time the key will be shown.
Copy this key now. You won't be able to see it again. Store it securely.
pk_live_aBcDeFgHiJkLmNoPqRsTuVwXyZ012345

Key Details

Name
Production API
Type
REST
Environment
Live
Scopes
surveys:read, surveys:write, responses:read, responses:write, analytics:read
Scene 5 — Key Detail
The key detail page shows usage stats, scopes, recent audit log entries, and a danger zone with Revoke and Rotate actions.

Production API

REST pk_live_aBcD... Created Jan 15, 2026
Active
Requests Today
1,247
Requests This Month
38,512
Last Used
2 hours ago

Scopes

surveys:read
surveys:write
responses:read
responses:write
analytics:read

Recent Activity

API request from 203.0.113.42
2 hours ago
Scope changed: added analytics:read
5 days ago
Key rotated
12 days ago
Key created by user@example.com
Jan 15, 2026

Danger Zone

These actions are permanent and cannot be undone.