Modelmetry Documentation
Back to site
  • Documentation
  • Getting Started
    • Concepts
  • Platform
    • Evaluators
    • Automations
    • Analytics
    • API Keys
    • Secrets
    • Team
      • Memberships
      • Invitations
      • Roles & Permissions
  • Evaluators
    • List of Evaluators
    • Prompt Shields (Azure)
    • DLP PII Detector (Google)
    • Text Moderation (Google)
    • Boolean LLM-as-Judge (Modelmetry)
    • Competitor Blocklist (Modelmetry)
    • Emotion Analysis (Modelmetry)
    • HTTP Request (Modelmetry)
    • Language Detector (Modelmetry)
    • Score LLM-as-Judge (Modelmetry)
    • Word Counter (Modelmetry)
  • Developers
    • Modelmetry JS SDK
    • Modelmetry Python SDK
Powered by GitBook
On this page
  • View all API keys
  • Create an API key
  • Disable an API key
  • Revoke an API key
  1. Platform

API Keys

API keys are used to perform operations programmatically on behalf of a user. For example, you will need an API key to use any Modelmetry SDK.

View all API keys

  1. Go to Settings

  2. Click on API Keys

  3. View all api keys. You can filter api keys based on their status (Enabled, Disabled, Revoked).

If you have lost your API key; you must revoke it and create a new one again. The API key will not be shown again after it's been created.

Create an API key

  1. Go to Settings

  2. Click on API Keys

  3. Click on New

  4. Select the member you want to create the API key for

  5. Click Create

  6. The API key will be displayed to you and it will never be shown to you again. Make sure you save and use it securely.

Disable an API key

  1. Go to Settings

  2. Click on API Keys

  3. Open the action menu for the api key you want to disable

  4. Click on Disable and the API key will be immediately disabled

    1. If you were in a filtered view, the API key will disappear for that filtered view.

    2. You can see it by selecting the appropriate filter.

  5. You can re-enable the API key by following the same steps and clicking on Enable

Revoke an API key

  1. Go to Settings

  2. Click on API Keys

  3. Open the action menu for the api key you want to revoke

  4. Click on Revoke and the API key will be immediately revoked

A revoked API key cannot be re-enabled so you will need to create a new API key.

PreviousAnalyticsNextSecrets

Last updated 5 months ago