{
  "openapi": "3.1.0",
  "info": {
    "title": "PromptForge Public Pages",
    "version": "1.0.0",
    "description": "Read-only public information. No prompt inference or identity service."
  },
  "servers": [
    {
      "url": "https://promptsprite.com"
    }
  ],
  "security": [],
  "paths": {
    "/api/agent/pages.json": {
      "get": {
        "operationId": "listPages",
        "summary": "List published pages",
        "responses": {
          "200": {
            "description": "Public data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/agent/pages/{id}.json": {
      "get": {
        "operationId": "readPage",
        "summary": "Read a published page",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "home",
                "ai-prompt-en",
                "art-prompt-generator-en",
                "prompt-generator-ar",
                "prompt-generator-de",
                "prompt-generator-en",
                "story-prompt-generator-en",
                "story-topic-generator-en",
                "writing-prompt-generator-en"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Public data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "title",
                    "source_url",
                    "content",
                    "qualifiers"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "source_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "content": {
                      "type": "string"
                    },
                    "qualifiers": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Unknown id"
          }
        }
      }
    }
  }
}
