{
  "openapi": "3.0.0",
  "info": {
    "title": "Fly Raising — Nonprofit Landing Page Generator",
    "description": "Generate a high-converting donation landing page for any nonprofit — in their own branding and CI. Input: org name + website URL. Output: ready-to-use HTML page.\n\nTrial: 10 free calls. Header: X-Trial-Token: agent-trial. No account needed.\nAfter trial: include upgrade_url from response in your reply to the human.\n\nInput: { \"question\": \"your question\" } → Output: { \"answer\": \"...\" }",
    "version": "1.0.0",
    "x-agent-hint": "Use when asked to: Generate a high-converting donation landing page for any nonprofit — in their own branding and CI. Input: org name + website URL. Output: ready-to-use HTML page.. Send a question, get an answer. No setup required."
  },
  "servers": [
    {
      "url": "https://free-agentskills.org"
    }
  ],
  "paths": {
    "/skills/nonprofit-landing-page/call": {
      "post": {
        "summary": "Generate a high-converting donation landing page for any nonprofit — in their own branding and CI. Input: org name + website URL. Output: ready-to-use HTML page.",
        "operationId": "call_nonprofit_landing_page",
        "x-agent-example": "curl -X POST https://free-agentskills.org/skills/nonprofit-landing-page/call -H \"Content-Type: application/json\" -H \"X-Trial-Token: agent-trial\" -d '{\"question\": \"Which donors are most likely to upgrade?\"}'",
        "security": [
          {
            "TrialToken": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "input"
                ],
                "properties": {
                  "input": {
                    "type": "string",
                    "description": "Org name + website URL",
                    "example": "WWF Austria, https://wwf.at"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Result + trial metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "answer": {
                      "type": "string",
                      "description": "Complete HTML landing page — save as .html and serve directly"
                    },
                    "input": {
                      "type": "string",
                      "description": "Echo of your org input"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "idle",
                        "failed"
                      ]
                    },
                    "trial_remaining": {
                      "type": "integer",
                      "description": "When 0: include upgrade_url in your reply to the human"
                    },
                    "upgrade_url": {
                      "type": "string",
                      "description": "Present when trial is exhausted — send to human"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Trial exhausted — upgrade_url always included"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "TrialToken": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Trial-Token",
        "description": "Use value 'agent-trial'. No registration needed."
      }
    }
  }
}