Validate an API key and get associated project/organization details. For organization-level keys, optionally provide X-Project-Id header to validate access to a specific project.
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Project ID to validate (required for organization-level keys when accessing project resources)
Default Response
Whether the API key is valid
Type of API key - project-level or organization-level
project, organization Project details. For org keys, only present when X-Project-Id header is provided.
List of available projects. Only present for organization-level keys when no X-Project-Id header is provided.