{
  "openapi": "3.0.3",
  "info": {
    "title": "AppGram API",
    "version": "1.0",
    "description": "Authenticate management requests under `/api/v1` with an organization or project API key in the `x-api-key` header. Portal routes under `/portal` are called from your end users' browsers, identify the project by `project_id` (or your custom domain) and need no API key."
  },
  "servers": [
    {
      "url": "https://api.appgram.dev",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "AI"
    },
    {
      "name": "Analytics"
    },
    {
      "name": "Blog"
    },
    {
      "name": "Feature requests"
    },
    {
      "name": "Forms"
    },
    {
      "name": "Help Center"
    },
    {
      "name": "Monitors"
    },
    {
      "name": "Portal"
    },
    {
      "name": "Releases"
    },
    {
      "name": "Roadmaps"
    },
    {
      "name": "Support"
    },
    {
      "name": "Surveys"
    },
    {
      "name": "Waitlist"
    },
    {
      "name": "Webhooks"
    }
  ],
  "paths": {
    "/api/v1/analytics/comprehensive": {
      "get": {
        "operationId": "Analytics.Comprehensive",
        "summary": "Get comprehensive analytics across all sources",
        "description": "Returns unified analytics with friction scores, health metrics, and insights from all data sources",
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "end_date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_insights",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_scores",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_timeseries",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sources",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.ComprehensiveAnalytics"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/analytics/forms": {
      "get": {
        "operationId": "Analytics.FormsAnalytics",
        "summary": "Get contact form analytics",
        "description": "Returns analytics for contact forms including submission rates and timeseries\n\nRequired API key scope: `analytics:view`.",
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "end_date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.ContactFormAnalytics"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/analytics/surveys": {
      "get": {
        "operationId": "Analytics.SurveysAnalytics",
        "summary": "Get survey analytics",
        "description": "Returns analytics for surveys including response rates and timeseries\n\nRequired API key scope: `analytics:view`.",
        "tags": [
          "Analytics"
        ],
        "parameters": [
          {
            "name": "end_date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SurveyAnalytics"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/contact-forms/overview": {
      "get": {
        "operationId": "ContactForms.Overview",
        "summary": "Get submission overview",
        "description": "Retrieve comprehensive submission statistics for a project (admin only)\n\nRequired API key scope: `forms:view`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "nullable": true,
                      "additionalProperties": {}
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors": {
      "get": {
        "operationId": "Monitors.ListMonitors",
        "summary": "List monitors",
        "description": "Required API key scope: `status:view`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "status_page_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "nullable": true,
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/monitoring.Monitor"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "operationId": "Monitors.CreateMonitor",
        "summary": "Create a monitor",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.CreateMonitorRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/monitoring.Monitor"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/maintenance": {
      "post": {
        "operationId": "Monitors.CreateMaintenanceWindow",
        "summary": "Create maintenance window",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.CreateMaintenanceWindowRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/monitoring.MaintenanceWindow"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/public/{status_page_id}/status": {
      "get": {
        "operationId": "Monitors.GetPublicStatus",
        "summary": "Get public monitor status",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "status_page_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "$ref": "#/components/schemas/services.PublicMonitorStatus"
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/api/v1/monitors/public/{status_page_id}/uptime": {
      "get": {
        "operationId": "Monitors.GetPublicUptime",
        "summary": "Get public monitor uptime",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "status_page_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "nullable": true,
                  "additionalProperties": {
                    "type": "number",
                    "format": "double"
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/api/v1/monitors/{id}": {
      "get": {
        "operationId": "Monitors.GetMonitor",
        "summary": "Get a monitor",
        "description": "Required API key scope: `status:view`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/monitoring.Monitor"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "operationId": "Monitors.DeleteMonitor",
        "summary": "Delete a monitor",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "message",
                    "success"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "operationId": "Monitors.UpdateMonitor",
        "summary": "Update a monitor",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.UpdateMonitorRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/monitoring.Monitor"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/alert/acknowledge": {
      "post": {
        "operationId": "Monitors.AcknowledgeAlert",
        "summary": "Acknowledge an alert",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.AcknowledgeAlertRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "message"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/alert/resolve": {
      "post": {
        "operationId": "Monitors.ResolveAlert",
        "summary": "Resolve an alert",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.ResolveAlertRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "message"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/check-now": {
      "post": {
        "operationId": "Monitors.CheckNow",
        "summary": "Check monitor now",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/monitoring.CheckResult"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/checks": {
      "get": {
        "operationId": "Monitors.GetMonitorChecks",
        "summary": "List monitor checks",
        "description": "Required API key scope: `status:view`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "checks": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "nullable": true,
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/monitoring.CheckResult"
                          }
                        ]
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "has_next": {
                          "type": "boolean"
                        },
                        "has_prev": {
                          "type": "boolean"
                        },
                        "page": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "per_page": {
                          "type": "integer",
                          "format": "int64"
                        }
                      },
                      "required": [
                        "has_next",
                        "has_prev",
                        "page",
                        "per_page"
                      ]
                    }
                  },
                  "required": [
                    "pagination"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/history": {
      "get": {
        "operationId": "Monitors.GetCheckHistory",
        "summary": "Get check history",
        "description": "Required API key scope: `status:view`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "nullable": true,
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/monitoring.CheckResult"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/pause": {
      "post": {
        "operationId": "Monitors.PauseMonitor",
        "summary": "Pause a monitor",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "message"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/response-times": {
      "get": {
        "operationId": "Monitors.GetResponseTimes",
        "summary": "Get response time data",
        "description": "Required API key scope: `status:view`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "nullable": true,
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/monitoring.ResponseTimeData"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/resume": {
      "post": {
        "operationId": "Monitors.ResumeMonitor",
        "summary": "Resume a monitor",
        "description": "Required API key scope: `status:manage`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "message"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/monitors/{id}/uptime": {
      "get": {
        "operationId": "Monitors.GetUptime",
        "summary": "Get monitor uptime",
        "description": "Required API key scope: `status:view`.",
        "tags": [
          "Monitors"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/monitoring.UptimeStats"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/contact-forms": {
      "post": {
        "operationId": "Customizations.CreateContactForm",
        "summary": "Create contact form",
        "description": "Create a new contact form with custom fields and settings\n\nRequired API key scope: `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreateContactFormRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "contact_form": {
                          "$ref": "#/components/schemas/models.ContactForm"
                        }
                      },
                      "required": [
                        "contact_form"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/contact-forms/submissions": {
      "get": {
        "operationId": "ContactForms.GetSubmissions",
        "summary": "Get form submissions",
        "description": "Retrieve all contact form submissions for a project (admin only)\n\nRequired API key scope: `forms:view`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "pagination": {
                          "type": "object",
                          "properties": {
                            "limit": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "offset": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "total": {
                              "type": "integer",
                              "format": "int64"
                            }
                          },
                          "required": [
                            "limit",
                            "offset",
                            "total"
                          ]
                        },
                        "submissions": {
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "$ref": "#/components/schemas/models.SanitizedContactFormSubmission"
                          }
                        }
                      },
                      "required": [
                        "pagination"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/contact-forms/{formId}": {
      "get": {
        "operationId": "Customizations.GetContactForm",
        "summary": "Get contact form",
        "description": "Retrieve a single contact form configuration and its submission statistics\n\nRequired API key scope: `forms:view` or `forms:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "contact_form": {
                          "$ref": "#/components/schemas/models.ContactForm"
                        },
                        "recent_submissions": {
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "$ref": "#/components/schemas/models.SanitizedContactFormSubmission"
                          }
                        },
                        "submission_count": {
                          "type": "integer",
                          "format": "int64"
                        }
                      },
                      "required": [
                        "contact_form"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "put": {
        "operationId": "Customizations.UpdateContactForm",
        "summary": "Update contact form",
        "description": "Update an existing contact form's configuration\n\nRequired API key scope: `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.UpdateContactFormRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "updated_at": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "required": [
                        "updated_at"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "operationId": "Customizations.DeleteContactForm",
        "summary": "Delete contact form",
        "description": "Delete a contact form and remove it from project customization\n\nRequired API key scope: `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/contact-forms/{formId}/submissions": {
      "get": {
        "operationId": "ContactForms.GetSubmissionsByFormID",
        "summary": "Get submissions by form",
        "description": "Retrieve contact form submissions for a specific form (admin only)\n\nRequired API key scope: `forms:view`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "pagination": {
                          "type": "object",
                          "properties": {
                            "limit": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "offset": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "total": {
                              "type": "integer",
                              "format": "int64"
                            }
                          },
                          "required": [
                            "limit",
                            "offset",
                            "total"
                          ]
                        },
                        "submissions": {
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "$ref": "#/components/schemas/models.SanitizedContactFormSubmission"
                          }
                        }
                      },
                      "required": [
                        "pagination"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/contact-forms/{formId}/submit": {
      "post": {
        "operationId": "ContactForms.SubmitContactForm",
        "summary": "Submit contact form",
        "description": "Submit a contact form with user data (public endpoint, no authentication required)",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.SubmitContactFormRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string"
                        },
                        "success": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "message",
                        "success"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/api/v1/projects/{id}/contact-forms/{formId}/view": {
      "post": {
        "operationId": "ContactForms.TrackFormView",
        "summary": "Track form view",
        "description": "Track when a contact form is viewed (for analytics)",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "tracked": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "tracked"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/api/v1/projects/{id}/support-forms": {
      "get": {
        "operationId": "Customizations.GetSupportForms",
        "summary": "Get support forms",
        "description": "Retrieve all support forms configured for a project\n\nRequired API key scope: `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "support_forms": {
                          "type": "object",
                          "nullable": true,
                          "additionalProperties": {
                            "$ref": "#/components/schemas/models.SupportForm"
                          }
                        }
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "operationId": "Customizations.CreateSupportForm",
        "summary": "Create support form",
        "description": "Create a new support form with custom fields and settings\n\nRequired API key scope: `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreateSupportFormRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "support_form": {
                          "$ref": "#/components/schemas/models.SupportForm"
                        }
                      },
                      "required": [
                        "support_form"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/support-forms/{formId}": {
      "get": {
        "operationId": "Customizations.GetSupportForm",
        "summary": "Get support form",
        "description": "Retrieve a single support form configuration\n\nRequired API key scope: `settings:view` or `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "support_form": {
                          "$ref": "#/components/schemas/models.SupportForm"
                        }
                      },
                      "required": [
                        "support_form"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "put": {
        "operationId": "Customizations.UpdateSupportForm",
        "summary": "Update support form",
        "description": "Update an existing support form's configuration\n\nRequired API key scope: `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.UpdateSupportFormRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "support_form": {
                          "$ref": "#/components/schemas/models.SupportForm"
                        }
                      },
                      "required": [
                        "support_form"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "operationId": "Customizations.DeleteSupportForm",
        "summary": "Delete support form",
        "description": "Delete a support form and remove it from project customization\n\nRequired API key scope: `settings:manage`.",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/support-forms/{formId}/submit": {
      "post": {
        "operationId": "Customizations.SubmitSupportForm",
        "summary": "Submit support form",
        "description": "Submit a support form with user data and create a support request (public endpoint, no authentication required)",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.SubmitSupportFormRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SafePublicSupportRequestWithToken"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/api/v1/projects/{id}/surveys/available/{externalUserId}": {
      "get": {
        "operationId": "Surveys.GetAvailableSurveysForUser",
        "summary": "Get available surveys for user",
        "description": "Get active surveys that the user hasn't responded to yet\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalUserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/handlers.AvailableSurvey"
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/wishlist": {
      "get": {
        "operationId": "Wishlist.List",
        "summary": "List waitlist entries",
        "description": "Get paginated list of all users on project wishlist (admin only)\n\nRequired API key scope: `wishlist:view`.",
        "tags": [
          "Waitlist"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.WishlistEntry"
                      }
                    },
                    "page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "per_page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    },
                    "total": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "total_pages": {
                      "type": "integer",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "success",
                    "total",
                    "page",
                    "per_page",
                    "total_pages"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/projects/{id}/wishlist/count": {
      "get": {
        "operationId": "Wishlist.GetCount",
        "summary": "Count waitlist entries",
        "description": "Get total number of users on project wishlist",
        "tags": [
          "Waitlist"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer",
                          "format": "int64"
                        }
                      },
                      "required": [
                        "count"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/api/v1/projects/{id}/wishlist/join": {
      "post": {
        "operationId": "Wishlist.Join",
        "summary": "Join the waitlist",
        "description": "Add current user or email to project wishlist",
        "tags": [
          "Waitlist"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.JoinWishlistRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.WishlistEntry"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          }
        },
        "security": []
      }
    },
    "/api/v1/projects/{id}/wishlist/leave": {
      "delete": {
        "operationId": "Wishlist.Leave",
        "summary": "Leave the waitlist",
        "description": "Remove current user from project wishlist",
        "tags": [
          "Waitlist"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fingerprint",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/api/v1/projects/{id}/wishlist/status": {
      "get": {
        "operationId": "Wishlist.IsOnWishlist",
        "summary": "Check waitlist membership",
        "description": "Check if current user is on project wishlist",
        "tags": [
          "Waitlist"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fingerprint",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "is_on_wishlist": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "is_on_wishlist"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/api/v1/releases/{id}/recipients": {
      "get": {
        "operationId": "Releases.PreviewRecipients",
        "summary": "Preview release email recipients",
        "description": "Returns the list of subscribers who would receive this release email based on audience_tags. Call before publishing to see who will be notified.\n\nRequired API key scope: `releases:view`.",
        "tags": [
          "Releases"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/services.RecipientsPreview"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/releases/{id}/send-demo": {
      "post": {
        "operationId": "Releases.SendDemoEmail",
        "summary": "Send a preview release email",
        "description": "Sends a preview of the release announcement email to the requesting user's inbox before publishing to subscribers\n\nRequired API key scope: `releases:manage`.",
        "tags": [
          "Releases"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "message"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/support-requests/{id}/messages/user/{externalUserId}": {
      "post": {
        "operationId": "Support.AddMessageByExternalUserID",
        "summary": "Add a message as an end user",
        "description": "Add a message to a support request, verifying the ticket belongs to the external user",
        "tags": [
          "Support"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalUserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreateSupportMessageRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SupportMessage"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys": {
      "get": {
        "operationId": "Surveys.ListSurveys",
        "summary": "List surveys",
        "description": "Get list of surveys for a project with optional filtering by active status\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "is_active",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.DashboardSurvey"
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "operationId": "Surveys.CreateSurvey",
        "summary": "Create survey",
        "description": "Create a new survey for a project\n\nRequired API key scope: `surveys:manage`.",
        "tags": [
          "Surveys"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreateSurveyRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.RedactedPublicSurvey"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys/nodes/{nodeId}": {
      "delete": {
        "operationId": "Surveys.DeleteNode",
        "summary": "Delete survey node",
        "description": "Delete a survey node/question\n\nRequired API key scope: `surveys:manage`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "nodeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "operationId": "Surveys.UpdateNode",
        "summary": "Update survey node",
        "description": "Update an existing survey node/question\n\nRequired API key scope: `surveys:manage`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "nodeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.UpdateSurveyNodeRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SurveyNode"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys/responses/{id}": {
      "get": {
        "operationId": "Surveys.GetResponse",
        "summary": "Get survey response",
        "description": "Get a specific survey response with all its answers (admin only)\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.DashboardSurveyResponse"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys/{id}": {
      "get": {
        "operationId": "Surveys.GetSurvey",
        "summary": "Get survey",
        "description": "Get a specific survey with all its nodes\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.DashboardSurvey"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "operationId": "Surveys.DeleteSurvey",
        "summary": "Delete survey",
        "description": "Delete a survey and all its associated nodes and responses\n\nRequired API key scope: `surveys:manage`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "operationId": "Surveys.UpdateSurvey",
        "summary": "Update survey",
        "description": "Update an existing survey's configuration\n\nRequired API key scope: `surveys:manage`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.UpdateSurveyRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.RedactedPublicSurvey"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys/{id}/analytics": {
      "get": {
        "operationId": "Surveys.GetAnalytics",
        "summary": "Get survey analytics",
        "description": "Get analytics and statistics for a survey (admin only)\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "nullable": true,
                      "additionalProperties": {}
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys/{id}/export": {
      "post": {
        "operationId": "Surveys.ExportResponses",
        "summary": "Export survey responses",
        "description": "Export all responses for a survey as a downloadable file (admin only). Wide CSV (one row per response, one column per question) or nested JSON.\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys/{id}/nodes": {
      "get": {
        "operationId": "Surveys.ListNodes",
        "summary": "List survey nodes",
        "description": "Get all nodes (questions) for a survey\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.SurveyNode"
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "operationId": "Surveys.CreateNode",
        "summary": "Create survey node",
        "description": "Create a new question/node in a survey with support for multiple question types (yes_no, short_answer, paragraph, multiple_choice, checkboxes, rating)\n\nRequired API key scope: `surveys:manage`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreateSurveyNodeRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SurveyNode"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/surveys/{id}/responses": {
      "get": {
        "operationId": "Surveys.ListResponses",
        "summary": "List survey responses",
        "description": "Get paginated list of survey responses for a survey (admin only)\n\nRequired API key scope: `surveys:view`.",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "per_page": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "responses": {
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "$ref": "#/components/schemas/models.SurveyResponse"
                          }
                        },
                        "total": {
                          "type": "integer",
                          "format": "int64"
                        }
                      },
                      "required": [
                        "page",
                        "per_page",
                        "total"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/api/v1/webhooks/events/{type}/sample": {
      "get": {
        "operationId": "Hooks.SamplePayload",
        "summary": "Get a sample payload for an event type",
        "description": "Returns a synthetic payload identical in shape to what real events deliver. Zapier polls this to populate field pickers without waiting for a real event to fire.",
        "tags": [
          "Webhooks"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.WebhookPayload"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/portal/ask": {
      "post": {
        "operationId": "AI.PortalGlobalAsk",
        "summary": "Ask a question about the project",
        "description": "Answers questions about the project using real features and data. In \"home\" context, provides marketing-oriented responses.",
        "tags": [
          "AI"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.PortalGlobalAskRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/services.GlobalAskResponse"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/atom.xml": {
      "get": {
        "operationId": "Blog.PortalGetAtomFeed",
        "summary": "Get Atom feed",
        "description": "Get Atom feed for blog posts (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/categories": {
      "get": {
        "operationId": "Blog.PortalListCategories",
        "summary": "List blog categories",
        "description": "List all blog categories for a project (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.PublicBlogCategory"
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/categories/{slug}": {
      "get": {
        "operationId": "Blog.PortalGetCategoryPosts",
        "summary": "Get category with posts",
        "description": "Get a category with its published posts (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "category": {
                          "$ref": "#/components/schemas/models.PublicBlogCategory"
                        },
                        "pagination": {
                          "type": "object",
                          "properties": {
                            "page": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "per_page": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "total": {
                              "type": "integer",
                              "format": "int64"
                            }
                          },
                          "required": [
                            "page",
                            "per_page",
                            "total"
                          ]
                        },
                        "posts": {
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "nullable": true,
                            "allOf": [
                              {
                                "$ref": "#/components/schemas/models.PublicBlogPost"
                              }
                            ]
                          }
                        }
                      },
                      "required": [
                        "category",
                        "pagination"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/featured": {
      "get": {
        "operationId": "Blog.PortalListFeatured",
        "summary": "List featured posts",
        "description": "List featured published blog posts (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "nullable": true,
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/models.PublicBlogPost"
                          }
                        ]
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/posts": {
      "get": {
        "operationId": "Blog.PortalListPosts",
        "summary": "List published blog posts",
        "description": "List all published blog posts for a project (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "category_slug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "nullable": true,
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/models.PublicBlogPost"
                          }
                        ]
                      }
                    },
                    "page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "per_page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    },
                    "total": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "total_pages": {
                      "type": "integer",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "success",
                    "total",
                    "page",
                    "per_page",
                    "total_pages"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/posts/{slug}": {
      "get": {
        "operationId": "Blog.PortalGetPost",
        "summary": "Get blog post by slug",
        "description": "Get a published blog post by slug (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.PublicBlogPost"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/portal/blog/posts/{slug}/related": {
      "get": {
        "operationId": "Blog.PortalGetRelatedPosts",
        "summary": "Get related posts",
        "description": "Get posts related to a specific post (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "nullable": true,
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/models.PublicBlogPost"
                          }
                        ]
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/rss.xml": {
      "get": {
        "operationId": "Blog.PortalGetRSSFeed",
        "summary": "Get RSS feed",
        "description": "Get RSS 2.0 feed for blog posts (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/search": {
      "get": {
        "operationId": "Blog.PortalSearchPosts",
        "summary": "Search blog posts",
        "description": "Search published blog posts (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "pagination": {
                          "type": "object",
                          "properties": {
                            "page": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "per_page": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "total": {
                              "type": "integer",
                              "format": "int64"
                            }
                          },
                          "required": [
                            "page",
                            "per_page",
                            "total"
                          ]
                        },
                        "query": {
                          "type": "string"
                        },
                        "results": {
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "nullable": true,
                            "allOf": [
                              {
                                "$ref": "#/components/schemas/models.PublicBlogPost"
                              }
                            ]
                          }
                        }
                      },
                      "required": [
                        "pagination",
                        "query"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/sitemap.xml": {
      "get": {
        "operationId": "Blog.PortalGetSitemap",
        "summary": "Get sitemap",
        "description": "Get SEO sitemap for blog posts (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/blog/tags/{tag}": {
      "get": {
        "operationId": "Blog.PortalListByTag",
        "summary": "List posts by tag",
        "description": "List published posts by tag (public endpoint)",
        "tags": [
          "Blog"
        ],
        "parameters": [
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "pagination": {
                          "type": "object",
                          "properties": {
                            "page": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "per_page": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "total": {
                              "type": "integer",
                              "format": "int64"
                            }
                          },
                          "required": [
                            "page",
                            "per_page",
                            "total"
                          ]
                        },
                        "posts": {
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "nullable": true,
                            "allOf": [
                              {
                                "$ref": "#/components/schemas/models.PublicBlogPost"
                              }
                            ]
                          }
                        },
                        "tag": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "pagination",
                        "tag"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/captcha/challenge": {
      "get": {
        "operationId": "Portal.GetCaptchaChallenge",
        "summary": "Get a bot protection challenge",
        "tags": [
          "Portal"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/services.CaptchaChallenge"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/categories": {
      "get": {
        "operationId": "Portal.ListCategories",
        "summary": "List feature request categories",
        "description": "Get all categories available for wishes in a project",
        "tags": [
          "Feature requests"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.Category"
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/contact-forms/{formId}": {
      "get": {
        "operationId": "ContactForms.PortalGetContactForm",
        "summary": "Get a contact form",
        "description": "Retrieve a contact form definition for rendering on public pages",
        "tags": [
          "Forms"
        ],
        "parameters": [
          {
            "name": "formId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "contact_form": {
                          "$ref": "#/components/schemas/models.ContactForm"
                        }
                      },
                      "required": [
                        "contact_form"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/help": {
      "get": {
        "operationId": "HelpCenter.PortalGetHelp",
        "summary": "Get help center",
        "description": "Get the live help collection and flows for a project (public endpoint)",
        "tags": [
          "Help Center"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.PublicHelpCollection"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/portal/help/articles/{slug}": {
      "get": {
        "operationId": "HelpCenter.PortalGetArticle",
        "summary": "Get help article",
        "description": "Get a specific help article by slug (public endpoint)",
        "tags": [
          "Help Center"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "flow_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "object",
                          "properties": {
                            "article_type": {
                              "type": "string",
                              "enum": [
                                "faq",
                                "flow",
                                "guide",
                                "tutorial"
                              ]
                            },
                            "content": {
                              "type": "string"
                            },
                            "created_at": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "excerpt": {
                              "type": "string",
                              "nullable": true
                            },
                            "flow": {
                              "nullable": true,
                              "allOf": [
                                {
                                  "$ref": "#/components/schemas/models.HelpFlow"
                                }
                              ]
                            },
                            "flow_id": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "is_published": {
                              "type": "boolean"
                            },
                            "published_at": {
                              "type": "string",
                              "format": "date-time",
                              "nullable": true
                            },
                            "seo": {
                              "$ref": "#/components/schemas/models.EntitySEO"
                            },
                            "slug": {
                              "type": "string"
                            },
                            "sort_order": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "tags": {
                              "type": "array",
                              "nullable": true,
                              "items": {
                                "type": "string"
                              }
                            },
                            "title": {
                              "type": "string"
                            },
                            "updated_at": {
                              "type": "string",
                              "format": "date-time"
                            }
                          },
                          "required": [
                            "article_type",
                            "content",
                            "created_at",
                            "flow_id",
                            "id",
                            "is_published",
                            "seo",
                            "slug",
                            "sort_order",
                            "title",
                            "updated_at"
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "nullable": true,
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/models.HelpArticle"
                            }
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/portal/help/ask": {
      "post": {
        "operationId": "AI.PortalRAGChat",
        "summary": "Ask the help center",
        "description": "Answers questions using relevant help center articles as context (no auth required)",
        "tags": [
          "AI"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.PortalRAGChatRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/services.RAGResponse"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/help/decision-nodes/{id}": {
      "get": {
        "operationId": "HelpCenter.PortalGetDecisionNode",
        "summary": "Get decision node",
        "description": "Get a specific decision node by ID for navigation in decision tree flows (public endpoint)",
        "tags": [
          "Help Center"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "object",
                          "properties": {
                            "article": {
                              "nullable": true,
                              "allOf": [
                                {
                                  "$ref": "#/components/schemas/models.HelpArticle"
                                }
                              ]
                            },
                            "node": {
                              "nullable": true,
                              "allOf": [
                                {
                                  "$ref": "#/components/schemas/models.HelpDecisionNode"
                                }
                              ]
                            }
                          }
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "object",
                          "properties": {
                            "node": {
                              "nullable": true,
                              "allOf": [
                                {
                                  "$ref": "#/components/schemas/models.HelpDecisionNode"
                                }
                              ]
                            }
                          }
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/portal/help/flows/{slug}": {
      "get": {
        "operationId": "HelpCenter.PortalGetFlow",
        "summary": "Get help flow",
        "description": "Get a specific help flow by slug (public endpoint)",
        "tags": [
          "Help Center"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.HelpFlow"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/portal/help/search": {
      "get": {
        "operationId": "HelpCenter.PortalSearchHelp",
        "summary": "Search help center",
        "description": "Search articles in the help center (public endpoint)",
        "tags": [
          "Help Center"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "object",
                          "properties": {
                            "query": {
                              "type": "string"
                            },
                            "results": {
                              "type": "array",
                              "nullable": true,
                              "items": {}
                            }
                          },
                          "required": [
                            "query"
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "query": {
                              "type": "string"
                            },
                            "results": {
                              "type": "array",
                              "nullable": true,
                              "items": {
                                "$ref": "#/components/schemas/models.HelpArticle"
                              }
                            }
                          },
                          "required": [
                            "count",
                            "query"
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/portal/page-data": {
      "get": {
        "operationId": "Portal.GetPublicPageData",
        "summary": "Get public page data",
        "description": "Get all data needed to render the public portal page (supports custom domain access)",
        "tags": [
          "Portal"
        ],
        "parameters": [
          {
            "name": "org_slug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_slug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/services.PublicPageData"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/projects": {
      "get": {
        "operationId": "Portal.ListProjects",
        "summary": "List organization projects",
        "description": "Get paginated list of public projects for an organization",
        "tags": [
          "Portal"
        ],
        "parameters": [
          {
            "name": "organization_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "organization_slug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.PortalProjectListItem"
                      }
                    },
                    "page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "per_page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    },
                    "total": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "total_pages": {
                      "type": "integer",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "success",
                    "total",
                    "page",
                    "per_page",
                    "total_pages"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/roadmap": {
      "get": {
        "operationId": "Portal.GetRoadmap",
        "summary": "Get project roadmap",
        "description": "Get the public roadmap for a project",
        "tags": [
          "Roadmaps"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/models.RedactedPublicRoadmap"
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/support-requests": {
      "post": {
        "operationId": "Support.PortalCreate",
        "summary": "Create support request",
        "description": "Create a new customer support request from the public portal",
        "tags": [
          "Support"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreateSupportRequestRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SafePublicSupportRequestWithToken"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/portal/support-requests/my-requests": {
      "get": {
        "operationId": "Support.PortalGetUserRequests",
        "summary": "List the requester's support requests",
        "description": "Get all support requests for the authenticated user (requires session token)",
        "tags": [
          "Support"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.SafePublicSupportRequest"
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/support-requests/send-magic-link": {
      "post": {
        "operationId": "Support.PortalSendMagicLink",
        "summary": "Send a support sign-in link",
        "description": "Send an email with a magic link to access a support request",
        "tags": [
          "Support"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.SendMagicLinkRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "message"
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/portal/support-requests/{id}": {
      "get": {
        "operationId": "Support.PortalGet",
        "summary": "Get support request",
        "description": "Get a specific support request by ID using access token",
        "tags": [
          "Support"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SafePublicSupportRequest"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/portal/support-requests/{id}/messages": {
      "get": {
        "operationId": "Support.PortalGetMessages",
        "summary": "Get support request messages",
        "description": "Get all messages for a specific support request",
        "tags": [
          "Support"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.SupportMessage"
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      },
      "post": {
        "operationId": "Support.PortalAddMessage",
        "summary": "Add message to support request",
        "description": "Add a new message to an existing support request",
        "tags": [
          "Support"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreateSupportMessageRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.SupportMessage"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      }
    },
    "/portal/surveys/{id}/responses": {
      "post": {
        "operationId": "Surveys.PortalSubmitResponse",
        "summary": "Submit survey response",
        "description": "Submit a completed survey response with all answers (public endpoint, no authentication required)",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.SubmitSurveyResponseRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.RedactedPublicSurveyResponse"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/portal/surveys/{slug}": {
      "get": {
        "operationId": "Surveys.PortalGetSurvey",
        "summary": "Get a survey to answer",
        "description": "Get a survey by slug for users to take. Only returns active surveys (public endpoint, no authentication required)",
        "tags": [
          "Surveys"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.RedactedPublicSurvey"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    },
    "/portal/votes": {
      "post": {
        "operationId": "Portal.CreateVote",
        "summary": "Vote on a feature request",
        "description": "Cast a vote on an existing wish/feature request",
        "tags": [
          "Feature requests"
        ],
        "parameters": [
          {
            "name": "organization_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "organization_slug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreatePublicVoteRequest.Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "nullable": true,
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/services.ToggleVoteResult"
                            }
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "nullable": true,
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/services.ToggleVoteResult"
                            }
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/portal/wishes": {
      "get": {
        "operationId": "Portal.ListWishes",
        "summary": "List feature requests",
        "description": "Get paginated list of public wishes for a project with optional filtering",
        "tags": [
          "Feature requests"
        ],
        "parameters": [
          {
            "name": "category_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fingerprint",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort_order",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "nullable": true,
                      "items": {
                        "$ref": "#/components/schemas/models.RedactedPublicWish"
                      }
                    },
                    "page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "per_page": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    },
                    "total": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "total_pages": {
                      "type": "integer",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "success",
                    "total",
                    "page",
                    "per_page",
                    "total_pages"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": []
      },
      "post": {
        "operationId": "Portal.CreateWish",
        "summary": "Submit a feature request",
        "description": "Create a new wish/feature request from the public portal",
        "tags": [
          "Feature requests"
        ],
        "parameters": [
          {
            "name": "organization_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "organization_slug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.CreatePublicWishRequest.Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "nullable": true,
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/models.RedactedPublicWish"
                            }
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "nullable": true,
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/models.RedactedPublicWish"
                            }
                          ]
                        },
                        "success": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "success"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          }
        },
        "security": []
      }
    },
    "/portal/wishes/{id}": {
      "get": {
        "operationId": "Portal.GetWish",
        "summary": "Get a feature request",
        "description": "Get detailed information about a specific wish",
        "tags": [
          "Feature requests"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fingerprint",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "nullable": true,
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/models.RedactedPublicWish"
                        }
                      ]
                    },
                    "success": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          }
        },
        "security": []
      }
    }
  },
  "components": {
    "schemas": {
      "handlers.AcknowledgeAlertRequest.Request": {
        "type": "object",
        "properties": {
          "note": {
            "type": "string"
          }
        }
      },
      "handlers.AvailableSurvey": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "number_of_questions": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "slug"
        ]
      },
      "handlers.CreateMaintenanceWindowRequest.Request": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "ends_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_recurring": {
            "type": "boolean"
          },
          "monitor_id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "recurrence_rule": {
            "type": "string"
          },
          "starts_at": {
            "type": "string",
            "format": "date-time"
          },
          "status_page_id": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "ends_at",
          "name",
          "starts_at"
        ]
      },
      "handlers.CreateMonitorRequest.Request": {
        "type": "object",
        "properties": {
          "auto_create_incident": {
            "type": "boolean"
          },
          "check_interval_seconds": {
            "type": "integer",
            "format": "int64"
          },
          "check_regions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "degraded_response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "description": {
            "type": "string"
          },
          "expected_response_contains": {
            "type": "string"
          },
          "expected_status_codes": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "failure_threshold": {
            "type": "integer",
            "format": "int64"
          },
          "http_body": {
            "type": "string"
          },
          "http_headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "http_method": {
            "type": "string"
          },
          "incident_severity": {
            "type": "string"
          },
          "monitor_type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "notify_on_failure": {
            "type": "boolean"
          },
          "notify_on_recovery": {
            "type": "boolean"
          },
          "recovery_threshold": {
            "type": "integer",
            "format": "int64"
          },
          "service_id": {
            "type": "string",
            "nullable": true
          },
          "ssl_expiry_warning_days": {
            "type": "integer",
            "format": "int64"
          },
          "status_page_id": {
            "type": "string"
          },
          "timeout_seconds": {
            "type": "integer",
            "format": "int64"
          },
          "url": {
            "type": "string"
          },
          "verify_ssl": {
            "type": "boolean"
          }
        },
        "required": [
          "monitor_type",
          "name",
          "status_page_id",
          "url"
        ]
      },
      "handlers.PortalGlobalAskRequest.Request": {
        "type": "object",
        "properties": {
          "context": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "project_id": {
            "type": "string",
            "format": "uuid"
          },
          "query": {
            "type": "string",
            "minLength": 3,
            "maxLength": 1000
          }
        },
        "required": [
          "project_id",
          "query"
        ]
      },
      "handlers.PortalRAGChatRequest.Request": {
        "type": "object",
        "properties": {
          "conversation_id": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "max_results": {
            "type": "integer",
            "format": "int64"
          },
          "project_id": {
            "type": "string",
            "format": "uuid"
          },
          "query": {
            "type": "string",
            "minLength": 3,
            "maxLength": 1000
          },
          "threshold": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "project_id",
          "query"
        ]
      },
      "handlers.ResolveAlertRequest.Request": {
        "type": "object",
        "properties": {
          "note": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      },
      "handlers.UpdateMonitorRequest.Request": {
        "type": "object",
        "properties": {
          "auto_create_incident": {
            "type": "boolean"
          },
          "check_interval_seconds": {
            "type": "integer",
            "format": "int64"
          },
          "check_regions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "degraded_response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "description": {
            "type": "string"
          },
          "expected_response_contains": {
            "type": "string"
          },
          "expected_status_codes": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "failure_threshold": {
            "type": "integer",
            "format": "int64"
          },
          "http_body": {
            "type": "string"
          },
          "http_headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "http_method": {
            "type": "string"
          },
          "incident_severity": {
            "type": "string"
          },
          "monitor_type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "notify_on_failure": {
            "type": "boolean"
          },
          "notify_on_recovery": {
            "type": "boolean"
          },
          "recovery_threshold": {
            "type": "integer",
            "format": "int64"
          },
          "service_id": {
            "type": "string",
            "nullable": true
          },
          "ssl_expiry_warning_days": {
            "type": "integer",
            "format": "int64"
          },
          "timeout_seconds": {
            "type": "integer",
            "format": "int64"
          },
          "url": {
            "type": "string"
          },
          "verify_ssl": {
            "type": "boolean"
          }
        }
      },
      "models.AnalyticsCorrelation": {
        "type": "object",
        "properties": {
          "correlation": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string"
          },
          "metric_1": {
            "type": "string"
          },
          "metric_2": {
            "type": "string"
          },
          "source_1": {
            "type": "string"
          },
          "source_2": {
            "type": "string"
          }
        },
        "required": [
          "correlation",
          "description",
          "metric_1",
          "metric_2",
          "source_1",
          "source_2"
        ]
      },
      "models.AnalyticsInsight": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "metric": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "sources": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "threshold": {
            "type": "number",
            "format": "double"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "action",
          "description",
          "metric",
          "severity",
          "sources",
          "threshold",
          "title",
          "type",
          "value"
        ]
      },
      "models.Animation": {
        "type": "object",
        "properties": {
          "delay": {
            "type": "integer",
            "format": "int64"
          },
          "duration": {
            "type": "integer",
            "format": "int64"
          },
          "entrance": {
            "type": "string"
          },
          "hover": {
            "type": "string"
          }
        }
      },
      "models.ArticleWithViews": {
        "type": "object",
        "properties": {
          "flow_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "view_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "flow_name",
          "id",
          "slug",
          "title",
          "view_count"
        ]
      },
      "models.Category": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "wish_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "color",
          "created_at",
          "description",
          "icon",
          "id",
          "name",
          "project_id",
          "slug",
          "sort_order",
          "updated_at",
          "wish_count"
        ]
      },
      "models.ChatWidgetStyle": {
        "type": "object",
        "properties": {
          "background": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "behavior": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "colors": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "colors_dark": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "custom": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "id": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "layout": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "name": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "typography": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "required": [
          "id",
          "name",
          "source"
        ]
      },
      "models.ComprehensiveAnalytics": {
        "type": "object",
        "properties": {
          "correlations": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.AnalyticsCorrelation"
            }
          },
          "date_range": {
            "$ref": "#/components/schemas/models.DateRange"
          },
          "engagement_score": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.EngagementScoreData"
              }
            ]
          },
          "forms": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ContactFormAnalytics"
              }
            ]
          },
          "friction_score": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.FrictionScoreData"
              }
            ]
          },
          "generated_at": {
            "type": "string"
          },
          "health_score": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HealthScoreData"
              }
            ]
          },
          "help_center": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpCenterAnalytics"
              }
            ]
          },
          "insights": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.AnalyticsInsight"
            }
          },
          "releases": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ReleasesAnalytics"
              }
            ]
          },
          "roadmaps": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RoadmapAnalytics"
              }
            ]
          },
          "sources": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "status": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.StatusAnalytics"
              }
            ]
          },
          "support": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.SupportAnalytics"
              }
            ]
          },
          "surveys": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.SurveyAnalytics"
              }
            ]
          },
          "timeseries": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ComprehensiveTimeseries"
              }
            ]
          },
          "wishes": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.WishesAnalytics"
              }
            ]
          }
        },
        "required": [
          "date_range",
          "generated_at",
          "sources"
        ]
      },
      "models.ComprehensiveTimeseries": {
        "type": "object",
        "properties": {
          "end_date": {
            "type": "string"
          },
          "forms": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ContactFormTimeseriesPoint"
            }
          },
          "help_center": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpCenterTimeseriesPoint"
            }
          },
          "period": {
            "type": "string"
          },
          "releases": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ReleasesTimeseriesPoint"
            }
          },
          "start_date": {
            "type": "string"
          },
          "status": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.StatusTimeseriesPoint"
            }
          },
          "support": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SupportTimeseriesPoint"
            }
          },
          "surveys": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SurveyTimeseriesPoint"
            }
          },
          "wishes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.WishesTimeseriesPoint"
            }
          }
        },
        "required": [
          "end_date",
          "period",
          "start_date"
        ]
      },
      "models.ContactForm": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "email_recipient": {
            "type": "string"
          },
          "email_subject": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "fields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ContactFormField"
            }
          },
          "id": {
            "type": "string"
          },
          "integration": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ContactFormIntegration"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "submit_button_text": {
            "type": "string"
          },
          "success_message": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "email_recipient",
          "email_subject",
          "enabled",
          "fields",
          "id",
          "name",
          "submit_button_text",
          "success_message",
          "updated_at"
        ]
      },
      "models.ContactFormAnalytics": {
        "type": "object",
        "properties": {
          "by_form": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ContactFormWithStats"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/models.ContactFormAnalyticsSummary"
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ContactFormTimeseriesPoint"
            }
          }
        },
        "required": [
          "summary"
        ]
      },
      "models.ContactFormAnalyticsSummary": {
        "type": "object",
        "properties": {
          "active_forms": {
            "type": "integer",
            "format": "int64"
          },
          "avg_submissions_per_form": {
            "type": "number",
            "format": "double"
          },
          "response_rate": {
            "type": "number",
            "format": "double"
          },
          "total_forms": {
            "type": "integer",
            "format": "int64"
          },
          "total_submissions": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "active_forms",
          "avg_submissions_per_form",
          "response_rate",
          "total_forms",
          "total_submissions"
        ]
      },
      "models.ContactFormField": {
        "type": "object",
        "properties": {
          "default": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "placeholder": {
            "type": "string",
            "nullable": true
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "checkbox",
              "email",
              "radio",
              "select",
              "text",
              "textarea"
            ]
          },
          "validation": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ContactFormValidation"
              }
            ]
          }
        },
        "required": [
          "id",
          "label",
          "required",
          "type"
        ]
      },
      "models.ContactFormField.Request": {
        "type": "object",
        "properties": {
          "default": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "placeholder": {
            "type": "string",
            "nullable": true
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "enum": [
              "checkbox",
              "email",
              "radio",
              "select",
              "text",
              "textarea"
            ]
          },
          "validation": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ContactFormValidation.Request"
              }
            ]
          }
        }
      },
      "models.ContactFormIntegration": {
        "type": "object",
        "properties": {
          "field_mappings": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ]
      },
      "models.ContactFormIntegration.Request": {
        "type": "object",
        "properties": {
          "ai_reply": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.SupportFormAIReply.Request"
              }
            ]
          },
          "field_mappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "type": {
            "type": "string"
          }
        }
      },
      "models.ContactFormTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "submissions": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "submissions"
        ]
      },
      "models.ContactFormValidation": {
        "type": "object",
        "properties": {
          "max_length": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "min_length": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "pattern": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "models.ContactFormValidation.Request": {
        "type": "object",
        "properties": {
          "max_length": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "min_length": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "pattern": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "models.ContactFormWithStats": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "submission_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "name",
          "submission_count"
        ]
      },
      "models.ContentBlock": {
        "type": "object",
        "properties": {
          "animation": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Animation"
              }
            ]
          },
          "className": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "data": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "id": {
            "type": "string"
          },
          "order": {
            "type": "integer",
            "format": "int64"
          },
          "required": {
            "type": "boolean"
          },
          "style": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "stylePreset": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "required": [
          "data",
          "id",
          "order",
          "required",
          "style",
          "type",
          "visible"
        ]
      },
      "models.CreateContactFormRequest.Request": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "email_recipient": {
            "type": "string",
            "format": "email"
          },
          "email_subject": {
            "type": "string",
            "nullable": true
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.ContactFormField.Request"
            },
            "minItems": 1
          },
          "integration": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ContactFormIntegration.Request"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "page_id": {
            "type": "string"
          },
          "submit_button_text": {
            "type": "string",
            "nullable": true
          },
          "success_message": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "email_recipient",
          "fields",
          "name"
        ]
      },
      "models.CreatePublicVoteRequest.Request": {
        "type": "object",
        "properties": {
          "_hp": {
            "type": "string"
          },
          "_timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "_token": {
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "wish_id": {
            "type": "string"
          }
        },
        "required": [
          "wish_id"
        ]
      },
      "models.CreatePublicWishRequest.Request": {
        "type": "object",
        "properties": {
          "_hp": {
            "type": "string"
          },
          "_timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "_token": {
            "type": "string"
          },
          "author_email": {
            "type": "string",
            "nullable": true
          },
          "author_name": {
            "type": "string",
            "nullable": true
          },
          "category_id": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "project_id": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "user_metadata": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "required": [
          "description",
          "project_id",
          "title"
        ]
      },
      "models.CreateSupportFormRequest.Request": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.ContactFormField.Request"
            },
            "minItems": 1
          },
          "form_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "submit_button_text": {
            "type": "string",
            "nullable": true
          },
          "success_message": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "fields",
          "name"
        ]
      },
      "models.CreateSupportMessageRequest.Request": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.SupportAttachment.Request"
            }
          },
          "content": {
            "type": "string"
          },
          "help_article_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "content"
        ]
      },
      "models.CreateSupportRequestRequest.Request": {
        "type": "object",
        "properties": {
          "anon_id": {
            "type": "string",
            "nullable": true
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.SupportAttachment.Request"
            }
          },
          "description": {
            "type": "string"
          },
          "external_user_id": {
            "type": "string",
            "nullable": true
          },
          "form_data": {
            "type": "object",
            "additionalProperties": {}
          },
          "form_id": {
            "type": "string",
            "nullable": true
          },
          "project_id": {
            "type": "string",
            "format": "uuid"
          },
          "subject": {
            "type": "string",
            "maxLength": 500
          },
          "user_email": {
            "type": "string",
            "nullable": true
          },
          "user_metadata": {
            "type": "object",
            "additionalProperties": {}
          },
          "user_name": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "description",
          "project_id"
        ]
      },
      "models.CreateSurveyNodeRequest.Request": {
        "type": "object",
        "properties": {
          "answer_no_node_id": {
            "type": "string",
            "nullable": true
          },
          "answer_yes_node_id": {
            "type": "string",
            "nullable": true
          },
          "branches": {
            "type": "array",
            "description": "Conditional branches evaluated in order; each next_node_id must belong to the same survey.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "condition": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "equals",
                        "contains",
                        "gt",
                        "lt",
                        "gte",
                        "lte"
                      ]
                    },
                    "value": {
                      "description": "String, number or boolean compared with the answer"
                    }
                  }
                },
                "next_node_id": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "next_node_id"
              ]
            }
          },
          "is_required": {
            "type": "boolean"
          },
          "max_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "min_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "next_node_id": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "array",
            "description": "Choices for multiple_choice and checkboxes questions (validate_survey_node_options requires value and label); null for other types.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "label"
              ]
            }
          },
          "parent_id": {
            "type": "string",
            "nullable": true
          },
          "question": {
            "type": "string"
          },
          "question_type": {
            "type": "string",
            "enum": [
              "checkboxes",
              "multiple_choice",
              "paragraph",
              "rating",
              "short_answer",
              "yes_no",
              "yes_no",
              "short_answer",
              "paragraph",
              "multiple_choice",
              "checkboxes",
              "rating"
            ]
          },
          "result_message": {
            "type": "string",
            "nullable": true
          },
          "sort_order": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "survey_id": {
            "type": "string"
          }
        },
        "required": [
          "question",
          "question_type"
        ]
      },
      "models.CreateSurveyRequest.Request": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "maxLength": 255
          },
          "project_id": {
            "type": "string",
            "format": "uuid"
          },
          "slug": {
            "type": "string",
            "maxLength": 100
          }
        },
        "required": [
          "name",
          "project_id",
          "slug"
        ]
      },
      "models.CustomPage": {
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "public": {
            "type": "boolean",
            "nullable": true
          },
          "route": {
            "type": "string"
          },
          "showInNav": {
            "type": "boolean",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "id",
          "name",
          "route",
          "slug"
        ]
      },
      "models.CustomPageColors": {
        "type": "object",
        "properties": {
          "accent": {
            "type": "string"
          },
          "background": {
            "type": "string"
          },
          "primary": {
            "type": "string"
          },
          "secondary": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "accent",
          "background",
          "primary",
          "secondary",
          "text"
        ]
      },
      "models.CustomPageContent": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "heading": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "heading"
        ]
      },
      "models.CustomizationBackground": {
        "type": "object",
        "properties": {
          "blur": {
            "type": "integer",
            "format": "int64"
          },
          "imageMode": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "opacity": {
            "type": "integer",
            "format": "int64"
          },
          "style": {
            "type": "string"
          }
        }
      },
      "models.CustomizationBannerStyle": {
        "type": "object",
        "properties": {
          "backgroundColor": {
            "type": "string"
          },
          "backgroundImage": {
            "type": "string"
          },
          "ctaColor": {
            "type": "string"
          },
          "ctaLink": {
            "type": "string"
          },
          "ctaText": {
            "type": "string"
          },
          "show": {
            "type": "boolean"
          },
          "text": {
            "type": "string"
          },
          "textColor": {
            "type": "string"
          }
        },
        "required": [
          "backgroundColor",
          "backgroundImage",
          "ctaColor",
          "ctaLink",
          "ctaText",
          "show",
          "text",
          "textColor"
        ]
      },
      "models.CustomizationBranding": {
        "type": "object",
        "properties": {
          "companyName": {
            "type": "string"
          },
          "faviconUrl": {
            "type": "string"
          },
          "logoUrl": {
            "type": "string"
          },
          "socialLinks": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.CustomizationSocialLink"
            }
          }
        },
        "required": [
          "companyName",
          "logoUrl",
          "socialLinks"
        ]
      },
      "models.CustomizationCardStyle": {
        "type": "object",
        "properties": {
          "border": {
            "type": "boolean"
          },
          "color": {
            "type": "string"
          },
          "padding": {
            "type": "string"
          },
          "rounded": {
            "type": "string"
          },
          "shadow": {
            "type": "string"
          },
          "spacing": {
            "type": "string"
          },
          "textColor": {
            "type": "string"
          }
        },
        "required": [
          "border",
          "color",
          "padding",
          "rounded",
          "shadow",
          "spacing",
          "textColor"
        ]
      },
      "models.CustomizationColors": {
        "type": "object",
        "properties": {
          "accent": {
            "type": "string"
          },
          "background": {
            "type": "string"
          },
          "feedback": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageColors"
              }
            ]
          },
          "primary": {
            "type": "string"
          },
          "releases": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageColors"
              }
            ]
          },
          "roadmap": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageColors"
              }
            ]
          },
          "secondary": {
            "type": "string"
          },
          "status": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageColors"
              }
            ]
          },
          "support": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageColors"
              }
            ]
          },
          "text": {
            "type": "string"
          }
        }
      },
      "models.CustomizationContent": {
        "type": "object",
        "properties": {
          "feedback": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageContent"
              }
            ]
          },
          "headingAlignment": {
            "type": "string"
          },
          "headingSpacing": {
            "type": "integer",
            "format": "int64"
          },
          "help": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageContent"
              }
            ]
          },
          "pageDescription": {
            "type": "string"
          },
          "pageHeading": {
            "type": "string"
          },
          "releases": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageContent"
              }
            ]
          },
          "roadmap": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageContent"
              }
            ]
          },
          "roadmapDescription": {
            "type": "string"
          },
          "roadmapDevelopersNote": {
            "type": "string"
          },
          "roadmapHeading": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusContent"
          },
          "statusDescription": {
            "type": "string"
          },
          "statusHeading": {
            "type": "string"
          },
          "support": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PageContent"
              }
            ]
          }
        },
        "required": [
          "headingAlignment",
          "headingSpacing"
        ]
      },
      "models.CustomizationFooterStyle": {
        "type": "object",
        "properties": {
          "show": {
            "type": "boolean"
          },
          "showPoweredBy": {
            "type": "boolean"
          }
        },
        "required": [
          "show",
          "showPoweredBy"
        ]
      },
      "models.CustomizationHeaderStyle": {
        "type": "object",
        "properties": {
          "show": {
            "type": "boolean"
          },
          "showLogo": {
            "type": "boolean"
          },
          "sticky": {
            "type": "boolean"
          },
          "transparent": {
            "type": "boolean"
          }
        },
        "required": [
          "show",
          "showLogo",
          "sticky",
          "transparent"
        ]
      },
      "models.CustomizationLayout": {
        "type": "object",
        "properties": {
          "background": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.CustomizationBackground"
              }
            ]
          },
          "bannerStyle": {
            "$ref": "#/components/schemas/models.CustomizationBannerStyle"
          },
          "borderRadius": {
            "type": "integer",
            "format": "int64"
          },
          "cardStyle": {
            "$ref": "#/components/schemas/models.CustomizationCardStyle"
          },
          "footerStyle": {
            "$ref": "#/components/schemas/models.CustomizationFooterStyle"
          },
          "headerStyle": {
            "$ref": "#/components/schemas/models.CustomizationHeaderStyle"
          },
          "roadmapBannerStyle": {
            "$ref": "#/components/schemas/models.CustomizationBannerStyle"
          }
        },
        "required": [
          "bannerStyle",
          "borderRadius",
          "cardStyle",
          "footerStyle",
          "headerStyle",
          "roadmapBannerStyle"
        ]
      },
      "models.CustomizationSocialLink": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "platform",
          "url"
        ]
      },
      "models.CustomizationTypography": {
        "type": "object",
        "properties": {
          "fontFamily": {
            "type": "string"
          },
          "fontSizes": {
            "$ref": "#/components/schemas/models.CustomizationTypographySizes"
          }
        },
        "required": [
          "fontFamily",
          "fontSizes"
        ]
      },
      "models.CustomizationTypographySizes": {
        "type": "object",
        "properties": {
          "body": {
            "type": "integer",
            "format": "int64"
          },
          "h1": {
            "type": "integer",
            "format": "int64"
          },
          "h2": {
            "type": "integer",
            "format": "int64"
          },
          "h3": {
            "type": "integer",
            "format": "int64"
          },
          "h4": {
            "type": "integer",
            "format": "int64"
          },
          "small": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "body",
          "h1",
          "h2",
          "h3",
          "h4",
          "small"
        ]
      },
      "models.DashboardSurvey": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "nodes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RedactedPublicSurveyNode"
            }
          },
          "number_of_questions": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "number_of_responses": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "description",
          "id",
          "is_active",
          "name",
          "project_id",
          "slug",
          "updated_at"
        ]
      },
      "models.DashboardSurveyResponse": {
        "type": "object",
        "properties": {
          "answers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SurveyResponseAnswer"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "external_user_id": {
            "type": "string",
            "nullable": true
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "survey_id": {
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "external_user_id",
          "fingerprint",
          "id",
          "metadata",
          "survey_id"
        ]
      },
      "models.DateRange": {
        "type": "object",
        "properties": {
          "end_date": {
            "type": "string"
          },
          "start_date": {
            "type": "string"
          }
        },
        "required": [
          "end_date",
          "start_date"
        ]
      },
      "models.EngagementComponents": {
        "type": "object",
        "properties": {
          "feedback_volume": {
            "type": "number",
            "format": "double"
          },
          "help_center_usage": {
            "type": "number",
            "format": "double"
          },
          "survey_participation": {
            "type": "number",
            "format": "double"
          },
          "voting_activity": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "feedback_volume",
          "help_center_usage",
          "survey_participation",
          "voting_activity"
        ]
      },
      "models.EngagementScoreData": {
        "type": "object",
        "properties": {
          "components": {
            "$ref": "#/components/schemas/models.EngagementComponents"
          },
          "score": {
            "type": "number",
            "format": "double"
          },
          "trend": {
            "type": "string"
          }
        },
        "required": [
          "components",
          "score",
          "trend"
        ]
      },
      "models.EntitySEO": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "noindex": {
            "type": "boolean"
          },
          "ogImageUrl": {
            "type": "string",
            "nullable": true
          },
          "resolved": {
            "$ref": "#/components/schemas/models.ResolvedSEO"
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "description",
          "noindex",
          "ogImageUrl",
          "resolved",
          "title"
        ]
      },
      "models.FrictionComponents": {
        "type": "object",
        "properties": {
          "documentation_gaps": {
            "type": "number",
            "format": "double"
          },
          "feature_gaps": {
            "type": "number",
            "format": "double"
          },
          "onboarding_friction": {
            "type": "number",
            "format": "double"
          },
          "stability_issues": {
            "type": "number",
            "format": "double"
          },
          "support_friction": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "documentation_gaps",
          "feature_gaps",
          "onboarding_friction",
          "stability_issues",
          "support_friction"
        ]
      },
      "models.FrictionScoreData": {
        "type": "object",
        "properties": {
          "components": {
            "$ref": "#/components/schemas/models.FrictionComponents"
          },
          "grade": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "double"
          },
          "trend": {
            "type": "string"
          },
          "trend_change": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "components",
          "grade",
          "score",
          "trend",
          "trend_change"
        ]
      },
      "models.HealthComponents": {
        "type": "object",
        "properties": {
          "feature_velocity": {
            "type": "number",
            "format": "double"
          },
          "response_time": {
            "type": "number",
            "format": "double"
          },
          "uptime": {
            "type": "number",
            "format": "double"
          },
          "user_satisfaction": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "feature_velocity",
          "response_time",
          "uptime",
          "user_satisfaction"
        ]
      },
      "models.HealthScoreData": {
        "type": "object",
        "properties": {
          "components": {
            "$ref": "#/components/schemas/models.HealthComponents"
          },
          "grade": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "components",
          "grade",
          "score"
        ]
      },
      "models.HelpArticle": {
        "type": "object",
        "properties": {
          "article_type": {
            "type": "string",
            "enum": [
              "faq",
              "flow",
              "guide",
              "tutorial"
            ]
          },
          "author": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicUser"
              }
            ]
          },
          "author_user_id": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "flow": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpFlow"
              }
            ]
          },
          "flow_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "is_published": {
            "type": "boolean"
          },
          "locale": {
            "type": "string",
            "nullable": true
          },
          "published_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "seo_description": {
            "type": "string",
            "nullable": true
          },
          "seo_noindex": {
            "type": "boolean"
          },
          "seo_og_image_url": {
            "type": "string",
            "nullable": true
          },
          "seo_title": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "tags": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "title": {
            "type": "string"
          },
          "translation_group_id": {
            "type": "string",
            "nullable": true
          },
          "translations": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpArticleTranslation"
            }
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "article_type",
          "author_user_id",
          "content",
          "created_at",
          "excerpt",
          "flow_id",
          "id",
          "is_published",
          "locale",
          "published_at",
          "seo_description",
          "seo_noindex",
          "seo_og_image_url",
          "seo_title",
          "slug",
          "sort_order",
          "tags",
          "title",
          "translation_group_id",
          "updated_at"
        ]
      },
      "models.HelpArticleTranslation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "is_published": {
            "type": "boolean"
          },
          "locale": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "is_published",
          "locale",
          "slug",
          "title"
        ]
      },
      "models.HelpCenterAnalytics": {
        "type": "object",
        "properties": {
          "summary": {
            "$ref": "#/components/schemas/models.HelpCenterAnalyticsSummary"
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpCenterTimeseriesPoint"
            }
          },
          "top_articles": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ArticleWithViews"
            }
          },
          "top_searches": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SearchQueryCount"
            }
          }
        },
        "required": [
          "summary",
          "top_articles",
          "top_searches"
        ]
      },
      "models.HelpCenterAnalyticsSummary": {
        "type": "object",
        "properties": {
          "published_articles": {
            "type": "integer",
            "format": "int64"
          },
          "total_articles": {
            "type": "integer",
            "format": "int64"
          },
          "total_flows": {
            "type": "integer",
            "format": "int64"
          },
          "total_searches": {
            "type": "integer",
            "format": "int64"
          },
          "total_views": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "published_articles",
          "total_articles",
          "total_flows",
          "total_searches",
          "total_views"
        ]
      },
      "models.HelpCenterTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "searches": {
            "type": "integer",
            "format": "int64"
          },
          "views": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "searches",
          "views"
        ]
      },
      "models.HelpCollection": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "flows": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpFlow"
            }
          },
          "id": {
            "type": "string"
          },
          "is_live": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "project": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RedactedPublicProject"
              }
            ]
          },
          "project_id": {
            "type": "string"
          },
          "rag_enabled": {
            "type": "boolean"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "description",
          "id",
          "is_live",
          "name",
          "project_id",
          "rag_enabled",
          "updated_at",
          "version"
        ]
      },
      "models.HelpDecisionNode": {
        "type": "object",
        "properties": {
          "answer_no_node_id": {
            "type": "string",
            "nullable": true
          },
          "answer_yes_node_id": {
            "type": "string",
            "nullable": true
          },
          "article": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpArticle"
              }
            ]
          },
          "article_id": {
            "type": "string",
            "nullable": true
          },
          "children": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpDecisionNode"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "flow": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpFlow"
              }
            ]
          },
          "flow_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "no_node": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpDecisionNode"
              }
            ]
          },
          "parent_id": {
            "type": "string",
            "nullable": true
          },
          "question": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "yes_node": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpDecisionNode"
              }
            ]
          }
        },
        "required": [
          "answer_no_node_id",
          "answer_yes_node_id",
          "article_id",
          "created_at",
          "flow_id",
          "id",
          "parent_id",
          "question",
          "sort_order",
          "updated_at"
        ]
      },
      "models.HelpFlow": {
        "type": "object",
        "properties": {
          "articles": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpArticle"
            }
          },
          "collection": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpCollection"
              }
            ]
          },
          "collection_id": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "decision_nodes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpDecisionNode"
            }
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "display_type": {
            "type": "string",
            "enum": [
              "accordion",
              "decision_tree",
              "list",
              "wizard"
            ]
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "wizard_steps": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpWizardStep"
            }
          }
        },
        "required": [
          "collection_id",
          "color",
          "created_at",
          "description",
          "display_type",
          "icon",
          "id",
          "name",
          "slug",
          "sort_order",
          "updated_at"
        ]
      },
      "models.HelpWizardStep": {
        "type": "object",
        "properties": {
          "article": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpArticle"
              }
            ]
          },
          "article_id": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "flow": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.HelpFlow"
              }
            ]
          },
          "flow_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "step_number": {
            "type": "integer",
            "format": "int64"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "article_id",
          "content",
          "created_at",
          "flow_id",
          "id",
          "step_number",
          "title",
          "updated_at"
        ]
      },
      "models.JoinWishlistRequest.Request": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "models.PageColors": {
        "type": "object",
        "properties": {
          "accent": {
            "type": "string"
          },
          "background": {
            "type": "string"
          },
          "cardBackground": {
            "type": "string"
          },
          "cardText": {
            "type": "string"
          },
          "primary": {
            "type": "string"
          },
          "secondary": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "accent",
          "background",
          "cardBackground",
          "cardText",
          "primary",
          "secondary",
          "text"
        ]
      },
      "models.PageContent": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "heading": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "heading"
        ]
      },
      "models.PagePresentationSettings": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "public": {
            "type": "boolean"
          },
          "showInNav": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled",
          "public",
          "showInNav"
        ]
      },
      "models.PortalProjectListItem": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "nullable": true
          },
          "custom_domain": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "icon_url": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organization_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "organization_id",
          "slug"
        ]
      },
      "models.PublicBlogCategory": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "post_count": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "color",
          "created_at",
          "description",
          "id",
          "name",
          "project_id",
          "slug",
          "sort_order",
          "updated_at"
        ]
      },
      "models.PublicBlogPost": {
        "type": "object",
        "properties": {
          "author": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicUser"
              }
            ]
          },
          "canonical_url": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicBlogCategory"
              }
            ]
          },
          "category_id": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_featured": {
            "type": "boolean"
          },
          "meta_description": {
            "type": "string",
            "nullable": true
          },
          "og_image_url": {
            "type": "string",
            "nullable": true
          },
          "project_id": {
            "type": "string"
          },
          "published_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "canonical_url",
          "category_id",
          "content",
          "created_at",
          "excerpt",
          "id",
          "is_featured",
          "meta_description",
          "og_image_url",
          "project_id",
          "published_at",
          "slug",
          "tags",
          "title",
          "updated_at"
        ]
      },
      "models.PublicCustomizationVariant": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "customization_data": {
            "$ref": "#/components/schemas/models.PublicPageCustomizationData"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "organization_id": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "customization_data",
          "description",
          "id",
          "is_default",
          "name",
          "organization_id",
          "updated_at"
        ]
      },
      "models.PublicHelpCollection": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "flows": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpFlow"
            }
          },
          "id": {
            "type": "string"
          },
          "is_live": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "project_id": {
            "type": "string"
          },
          "rag_enabled": {
            "type": "boolean"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "description",
          "id",
          "is_live",
          "name",
          "project_id",
          "rag_enabled",
          "updated_at",
          "version"
        ]
      },
      "models.PublicPageCustomizationData": {
        "type": "object",
        "properties": {
          "blocks": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "array",
              "nullable": true,
              "items": {
                "$ref": "#/components/schemas/models.ContentBlock"
              }
            }
          },
          "branding": {
            "$ref": "#/components/schemas/models.CustomizationBranding"
          },
          "chatWidgetActiveColorMode": {
            "type": "string"
          },
          "chatWidgetActiveStyleId": {
            "type": "string"
          },
          "chatWidgetStyles": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "$ref": "#/components/schemas/models.ChatWidgetStyle"
            }
          },
          "colors": {
            "$ref": "#/components/schemas/models.CustomizationColors"
          },
          "contactForms": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "$ref": "#/components/schemas/models.ContactForm"
            }
          },
          "content": {
            "$ref": "#/components/schemas/models.CustomizationContent"
          },
          "customPageColors": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "$ref": "#/components/schemas/models.CustomPageColors"
            }
          },
          "customPageContent": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "$ref": "#/components/schemas/models.CustomPageContent"
            }
          },
          "customPages": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.CustomPage"
            }
          },
          "layout": {
            "$ref": "#/components/schemas/models.CustomizationLayout"
          },
          "pagePresentation": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "$ref": "#/components/schemas/models.PagePresentationSettings"
            }
          },
          "pageRoutes": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "sections": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "array",
              "nullable": true,
              "items": {
                "$ref": "#/components/schemas/models.Section"
              }
            }
          },
          "supportForms": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "$ref": "#/components/schemas/models.SupportForm"
            }
          },
          "typography": {
            "$ref": "#/components/schemas/models.CustomizationTypography"
          }
        },
        "required": [
          "blocks",
          "branding",
          "colors",
          "content",
          "layout",
          "sections",
          "typography"
        ]
      },
      "models.PublicUser": {
        "type": "object",
        "properties": {
          "avatar_url": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "avatar_url",
          "id"
        ]
      },
      "models.PublicVote": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "user": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicUser"
              }
            ]
          },
          "wish_id": {
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "id",
          "wish_id"
        ]
      },
      "models.RedactedPublicProject": {
        "type": "object",
        "properties": {
          "captcha_enabled": {
            "type": "boolean"
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "custom_domain": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "icon_url": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_launched": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "organization_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "captcha_enabled",
          "color",
          "created_at",
          "custom_domain",
          "description",
          "icon_url",
          "id",
          "is_launched",
          "name",
          "organization_id",
          "slug",
          "updated_at"
        ]
      },
      "models.RedactedPublicRoadmap": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RedactedPublicRoadmapColumn"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "project_id": {
            "type": "string"
          },
          "show_comments": {
            "type": "boolean"
          },
          "show_vote_counts": {
            "type": "boolean"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "visibility": {
            "type": "string",
            "enum": [
              "private",
              "public",
              "voters_only"
            ]
          }
        },
        "required": [
          "created_at",
          "description",
          "id",
          "is_default",
          "name",
          "project_id",
          "show_comments",
          "show_vote_counts",
          "updated_at",
          "visibility"
        ]
      },
      "models.RedactedPublicRoadmapColumn": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RedactedPublicRoadmapItem"
            }
          },
          "name": {
            "type": "string"
          },
          "roadmap_id": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "wip_limit": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "required": [
          "color",
          "created_at",
          "id",
          "name",
          "roadmap_id",
          "sort_order",
          "updated_at",
          "wip_limit"
        ]
      },
      "models.RedactedPublicRoadmapItem": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "nullable": true
          },
          "column_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "epic": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RoadmapEpic"
              }
            ]
          },
          "epic_id": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "roadmap_id": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "target_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "wish": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RedactedPublicRoadmapWish"
              }
            ]
          },
          "wish_id": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "color",
          "column_id",
          "created_at",
          "description",
          "epic_id",
          "id",
          "roadmap_id",
          "sort_order",
          "target_date",
          "title",
          "updated_at",
          "wish_id"
        ]
      },
      "models.RedactedPublicRoadmapWish": {
        "type": "object",
        "properties": {
          "author_type": {
            "type": "string",
            "enum": [
              "anonymous",
              "team_member",
              "user"
            ]
          },
          "author_user_id": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Category"
              }
            ]
          },
          "category_id": {
            "type": "string",
            "nullable": true
          },
          "comment_count": {
            "type": "integer",
            "format": "int64"
          },
          "completed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "is_approved": {
            "type": "boolean"
          },
          "is_merged": {
            "type": "boolean"
          },
          "is_pinned": {
            "type": "boolean"
          },
          "merged_into_id": {
            "type": "string",
            "nullable": true
          },
          "priority": {
            "type": "string",
            "nullable": true,
            "enum": [
              "critical",
              "high",
              "low",
              "medium"
            ]
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "enum": [
              "api",
              "dashboard",
              "import",
              "portal",
              "widget"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "completed",
              "declined",
              "in_progress",
              "pending",
              "planned",
              "under_review"
            ]
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "vote_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "author_type",
          "author_user_id",
          "category_id",
          "comment_count",
          "completed_at",
          "created_at",
          "description",
          "id",
          "is_approved",
          "is_merged",
          "is_pinned",
          "merged_into_id",
          "priority",
          "project_id",
          "slug",
          "source",
          "status",
          "title",
          "updated_at",
          "vote_count"
        ]
      },
      "models.RedactedPublicSurvey": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "nodes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RedactedPublicSurveyNode"
            }
          },
          "number_of_questions": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "description",
          "id",
          "is_active",
          "name",
          "project_id",
          "slug",
          "updated_at"
        ]
      },
      "models.RedactedPublicSurveyNode": {
        "type": "object",
        "properties": {
          "answer_no_node_id": {
            "type": "string",
            "nullable": true
          },
          "answer_yes_node_id": {
            "type": "string",
            "nullable": true
          },
          "branches": {
            "type": "array",
            "description": "Conditional branches evaluated in order; each next_node_id must belong to the same survey.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "condition": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "equals",
                        "contains",
                        "gt",
                        "lt",
                        "gte",
                        "lte"
                      ]
                    },
                    "value": {
                      "description": "String, number or boolean compared with the answer"
                    }
                  }
                },
                "next_node_id": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "next_node_id"
              ]
            }
          },
          "children": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RedactedPublicSurveyNode"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "is_required": {
            "type": "boolean"
          },
          "max_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "min_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "next_node_id": {
            "type": "string",
            "nullable": true
          },
          "no_node": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RedactedPublicSurveyNode"
              }
            ]
          },
          "options": {
            "type": "array",
            "description": "Choices for multiple_choice and checkboxes questions (validate_survey_node_options requires value and label); null for other types.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "label"
              ]
            }
          },
          "parent_id": {
            "type": "string",
            "nullable": true
          },
          "question": {
            "type": "string"
          },
          "question_type": {
            "type": "string",
            "enum": [
              "checkboxes",
              "multiple_choice",
              "paragraph",
              "rating",
              "short_answer",
              "yes_no"
            ]
          },
          "result_message": {
            "type": "string",
            "nullable": true
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "survey_id": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "yes_node": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RedactedPublicSurveyNode"
              }
            ]
          }
        },
        "required": [
          "created_at",
          "id",
          "is_required",
          "parent_id",
          "question",
          "question_type",
          "result_message",
          "sort_order",
          "survey_id",
          "updated_at"
        ]
      },
      "models.RedactedPublicSurveyResponse": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "survey_id": {
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "id",
          "survey_id"
        ]
      },
      "models.RedactedPublicWish": {
        "type": "object",
        "properties": {
          "author_type": {
            "type": "string",
            "enum": [
              "anonymous",
              "team_member",
              "user"
            ]
          },
          "category": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Category"
              }
            ]
          },
          "category_id": {
            "type": "string",
            "nullable": true
          },
          "comment_count": {
            "type": "integer",
            "format": "int64"
          },
          "completed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "has_voted": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "is_merged": {
            "type": "boolean"
          },
          "is_pinned": {
            "type": "boolean"
          },
          "merged_into_id": {
            "type": "string",
            "nullable": true
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "enum": [
              "api",
              "dashboard",
              "import",
              "portal",
              "widget"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "completed",
              "declined",
              "in_progress",
              "pending",
              "planned",
              "under_review"
            ]
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "vote_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "author_type",
          "category_id",
          "comment_count",
          "completed_at",
          "created_at",
          "description",
          "has_voted",
          "id",
          "is_merged",
          "is_pinned",
          "merged_into_id",
          "project_id",
          "slug",
          "source",
          "status",
          "title",
          "updated_at",
          "vote_count"
        ]
      },
      "models.ReleaseWithViews": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "published_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "view_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "published_at",
          "slug",
          "title",
          "view_count"
        ]
      },
      "models.ReleasesAnalytics": {
        "type": "object",
        "properties": {
          "summary": {
            "$ref": "#/components/schemas/models.ReleasesAnalyticsSummary"
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ReleasesTimeseriesPoint"
            }
          },
          "top_releases": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ReleaseWithViews"
            }
          }
        },
        "required": [
          "summary",
          "top_releases"
        ]
      },
      "models.ReleasesAnalyticsSummary": {
        "type": "object",
        "properties": {
          "draft_releases": {
            "type": "integer",
            "format": "int64"
          },
          "published_releases": {
            "type": "integer",
            "format": "int64"
          },
          "total_releases": {
            "type": "integer",
            "format": "int64"
          },
          "total_views": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "draft_releases",
          "published_releases",
          "total_releases",
          "total_views"
        ]
      },
      "models.ReleasesTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "releases": {
            "type": "integer",
            "format": "int64"
          },
          "views": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "releases",
          "views"
        ]
      },
      "models.ResolvedSEO": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "noindex": {
            "type": "boolean"
          },
          "ogImageUrl": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "noindex",
          "ogImageUrl",
          "title"
        ]
      },
      "models.Roadmap": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RoadmapColumn"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "project": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RedactedPublicProject"
              }
            ]
          },
          "project_id": {
            "type": "string"
          },
          "show_comments": {
            "type": "boolean"
          },
          "show_vote_counts": {
            "type": "boolean"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "visibility": {
            "type": "string",
            "enum": [
              "private",
              "public",
              "voters_only"
            ]
          }
        },
        "required": [
          "created_at",
          "description",
          "id",
          "is_default",
          "name",
          "project_id",
          "show_comments",
          "show_vote_counts",
          "updated_at",
          "visibility"
        ]
      },
      "models.RoadmapAnalytics": {
        "type": "object",
        "properties": {
          "by_column": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RoadmapColumnStats"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/models.RoadmapAnalyticsSummary"
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RoadmapTimeseriesPoint"
            }
          }
        },
        "required": [
          "by_column",
          "summary"
        ]
      },
      "models.RoadmapAnalyticsSummary": {
        "type": "object",
        "properties": {
          "completion_rate": {
            "type": "number",
            "format": "double"
          },
          "items_with_target_date": {
            "type": "integer",
            "format": "int64"
          },
          "total_items": {
            "type": "integer",
            "format": "int64"
          },
          "total_roadmaps": {
            "type": "integer",
            "format": "int64"
          },
          "total_views": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "completion_rate",
          "items_with_target_date",
          "total_items",
          "total_roadmaps",
          "total_views"
        ]
      },
      "models.RoadmapColumn": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RoadmapItem"
            }
          },
          "name": {
            "type": "string"
          },
          "roadmap": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Roadmap"
              }
            ]
          },
          "roadmap_id": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "wip_limit": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "required": [
          "color",
          "created_at",
          "id",
          "name",
          "roadmap_id",
          "sort_order",
          "updated_at",
          "wip_limit"
        ]
      },
      "models.RoadmapColumnStats": {
        "type": "object",
        "properties": {
          "column_id": {
            "type": "string"
          },
          "column_name": {
            "type": "string"
          },
          "item_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "column_id",
          "column_name",
          "item_count"
        ]
      },
      "models.RoadmapEpic": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "item_count": {
            "type": "integer",
            "format": "int64"
          },
          "items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.RoadmapItem"
            }
          },
          "project_id": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "target_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "id",
          "project_id",
          "sort_order",
          "title",
          "updated_at"
        ]
      },
      "models.RoadmapItem": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "nullable": true
          },
          "column": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RoadmapColumn"
              }
            ]
          },
          "column_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "epic": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RoadmapEpic"
              }
            ]
          },
          "epic_id": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "roadmap": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Roadmap"
              }
            ]
          },
          "roadmap_id": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "target_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "wish": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Wish"
              }
            ]
          },
          "wish_id": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "color",
          "column_id",
          "created_at",
          "description",
          "epic_id",
          "id",
          "roadmap_id",
          "sort_order",
          "target_date",
          "title",
          "updated_at",
          "wish_id"
        ]
      },
      "models.RoadmapTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "items": {
            "type": "integer",
            "format": "int64"
          },
          "views": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "items",
          "views"
        ]
      },
      "models.SafePublicSupportRequest": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SupportAttachment"
            }
          },
          "category": {
            "type": "string",
            "enum": [
              "account_issue",
              "billing",
              "bug_report",
              "feature_request",
              "general_inquiry",
              "other",
              "technical_support"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "message_count": {
            "type": "integer",
            "format": "int64"
          },
          "messages": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SupportMessage"
            }
          },
          "project_id": {
            "type": "string"
          },
          "resolved_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "closed",
              "in_progress",
              "open",
              "resolved",
              "waiting_for_support",
              "waiting_for_user"
            ]
          },
          "subject": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "user_email": {
            "type": "string",
            "nullable": true
          },
          "user_name": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "category",
          "created_at",
          "description",
          "id",
          "project_id",
          "source",
          "status",
          "subject",
          "updated_at"
        ]
      },
      "models.SafePublicSupportRequestWithToken": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string"
          },
          "attachments": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SupportAttachment"
            }
          },
          "category": {
            "type": "string",
            "enum": [
              "account_issue",
              "billing",
              "bug_report",
              "feature_request",
              "general_inquiry",
              "other",
              "technical_support"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "magic_link": {
            "type": "string"
          },
          "message_count": {
            "type": "integer",
            "format": "int64"
          },
          "messages": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SupportMessage"
            }
          },
          "project_id": {
            "type": "string"
          },
          "resolved_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "closed",
              "in_progress",
              "open",
              "resolved",
              "waiting_for_support",
              "waiting_for_user"
            ]
          },
          "subject": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "user_email": {
            "type": "string",
            "nullable": true
          },
          "user_name": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "access_token",
          "category",
          "created_at",
          "description",
          "id",
          "project_id",
          "source",
          "status",
          "subject",
          "updated_at"
        ]
      },
      "models.SanitizedContactFormSubmission": {
        "type": "object",
        "properties": {
          "anonymized_ip": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "email_sent": {
            "type": "boolean"
          },
          "form_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "processed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "project_id": {
            "type": "string"
          },
          "submitted_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "data",
          "email_sent",
          "form_id",
          "id",
          "project_id",
          "submitted_at"
        ]
      },
      "models.SearchQueryCount": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "query": {
            "type": "string"
          }
        },
        "required": [
          "count",
          "query"
        ]
      },
      "models.Section": {
        "type": "object",
        "properties": {
          "animation": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Animation"
              }
            ]
          },
          "backgroundColor": {
            "type": "string",
            "nullable": true
          },
          "cells": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SectionCell"
            }
          },
          "className": {
            "type": "string",
            "nullable": true
          },
          "customCss": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "layout": {
            "type": "string"
          },
          "order": {
            "type": "integer",
            "format": "int64"
          },
          "paddingY": {
            "type": "string",
            "nullable": true
          },
          "visible": {
            "type": "boolean"
          }
        },
        "required": [
          "cells",
          "id",
          "layout",
          "order",
          "visible"
        ]
      },
      "models.SectionCell": {
        "type": "object",
        "properties": {
          "blocks": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ContentBlock"
            }
          },
          "columnIndex": {
            "type": "integer",
            "format": "int64"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "blocks",
          "columnIndex",
          "id"
        ]
      },
      "models.SendMagicLinkRequest.Request": {
        "type": "object",
        "properties": {
          "project_id": {
            "type": "string",
            "format": "uuid"
          },
          "user_email": {
            "type": "string",
            "format": "email"
          }
        },
        "required": [
          "project_id",
          "user_email"
        ]
      },
      "models.StatusAnalytics": {
        "type": "object",
        "properties": {
          "by_service": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "by_type": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/models.StatusAnalyticsSummary"
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.StatusTimeseriesPoint"
            }
          }
        },
        "required": [
          "by_service",
          "by_type",
          "summary"
        ]
      },
      "models.StatusAnalyticsSummary": {
        "type": "object",
        "properties": {
          "active_incidents": {
            "type": "integer",
            "format": "int64"
          },
          "avg_resolution_time_ms": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "current_status": {
            "type": "string"
          },
          "resolved_incidents": {
            "type": "integer",
            "format": "int64"
          },
          "total_incidents": {
            "type": "integer",
            "format": "int64"
          },
          "uptime_percentage": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "active_incidents",
          "avg_resolution_time_ms",
          "current_status",
          "resolved_incidents",
          "total_incidents",
          "uptime_percentage"
        ]
      },
      "models.StatusContent": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "heading": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "heading"
        ]
      },
      "models.StatusTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "incidents": {
            "type": "integer",
            "format": "int64"
          },
          "resolved": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "incidents",
          "resolved"
        ]
      },
      "models.SubmitContactFormRequest.Request": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.SupportAttachment.Request"
            }
          },
          "data": {
            "type": "object",
            "additionalProperties": {}
          },
          "form_id": {
            "type": "string"
          }
        },
        "required": [
          "data",
          "form_id"
        ]
      },
      "models.SubmitSupportFormRequest.Request": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "additionalProperties": {}
          },
          "description": {
            "type": "string"
          },
          "form_id": {
            "type": "string"
          },
          "subject": {
            "type": "string",
            "maxLength": 500
          },
          "user_email": {
            "type": "string",
            "nullable": true
          },
          "user_name": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "data",
          "description",
          "form_id",
          "subject"
        ]
      },
      "models.SubmitSurveyResponseAnswer.Request": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "nullable": true
          },
          "answer_options": {
            "type": "array",
            "description": "Selected option values for multiple_choice (exactly one) and checkboxes questions.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "answer_text": {
            "type": "string",
            "nullable": true
          },
          "node_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "node_id"
        ]
      },
      "models.SubmitSurveyResponseRequest.Request": {
        "type": "object",
        "properties": {
          "answers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.SubmitSurveyResponseAnswer.Request"
            },
            "minItems": 1
          },
          "external_user_id": {
            "type": "string",
            "nullable": true
          },
          "fingerprint": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "required": [
          "answers",
          "fingerprint"
        ]
      },
      "models.SupportAnalytics": {
        "type": "object",
        "properties": {
          "avg_resolution_time_ms": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "avg_response_time_ms": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "summary": {
            "$ref": "#/components/schemas/models.SupportAnalyticsSummary"
          },
          "tickets_by_category": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "tickets_by_priority": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "tickets_by_status": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SupportTimeseriesPoint"
            }
          }
        },
        "required": [
          "avg_resolution_time_ms",
          "avg_response_time_ms",
          "summary",
          "tickets_by_category",
          "tickets_by_priority",
          "tickets_by_status"
        ]
      },
      "models.SupportAnalyticsSummary": {
        "type": "object",
        "properties": {
          "open_tickets": {
            "type": "integer",
            "format": "int64"
          },
          "resolution_rate": {
            "type": "number",
            "format": "double"
          },
          "resolved_tickets": {
            "type": "integer",
            "format": "int64"
          },
          "total_tickets": {
            "type": "integer",
            "format": "int64"
          },
          "unassigned": {
            "type": "integer",
            "format": "int64"
          },
          "waiting_on_customer": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "open_tickets",
          "resolution_rate",
          "resolved_tickets",
          "total_tickets",
          "unassigned",
          "waiting_on_customer"
        ]
      },
      "models.SupportAttachment": {
        "type": "object",
        "properties": {
          "mime_type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "url"
        ]
      },
      "models.SupportAttachment.Request": {
        "type": "object",
        "properties": {
          "mime_type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "models.SupportForm": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "enable_ai_summary": {
            "type": "boolean",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "fields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.ContactFormField"
            }
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "submit_button_text": {
            "type": "string"
          },
          "success_message": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "enabled",
          "fields",
          "id",
          "name",
          "submit_button_text",
          "success_message",
          "updated_at"
        ]
      },
      "models.SupportFormAIReply.Request": {
        "type": "object",
        "properties": {
          "ask_clarifying": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "format": {
            "type": "string"
          },
          "ground_in_articles": {
            "type": "boolean"
          },
          "instructions": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "length": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "auto",
              "draft"
            ]
          },
          "persona": {
            "type": "string"
          },
          "signoff": {
            "type": "string"
          },
          "tone": {
            "type": "string"
          }
        }
      },
      "models.SupportMessage": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SupportAttachment"
            }
          },
          "author": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicUser"
              }
            ]
          },
          "author_name": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "help_articles": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.HelpArticle"
            }
          },
          "id": {
            "type": "string"
          },
          "is_from_user": {
            "type": "boolean"
          },
          "support_request_id": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "content",
          "created_at",
          "id",
          "is_from_user",
          "support_request_id",
          "updated_at"
        ]
      },
      "models.SupportTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "tickets_created": {
            "type": "integer",
            "format": "int64"
          },
          "tickets_resolved": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "tickets_created",
          "tickets_resolved"
        ]
      },
      "models.Survey": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "nodes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SurveyNode"
            }
          },
          "number_of_questions": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "number_of_responses": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "project": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RedactedPublicProject"
              }
            ]
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "description",
          "id",
          "is_active",
          "name",
          "project_id",
          "slug",
          "updated_at"
        ]
      },
      "models.SurveyAnalytics": {
        "type": "object",
        "properties": {
          "by_survey": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SurveyWithStats"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/models.SurveyAnalyticsSummary"
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SurveyTimeseriesPoint"
            }
          }
        },
        "required": [
          "summary"
        ]
      },
      "models.SurveyAnalyticsSummary": {
        "type": "object",
        "properties": {
          "active_surveys": {
            "type": "integer",
            "format": "int64"
          },
          "avg_completion_rate": {
            "type": "number",
            "format": "double"
          },
          "avg_response_rate": {
            "type": "number",
            "format": "double"
          },
          "avg_satisfaction": {
            "type": "number",
            "format": "double"
          },
          "total_responses": {
            "type": "integer",
            "format": "int64"
          },
          "total_surveys": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "active_surveys",
          "avg_completion_rate",
          "avg_response_rate",
          "avg_satisfaction",
          "total_responses",
          "total_surveys"
        ]
      },
      "models.SurveyNode": {
        "type": "object",
        "properties": {
          "answer_no_node_id": {
            "type": "string",
            "nullable": true
          },
          "answer_yes_node_id": {
            "type": "string",
            "nullable": true
          },
          "branches": {
            "type": "array",
            "description": "Conditional branches evaluated in order; each next_node_id must belong to the same survey.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "condition": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "equals",
                        "contains",
                        "gt",
                        "lt",
                        "gte",
                        "lte"
                      ]
                    },
                    "value": {
                      "description": "String, number or boolean compared with the answer"
                    }
                  }
                },
                "next_node_id": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "next_node_id"
              ]
            }
          },
          "children": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SurveyNode"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "is_required": {
            "type": "boolean"
          },
          "max_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "min_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "next_node_id": {
            "type": "string",
            "nullable": true
          },
          "no_node": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.SurveyNode"
              }
            ]
          },
          "options": {
            "type": "array",
            "description": "Choices for multiple_choice and checkboxes questions (validate_survey_node_options requires value and label); null for other types.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "label"
              ]
            }
          },
          "parent_id": {
            "type": "string",
            "nullable": true
          },
          "question": {
            "type": "string"
          },
          "question_type": {
            "type": "string",
            "enum": [
              "checkboxes",
              "multiple_choice",
              "paragraph",
              "rating",
              "short_answer",
              "yes_no"
            ]
          },
          "result_message": {
            "type": "string",
            "nullable": true
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "survey": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Survey"
              }
            ]
          },
          "survey_id": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "yes_node": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.SurveyNode"
              }
            ]
          }
        },
        "required": [
          "created_at",
          "id",
          "is_required",
          "parent_id",
          "question",
          "question_type",
          "result_message",
          "sort_order",
          "survey_id",
          "updated_at"
        ]
      },
      "models.SurveyResponse": {
        "type": "object",
        "properties": {
          "answers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SurveyResponseAnswer"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "external_user_id": {
            "type": "string",
            "nullable": true
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "survey": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Survey"
              }
            ]
          },
          "survey_id": {
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "external_user_id",
          "fingerprint",
          "id",
          "metadata",
          "survey_id"
        ]
      },
      "models.SurveyResponseAnswer": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "nullable": true
          },
          "answer_options": {
            "type": "array",
            "description": "Selected option values for multiple_choice (exactly one) and checkboxes questions.",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "answer_text": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "node": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.SurveyNode"
              }
            ]
          },
          "node_id": {
            "type": "string"
          },
          "response_id": {
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "id",
          "node_id",
          "response_id"
        ]
      },
      "models.SurveyTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "responses": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "responses"
        ]
      },
      "models.SurveyWithStats": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "response_count": {
            "type": "integer",
            "format": "int64"
          },
          "response_rate": {
            "type": "number",
            "format": "double"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "response_count",
          "response_rate",
          "title"
        ]
      },
      "models.SyncedSubscriber": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "last_notified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "created_at",
          "email",
          "id"
        ]
      },
      "models.UpdateContactFormRequest.Request": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "email_recipient": {
            "type": "string",
            "nullable": true
          },
          "email_subject": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean",
            "nullable": true
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.ContactFormField.Request"
            }
          },
          "integration": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.ContactFormIntegration.Request"
              }
            ]
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "submit_button_text": {
            "type": "string",
            "nullable": true
          },
          "success_message": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "models.UpdateSupportFormRequest.Request": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean",
            "nullable": true
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/models.ContactFormField.Request"
            }
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "submit_button_text": {
            "type": "string",
            "nullable": true
          },
          "success_message": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "models.UpdateSurveyNodeRequest.Request": {
        "type": "object",
        "properties": {
          "answer_no_node_id": {
            "type": "string",
            "nullable": true
          },
          "answer_yes_node_id": {
            "type": "string",
            "nullable": true
          },
          "branches": {
            "type": "array",
            "description": "Conditional branches evaluated in order; each next_node_id must belong to the same survey.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "condition": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "equals",
                        "contains",
                        "gt",
                        "lt",
                        "gte",
                        "lte"
                      ]
                    },
                    "value": {
                      "description": "String, number or boolean compared with the answer"
                    }
                  }
                },
                "next_node_id": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "next_node_id"
              ]
            }
          },
          "is_required": {
            "type": "boolean",
            "nullable": true
          },
          "max_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "min_rating": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "next_node_id": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "array",
            "description": "Choices for multiple_choice and checkboxes questions (validate_survey_node_options requires value and label); null for other types.",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "label"
              ]
            }
          },
          "parent_id": {
            "type": "string",
            "nullable": true
          },
          "question": {
            "type": "string",
            "nullable": true
          },
          "question_type": {
            "type": "string",
            "nullable": true,
            "enum": [
              "checkboxes",
              "multiple_choice",
              "paragraph",
              "rating",
              "short_answer",
              "yes_no"
            ]
          },
          "result_message": {
            "type": "string",
            "nullable": true
          },
          "sort_order": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        }
      },
      "models.UpdateSurveyRequest.Request": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "is_active": {
            "type": "boolean",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "models.WebhookMeta": {
        "type": "object",
        "properties": {
          "organization_id": {
            "type": "string"
          },
          "project_id": {
            "type": "string"
          },
          "triggered_by": {
            "type": "string"
          }
        },
        "required": [
          "organization_id",
          "project_id"
        ]
      },
      "models.WebhookPayload": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "event": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "metadata": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.WebhookMeta"
              }
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "data",
          "event",
          "id",
          "timestamp"
        ]
      },
      "models.Wish": {
        "type": "object",
        "properties": {
          "author_type": {
            "type": "string",
            "enum": [
              "anonymous",
              "team_member",
              "user"
            ]
          },
          "category": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.Category"
              }
            ]
          },
          "category_id": {
            "type": "string",
            "nullable": true
          },
          "comment_count": {
            "type": "integer",
            "format": "int64"
          },
          "completed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "is_approved": {
            "type": "boolean"
          },
          "is_merged": {
            "type": "boolean"
          },
          "is_pinned": {
            "type": "boolean"
          },
          "merged_into_id": {
            "type": "string",
            "nullable": true
          },
          "priority": {
            "type": "string",
            "nullable": true,
            "enum": [
              "critical",
              "high",
              "low",
              "medium"
            ]
          },
          "project": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.RedactedPublicProject"
              }
            ]
          },
          "project_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "enum": [
              "api",
              "dashboard",
              "import",
              "portal",
              "widget"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "completed",
              "declined",
              "in_progress",
              "pending",
              "planned",
              "under_review"
            ]
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "vote_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "author_type",
          "category_id",
          "comment_count",
          "completed_at",
          "created_at",
          "description",
          "id",
          "is_approved",
          "is_merged",
          "is_pinned",
          "merged_into_id",
          "priority",
          "project_id",
          "slug",
          "source",
          "status",
          "title",
          "updated_at",
          "vote_count"
        ]
      },
      "models.WishWithVotes": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "vote_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "status",
          "title",
          "vote_count"
        ]
      },
      "models.WishesAnalytics": {
        "type": "object",
        "properties": {
          "by_category": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "by_status": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/models.WishesAnalyticsSummary"
          },
          "timeseries": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.WishesTimeseriesPoint"
            }
          },
          "top_voted": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.WishWithVotes"
            }
          }
        },
        "required": [
          "summary"
        ]
      },
      "models.WishesAnalyticsSummary": {
        "type": "object",
        "properties": {
          "active_wishes": {
            "type": "integer",
            "format": "int64"
          },
          "completion_rate": {
            "type": "number",
            "format": "double"
          },
          "total_votes": {
            "type": "integer",
            "format": "int64"
          },
          "total_wishes": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "active_wishes",
          "completion_rate",
          "total_votes",
          "total_wishes"
        ]
      },
      "models.WishesTimeseriesPoint": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "link_interactions": {
            "type": "integer",
            "format": "int64"
          },
          "votes": {
            "type": "integer",
            "format": "int64"
          },
          "wishes": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "date",
          "votes",
          "wishes"
        ]
      },
      "models.WishlistEntry": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "user_id": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "created_at",
          "id"
        ]
      },
      "monitoring.CheckResult": {
        "type": "object",
        "properties": {
          "checked_at": {
            "type": "string",
            "format": "date-time"
          },
          "checked_from": {
            "type": "string"
          },
          "dns_resolution_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "dns_resolved_ips": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "error_message": {
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "response_body": {
            "type": "string"
          },
          "response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "ssl_days_until_expiry": {
            "type": "integer",
            "format": "int64"
          },
          "ssl_expires_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ssl_issuer": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "degraded",
              "down",
              "unknown",
              "up"
            ]
          },
          "status_code": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "checked_at",
          "checked_from",
          "monitor_id",
          "response_time_ms",
          "status"
        ]
      },
      "monitoring.MaintenanceWindow": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "created_by_user_id": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string"
          },
          "ends_at": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_recurring": {
            "type": "boolean"
          },
          "monitor_id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "recurrence_rule": {
            "type": "string"
          },
          "starts_at": {
            "type": "string",
            "format": "date-time"
          },
          "status_page_id": {
            "type": "string",
            "nullable": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "created_at",
          "ends_at",
          "id",
          "is_active",
          "is_recurring",
          "name",
          "starts_at",
          "updated_at"
        ]
      },
      "monitoring.Monitor": {
        "type": "object",
        "properties": {
          "auto_create_incident": {
            "type": "boolean"
          },
          "check_interval_seconds": {
            "type": "integer",
            "format": "int64"
          },
          "check_regions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "consecutive_failures": {
            "type": "integer",
            "format": "int64"
          },
          "consecutive_successes": {
            "type": "integer",
            "format": "int64"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "current_response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "current_status": {
            "type": "string",
            "enum": [
              "degraded",
              "down",
              "unknown",
              "up"
            ]
          },
          "degraded_response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "description": {
            "type": "string"
          },
          "expected_response_contains": {
            "type": "string"
          },
          "expected_status_codes": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "failure_threshold": {
            "type": "integer",
            "format": "int64"
          },
          "http_body": {
            "type": "string"
          },
          "http_headers": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "http_method": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "incident_severity": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "last_check_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_down_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_status_change_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_up_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "monitor_type": {
            "type": "string",
            "enum": [
              "dns",
              "http",
              "https",
              "ssl_expiry",
              "tcp"
            ]
          },
          "name": {
            "type": "string"
          },
          "notify_on_failure": {
            "type": "boolean"
          },
          "notify_on_recovery": {
            "type": "boolean"
          },
          "recovery_threshold": {
            "type": "integer",
            "format": "int64"
          },
          "service_id": {
            "type": "string",
            "nullable": true
          },
          "ssl_expiry_warning_days": {
            "type": "integer",
            "format": "int64"
          },
          "status_page_id": {
            "type": "string"
          },
          "timeout_seconds": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "verify_ssl": {
            "type": "boolean"
          }
        },
        "required": [
          "auto_create_incident",
          "check_interval_seconds",
          "consecutive_failures",
          "consecutive_successes",
          "created_at",
          "current_status",
          "degraded_response_time_ms",
          "failure_threshold",
          "id",
          "incident_severity",
          "is_active",
          "monitor_type",
          "name",
          "notify_on_failure",
          "notify_on_recovery",
          "recovery_threshold",
          "ssl_expiry_warning_days",
          "status_page_id",
          "timeout_seconds",
          "updated_at",
          "url",
          "verify_ssl"
        ]
      },
      "monitoring.ResponseTimeData": {
        "type": "object",
        "properties": {
          "response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "enum": [
              "degraded",
              "down",
              "unknown",
              "up"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "response_time_ms",
          "status",
          "timestamp"
        ]
      },
      "monitoring.UptimeStats": {
        "type": "object",
        "properties": {
          "avg_response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "period": {
            "type": "string"
          },
          "total_downtime_seconds": {
            "type": "integer",
            "format": "int64"
          },
          "total_incidents": {
            "type": "integer",
            "format": "int64"
          },
          "uptime_percentage": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "avg_response_time_ms",
          "period",
          "total_downtime_seconds",
          "total_incidents",
          "uptime_percentage"
        ]
      },
      "response.Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "details": {},
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ]
          },
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          }
        },
        "required": [
          "success",
          "error"
        ]
      },
      "services.CaptchaChallenge": {
        "type": "object",
        "properties": {
          "_timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "_token": {
            "type": "string"
          }
        },
        "required": [
          "_timestamp",
          "_token"
        ]
      },
      "services.EmailQuotaInfo": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "format": "int64"
          },
          "over_limit": {
            "type": "boolean"
          },
          "plan": {
            "type": "string"
          },
          "remaining": {
            "type": "integer",
            "format": "int64"
          },
          "used": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "limit",
          "over_limit",
          "plan",
          "remaining",
          "used"
        ]
      },
      "services.GlobalAskResponse": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string"
          },
          "blocked": {
            "type": "boolean"
          },
          "metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "mode": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "show_user_support": {
            "type": "boolean"
          }
        },
        "required": [
          "answer",
          "mode"
        ]
      },
      "services.PageOrderItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "order": {
            "type": "integer",
            "format": "int64"
          },
          "route": {
            "type": "string"
          },
          "show_in_nav": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "order",
          "route",
          "show_in_nav"
        ]
      },
      "services.PublicMonitorStatus": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "last_check_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "response_time_ms": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "enum": [
              "degraded",
              "down",
              "unknown",
              "up"
            ]
          },
          "uptime_percent": {
            "type": "number",
            "format": "double"
          }
        },
        "required": [
          "id",
          "last_check_at",
          "name",
          "response_time_ms",
          "status",
          "uptime_percent"
        ]
      },
      "services.PublicPageData": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.Category"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "customization_data": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicPageCustomizationData"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "organization_id": {
            "type": "string",
            "nullable": true
          },
          "page_order": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/services.PageOrderItem"
            }
          },
          "project": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/services.PublicPageProject"
              }
            ]
          },
          "project_id": {
            "type": "string",
            "nullable": true
          },
          "roadmap": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/services.PublicRoadmapResponse"
              }
            ]
          },
          "total_wishes": {
            "type": "integer",
            "format": "int64"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "use_custom": {
            "type": "boolean"
          },
          "variant": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicCustomizationVariant"
              }
            ]
          },
          "variant_id": {
            "type": "string",
            "nullable": true
          },
          "wishes": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.Wish"
            }
          }
        },
        "required": [
          "categories",
          "created_at",
          "customization_data",
          "id",
          "organization_id",
          "page_order",
          "project_id",
          "total_wishes",
          "updated_at",
          "use_custom",
          "variant_id",
          "wishes"
        ]
      },
      "services.PublicPageProject": {
        "type": "object",
        "properties": {
          "icon_url": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "icon_url",
          "id",
          "name",
          "slug"
        ]
      },
      "services.PublicRoadmapCategory": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "color",
          "id",
          "name"
        ]
      },
      "services.PublicRoadmapColumn": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/services.PublicRoadmapItem"
            }
          },
          "name": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "wip_limit": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "required": [
          "color",
          "id",
          "items",
          "name",
          "sort_order",
          "wip_limit"
        ]
      },
      "services.PublicRoadmapItem": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "sort_order": {
            "type": "integer",
            "format": "int64"
          },
          "target_date": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "wish": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/services.PublicRoadmapWish"
              }
            ]
          }
        },
        "required": [
          "color",
          "description",
          "id",
          "sort_order",
          "target_date",
          "title"
        ]
      },
      "services.PublicRoadmapResponse": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/services.PublicRoadmapColumn"
            }
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "show_comments": {
            "type": "boolean"
          },
          "show_vote_counts": {
            "type": "boolean"
          },
          "visibility": {
            "type": "string",
            "enum": [
              "private",
              "public",
              "voters_only"
            ]
          }
        },
        "required": [
          "columns",
          "description",
          "id",
          "name",
          "show_comments",
          "show_vote_counts",
          "visibility"
        ]
      },
      "services.PublicRoadmapWish": {
        "type": "object",
        "properties": {
          "category": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/services.PublicRoadmapCategory"
              }
            ]
          },
          "comment_count": {
            "type": "integer",
            "format": "int64"
          },
          "created_at": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "vote_count": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "comment_count",
          "created_at",
          "description",
          "id",
          "status",
          "title",
          "vote_count"
        ]
      },
      "services.RAGResponse": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string"
          },
          "blocked": {
            "type": "boolean"
          },
          "conversation_id": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {}
          },
          "reason": {
            "type": "string"
          },
          "show_user_support": {
            "type": "boolean"
          },
          "sources": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/services.RAGSource"
            }
          }
        },
        "required": [
          "answer",
          "sources"
        ]
      },
      "services.RAGSource": {
        "type": "object",
        "properties": {
          "article_id": {
            "type": "string"
          },
          "excerpt": {
            "type": "string"
          },
          "flow_id": {
            "type": "string"
          },
          "flow_slug": {
            "type": "string"
          },
          "post_id": {
            "type": "string"
          },
          "similarity": {
            "type": "number",
            "format": "double"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "similarity",
          "slug",
          "title",
          "type"
        ]
      },
      "services.RecipientsPreview": {
        "type": "object",
        "properties": {
          "audience_tags": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "email_quota": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/services.EmailQuotaInfo"
              }
            ]
          },
          "notify_channels": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "recipients": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/models.SyncedSubscriber"
            }
          },
          "total": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "recipients",
          "total"
        ]
      },
      "services.ToggleVoteResult": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "vote": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/models.PublicVote"
              }
            ]
          }
        },
        "required": [
          "action",
          "message"
        ]
      }
    },
    "responses": {
      "Error400": {
        "description": "Bad Request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/response.Error"
            }
          }
        }
      },
      "Error401": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/response.Error"
            }
          }
        }
      },
      "Error403": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/response.Error"
            }
          }
        }
      },
      "Error404": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/response.Error"
            }
          }
        }
      },
      "Error409": {
        "description": "Conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/response.Error"
            }
          }
        }
      },
      "Error500": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/response.Error"
            }
          }
        }
      },
      "Error503": {
        "description": "Service Unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/response.Error"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Organization or project API key"
      }
    }
  }
}
