Skip to main content

Overview

PromptMetrics uses Workspace API keys to authenticate all API requests.
Each API key is scoped to a workspace and enables secure, programmatic access to your resources.

Step 1: Sign in to the PromptMetrics Web App

Log in to the PromptMetrics dashboard using your registered account. 👉 App URL: https://app.promptmetrics.dev

Step 2: Navigate to Workspace Settings

After logging in:
  1. Select your Workspace from the top dropdown.
  2. Click Settings from the left sidebar.
This opens the Workspace Management screen.

Step 3: Open the API Tab

Inside Workspace Management:
  1. Click on the API tab.
  2. Select Workspace Keys.
This section lists all API keys associated with the selected workspace.

Step 4: Create or Copy an API Key

  • Click Create API Key to generate a new key.
  • Copy the generated key and store it securely.
⚠️ API keys are shown only once for security reasons.
If a key is lost or compromised, revoke it and create a new one.

Using the API Key

Include the API key in every request using the Authorization header.
Authorization: pm_your_api_key_here