Skip to main content

OpenRouter API Key

Description

General

  • Documentation: https://openrouter.ai/docs/quickstart
  • Summary: OpenRouter provides a unified API to access multiple AI models. This detector can catch both authentication and provisioning keys.
  • IPs allowlist: This feature is not available.

Revoke the secret

API keys can be revoked through the account settings on the OpenRouter platform.

Check for suspicious activity

Usage of the API key can be reviewed in the account settings on the OpenRouter platform.

Details for Openrouter apikey

  • Family: token

  • Category: ai

  • Company: OpenRouter

  • High recall: True

  • Validity check available: True

  • Analyzer available: False

  • On-premise instances exist: False

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 22.49

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator
patterns:
- sk-or-v1-

Examples

- text: |
OPENROUTER_API_KEY_2=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
apikey: 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