API Keys

API keys authenticate machine-to-machine requests to the CmdCal runtime. Each key is scoped to your organization and can be named, tracked, and revoked independently.

At the moment, the hosted V2 runtime behind those keys is presentation-focused. Spreadsheet workflows are available through the self-hosted XLSX SDK and the CmdCal MCP spreadsheet tools.

Key Format

All CmdCal API keys use the prefix pj_live_ followed by 64 hex characters:

Code
pj_live_a1b2c3d4e5f6...

The full key is shown exactly once at creation time. CmdCal stores only the SHA-256 hash -- the raw key cannot be retrieved later.

Creating a Key

API keys page

From the dashboard at /dashboard/api-keys, click Create API Key. Enter a descriptive name (e.g. "Production", "Staging", "CI Pipeline") and click Generate Key.

Create key dialog with name filled

The dialog shows:

  1. The full key -- copy it immediately.
  2. A ready-to-use curl snippet for your first API request.
  3. An MCP server config snippet for Claude Desktop or Cursor.

Key revealed with curl and MCP snippets