Skip to main content

OpenAI Project API Key

Description

General

  • Documentation: https://platform.openai.com/docs/introduction
  • Summary: OpenAI is an AI-based service that can be used to perform any task that involves understanding or generating natural language, code, or images. It provides a powerful API to interact with a wide variety of models. This detector aims at catching Project API keys for this service. This type of API Key is replacing legacy API keys since April 2024.

Details for OpenAI Project API Key

  • Family: token

  • Category: ai

  • Company: OpenAI

  • High recall: True

  • Validity check available: True

  • Analyzer available: True

  • Revoker available: True

  • On-premise instances exist: False

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 1.989

  • Prefixed: True

Secret Analyzer

Analysis Method

  • Provider allows scopes enumeration: False
  • Total network call count: 16
  • Total call count may vary: True

HTTP Calls

Requests are designed to capture metadata and not to function effectively.

  • GET: /v1/assistants
  • GET: /v1/files
  • GET: /v1/fine_tuning/jobs
  • GET: /v1/me
  • GET: /v1/models
  • GET: /v1/threads/*
  • POST: /v1/assistants
  • POST: /v1/files
  • POST: /v1/fine_tuning/jobs
  • POST: /v1/moderations
  • POST: /v1/threads/*

Other Calls

Non-HTTP queries or HTTP calls made through a third-party app (e.g., Python package). No other calls for this analyzer.

Revoker

Auth Credentials

Valid credentials needed to authenticate the request.

  • email: Reporter's email

HTTP Calls

List of calls performed by the revoker.

  • POST: /external/compromised_secret

Revocation Mode

Revocation is asynchronous.