{
  "openapi": "3.1.0",
  "info": {
    "title": "GetProven public discovery API",
    "version": "1.0.0",
    "summary": "Public machine-readable discovery resources for GetProven.",
    "description": "A small unauthenticated API for checking GetProven's public discovery surface. It does not expose marketplace data, customer data, vendor applications, or transactional product operations."
  },
  "servers": [
    {
      "url": "https://www.getproven.com",
      "description": "GetProven production website"
    }
  ],
  "tags": [
    {
      "name": "Discovery",
      "description": "Public agent and developer discovery endpoints."
    }
  ],
  "paths": {
    "/api/status": {
      "get": {
        "operationId": "getPublicDiscoveryStatus",
        "summary": "Get public discovery status",
        "description": "Use this endpoint to confirm that GetProven's public agent and developer resources are available.",
        "tags": [
          "Discovery"
        ],
        "responses": {
          "200": {
            "description": "The public discovery surface is available.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusResponse"
                }
              }
            }
          },
          "405": {
            "description": "The HTTP method is not supported.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "StatusResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "status",
          "description",
          "documentation",
          "openapi",
          "agentInstructions"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "const": "ok"
          },
          "description": {
            "type": "string"
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "openapi": {
            "type": "string",
            "format": "uri"
          },
          "agentInstructions": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "code",
              "message",
              "resolution",
              "docs"
            ],
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "not_found",
                  "method_not_allowed",
                  "internal_error"
                ]
              },
              "message": {
                "type": "string"
              },
              "resolution": {
                "type": "string"
              },
              "docs": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      }
    }
  }
}