> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptguard.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Version

> Public version probe.

SECURITY: Intentionally returns ONLY a constant string, never the
actual version, build SHA, or environment label. Build/version
metadata is privileged information used for CVE-correlation by
attackers and is therefore moved behind authenticated
``/dashboard/version``. The endpoint stays here so old deploy
smoke tests still get a 200, but the body is meaningless.



## OpenAPI

````yaml /api-reference/openapi-developer.json get /version
openapi: 3.1.0
info:
  title: PromptGuard Developer API
  description: >-
    Public API for developers to integrate PromptGuard security into their
    applications
  version: 1.0.0
servers:
  - url: https://api.promptguard.co
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /version:
    get:
      summary: Version
      description: |-
        Public version probe.

        SECURITY: Intentionally returns ONLY a constant string, never the
        actual version, build SHA, or environment label. Build/version
        metadata is privileged information used for CVE-correlation by
        attackers and is therefore moved behind authenticated
        ``/dashboard/version``. The endpoint stays here so old deploy
        smoke tests still get a 200, but the body is meaningless.
      operationId: version_version_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
                title: Response Version Version Get
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        PromptGuard API key for developer endpoints. Keys start with pg_live_
        and are created in the dashboard.

````