{
  "components": {
    "schemas": {
      "api.APITokenStatsResponse": {
        "properties": {
          "active": {
            "type": "integer"
          },
          "by_permission": {
            "properties": {
              "admin": {
                "type": "integer"
              },
              "read": {
                "type": "integer"
              },
              "write": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "expired": {
            "type": "integer"
          },
          "revoked": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.AdminCreateViewResponse": {
        "properties": {
          "short_code": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "view": {
            "$ref": "#/components/schemas/models.CustomView"
          }
        },
        "type": "object"
      },
      "api.AdminSubscriptionPreferencesResponse": {
        "properties": {
          "subscriber": {
            "$ref": "#/components/schemas/models.Subscriber"
          },
          "subscriptions": {
            "items": {
              "$ref": "#/components/schemas/models.NotificationSubscription"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.AdminSubscriptionPreferencesUpdateResponse": {
        "properties": {
          "message": {
            "type": "string"
          },
          "subscriptions": {
            "items": {
              "$ref": "#/components/schemas/models.NotificationSubscription"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.AuthURLResponse": {
        "properties": {
          "auth_url": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ChannelLinkRequest": {
        "properties": {
          "channel_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.HierarchyItemSummary": {
        "properties": {
          "abbreviated_name": {
            "type": "string"
          },
          "depth": {
            "type": "integer"
          },
          "hierarchy_path": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "slug",
          "depth",
          "status"
        ],
        "type": "object"
      },
      "api.HierarchyValidationResponse": {
        "properties": {
          "error": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "api.IncidentComponentImpactRequest": {
        "properties": {
          "end_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "item_id": {
            "type": "integer"
          },
          "start_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.IncidentComponentImpactUpdateRequest": {
        "properties": {
          "end_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "start_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.IncidentComponentMutationResponse": {
        "properties": {
          "incident_id": {
            "type": "integer"
          },
          "item_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.IncidentCreateRequest": {
        "properties": {
          "affected_items": {
            "items": {
              "properties": {
                "external_id": {
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "slug": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "impact": {
            "type": "string"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/api.LocalizedVariantMutation"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.IncidentImpactsResponse": {
        "properties": {
          "impacts": {
            "items": {
              "$ref": "#/components/schemas/service.ComponentImpact"
            },
            "type": "array"
          },
          "incident_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.IncidentLifecycleStageResource": {
        "properties": {
          "color": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "color",
          "display_order",
          "is_default"
        ],
        "type": "object"
      },
      "api.IncidentResource": {
        "properties": {
          "acknowledged_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/api.HierarchyItemSummary"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "initial_status": {
            "type": "string"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/api.IncidentLifecycleStageResource"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "resolved_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/api.IncidentUpdateResource"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "status",
          "title",
          "description",
          "started_at",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "api.IncidentTimelineUpdateRequest": {
        "properties": {
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/api.LocalizedVariantMutation"
            },
            "type": "array"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "api.IncidentUpdateCreateRequest": {
        "properties": {
          "impact": {
            "type": "string"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/api.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.IncidentUpdateRequest": {
        "properties": {
          "affected_items": {
            "items": {
              "properties": {
                "external_id": {
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "slug": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "impact": {
            "type": "string"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "started_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/api.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.IncidentUpdateResource": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "is_resolution": {
            "type": "boolean"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/api.IncidentLifecycleStageResource"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "previous_status": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "message",
          "status",
          "is_resolution",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "api.LocalizedVariantMutation": {
        "properties": {
          "locale": {
            "type": "string"
          },
          "state": {
            "enum": [
              "draft",
              "published"
            ],
            "type": "string"
          },
          "values": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "locale",
          "values"
        ],
        "type": "object"
      },
      "api.MaintenanceLifecycleStageResource": {
        "properties": {
          "color": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "color",
          "display_order",
          "is_default"
        ],
        "type": "object"
      },
      "api.MaintenanceResource": {
        "properties": {
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/api.HierarchyItemSummary"
            },
            "type": "array"
          },
          "auto_transition_complete_message": {
            "type": "string"
          },
          "auto_transition_enabled": {
            "type": "boolean"
          },
          "auto_transition_start_message": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/api.MaintenanceLifecycleStageResource"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "scheduled_end_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scheduled_start_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/api.MaintenanceUpdateResource"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "status",
          "title",
          "description",
          "scheduled_start_time",
          "scheduled_end_time",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "api.MaintenanceUpdateResource": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/api.MaintenanceLifecycleStageResource"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "maintenance_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "maintenance_id",
          "message",
          "status",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "api.ManagedDomainActionResponse": {
        "properties": {
          "domain": {
            "$ref": "#/components/schemas/handlers.managedDomainResponse"
          }
        },
        "type": "object"
      },
      "api.ManagedDomainListResponse": {
        "properties": {
          "domains": {
            "items": {
              "$ref": "#/components/schemas/handlers.managedDomainResponse"
            },
            "type": "array"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.MessageResponse": {
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.NonceResponse": {
        "properties": {
          "nonce": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.PublicMaintenance": {
        "properties": {
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/api.HierarchyItemSummary"
            },
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/api.MaintenanceLifecycleStageResource"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "scheduled_end_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scheduled_start_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/api.MaintenanceUpdateResource"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "status",
          "title",
          "description",
          "scheduled_start_time",
          "scheduled_end_time",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "api.ResolveIncidentRequest": {
        "properties": {
          "resolution_message": {
            "type": "string"
          },
          "resolved_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/api.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.SlackAppConnectedResponse": {
        "properties": {
          "message": {
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/models.SlackAppPublicSettings"
          }
        },
        "type": "object"
      },
      "api.SlackAppSettingsResponse": {
        "properties": {
          "announce_channel_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "bot_user_id": {
            "type": "string"
          },
          "channel_link_mode": {
            "type": "string"
          },
          "channel_overrides_enabled": {
            "type": "boolean"
          },
          "client_id": {
            "type": "string"
          },
          "configured": {
            "type": "boolean"
          },
          "connection_mode": {
            "type": "string"
          },
          "edit_notification_mode": {
            "type": "string"
          },
          "effective_redirect_uri": {
            "type": "string"
          },
          "global_announce_enabled": {
            "type": "boolean"
          },
          "global_reminders_enabled": {
            "type": "boolean"
          },
          "has_client_secret": {
            "type": "boolean"
          },
          "has_signing_secret": {
            "type": "boolean"
          },
          "maintenance_reminder_overrun_interval_minutes": {
            "type": "integer"
          },
          "maintenance_reminder_pre_end_minutes": {
            "type": "integer"
          },
          "maintenance_reminder_pre_start_intervals": {
            "type": "string"
          },
          "notify_on_create": {
            "type": "boolean"
          },
          "notify_on_maintenance_cancel": {
            "type": "boolean"
          },
          "notify_on_maintenance_complete": {
            "type": "boolean"
          },
          "notify_on_maintenance_create": {
            "type": "boolean"
          },
          "notify_on_maintenance_update": {
            "type": "boolean"
          },
          "notify_on_resolve": {
            "type": "boolean"
          },
          "notify_on_update": {
            "type": "boolean"
          },
          "redirect_uri": {
            "type": "string"
          },
          "redirect_uri_from_env": {
            "type": "boolean"
          },
          "reminder_interval_locked": {
            "type": "boolean"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "shared_app_name": {
            "type": "string"
          },
          "shared_app_ready": {
            "type": "boolean"
          },
          "shared_service_base_url": {
            "type": "string"
          },
          "shared_service_enabled": {
            "type": "boolean"
          },
          "shared_service_region": {
            "type": "string"
          },
          "synthetic_alert_channel_id": {
            "type": "string"
          },
          "synthetic_review_channel_id": {
            "type": "string"
          },
          "team_id": {
            "type": "string"
          },
          "team_name": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "workflow_confirmation_mode": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.SlackChannelLinkStatusResponse": {
        "properties": {
          "active_incident": {
            "properties": {
              "id": {
                "type": "integer"
              },
              "title": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "active_maintenance": {
            "properties": {
              "id": {
                "type": "integer"
              },
              "title": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "mode": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.SlackChannelReminderSettingsUpsertRequest": {
        "properties": {
          "reminder_interval_locked": {
            "type": "boolean"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.SlackInitiateLinkRequest": {
        "properties": {
          "slack_team_id": {
            "type": "string"
          },
          "slack_user_id": {
            "type": "string"
          },
          "slack_username": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.SlackOAuthCallbackRequest": {
        "properties": {
          "code": {
            "type": "string"
          },
          "redirect_uri": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.SlackUserLinkResponse": {
        "properties": {
          "linked_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sp_display_name": {
            "type": "string"
          },
          "sp_email": {
            "type": "string"
          },
          "sp_permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sp_role": {
            "type": "string"
          },
          "sp_role_display_names": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sp_role_keys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sp_user_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.StatusEventDeleteRequest": {
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StatusEventDeleteResponse": {
        "properties": {
          "event_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StatusEventListResponse": {
        "properties": {
          "count": {
            "type": "integer"
          },
          "end_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/models.StatusEvent"
            },
            "type": "array"
          },
          "item_id": {
            "type": "integer"
          },
          "start_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StatusEventUpdateTimeRequest": {
        "properties": {
          "correction_note": {
            "type": "string"
          },
          "event_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StatusEventUpdateTimeResponse": {
        "properties": {
          "corrected_by": {
            "type": "integer"
          },
          "event_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "new_time": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StatusPageSummary": {
        "properties": {
          "active_custom_domain": {
            "type": "string"
          },
          "active_custom_url": {
            "type": "string"
          },
          "custom_domains": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "fallback_domain": {
            "type": "string"
          },
          "fallback_url": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "organization_id": {
            "type": "integer"
          },
          "organization_slug": {
            "type": "string"
          },
          "page_id": {
            "type": "integer"
          },
          "page_slug": {
            "type": "string"
          },
          "public_domain": {
            "type": "string"
          },
          "public_slug": {
            "type": "string"
          },
          "public_url": {
            "type": "string"
          },
          "viewer_auth_mode": {
            "type": "string"
          },
          "viewer_password_configured": {
            "type": "boolean"
          },
          "visibility": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.SubscriptionPreferencesUpdateRequest": {
        "properties": {
          "subscriptions": {
            "items": {
              "$ref": "#/components/schemas/service.SubscriptionPreferenceInput"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.TerraformLockdownResponse": {
        "properties": {
          "export_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "terraform_lockdown_enabled": {
            "type": "boolean"
          },
          "terraform_locked_features": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.TokenRevokeRequest": {
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.TokenValidateRequest": {
        "properties": {
          "token": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          }
        },
        "type": "object"
      },
      "api.TokenValidateResponse": {
        "properties": {
          "token": {
            "$ref": "#/components/schemas/models.APIToken"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "api.ViewAliasBlocklistCreateRequest": {
        "properties": {
          "value": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.AffectedItemRef": {
        "$ref": "#/components/schemas/models.HierarchyItemRef"
      },
      "handlers.BeatGroupMemberSyncRequest": {
        "properties": {
          "member_monitor_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.BeatGroupUpsertRequest": {
        "properties": {
          "action_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "automation_pause_reason": {
            "type": "string"
          },
          "automation_paused": {
            "type": "boolean"
          },
          "component_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "description": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "impact": {
            "type": "string"
          },
          "member_monitor_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "message_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "message_policy_translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "message_source_mode": {
            "type": "string"
          },
          "muted_until": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.CreateGroupMappingRequest": {
        "properties": {
          "group_name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "role_key": {
            "type": "string"
          }
        },
        "required": [
          "group_name"
        ],
        "type": "object"
      },
      "handlers.CustomCSSPreviewRequest": {
        "properties": {
          "custom_css": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.CustomCSSPreviewResponse": {
        "properties": {
          "expires_at": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.ErrorResponse": {
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.HierarchyItemFlatResponse": {
        "properties": {
          "abbreviated_name": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "depth": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "external_id": {
            "type": "string"
          },
          "hierarchy_path": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "metadata": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "name": {
            "type": "string"
          },
          "parent_id": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.MaintenanceAddUpdateRequest": {
        "properties": {
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceStatus"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "handlers.MaintenanceCreateRequest": {
        "properties": {
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/handlers.AffectedItemRef"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "auto_transition_complete_message": {
            "type": "string"
          },
          "auto_transition_enabled": {
            "type": "boolean"
          },
          "auto_transition_start_message": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "impact": {
            "type": "string"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "recurrence_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "recurrence_rule": {
            "type": "string"
          },
          "recurrence_timezone": {
            "type": "string"
          },
          "scheduled_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "scheduled_start_time": {
            "format": "date-time",
            "type": "string"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceStatus"
          },
          "title": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          }
        },
        "required": [
          "title"
        ],
        "type": "object"
      },
      "handlers.MaintenanceRecurrenceOccurrencesResponse": {
        "properties": {
          "occurrences": {
            "items": {
              "$ref": "#/components/schemas/service.MaintenanceRecurrenceOccurrence"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.MaintenanceRecurrenceSeriesRequest": {
        "properties": {
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/handlers.AffectedItemRef"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "auto_transition_complete_message": {
            "type": "string"
          },
          "auto_transition_enabled": {
            "type": "boolean"
          },
          "auto_transition_start_message": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "duration_minutes": {
            "type": "integer"
          },
          "ends_on": {
            "format": "date-time",
            "type": "string"
          },
          "generate_months": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "interval_weeks": {
            "type": "integer"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "max_occurrences": {
            "type": "integer"
          },
          "ordinal_week": {
            "type": "integer"
          },
          "recurrence_type": {
            "$ref": "#/components/schemas/models.MaintenanceRecurrenceType"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "start_date": {
            "format": "date-time",
            "type": "string"
          },
          "start_time": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceRecurrenceSeriesStatus"
          },
          "timezone": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          },
          "weekday": {
            "type": "integer"
          }
        },
        "required": [
          "title"
        ],
        "type": "object"
      },
      "handlers.MaintenanceRecurrenceSkipRequest": {
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.MaintenanceRecurrenceStatusResponse": {
        "properties": {
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.MaintenanceUpdateRequest": {
        "properties": {
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/handlers.AffectedItemRef"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "auto_transition_complete_message": {
            "type": "string"
          },
          "auto_transition_enabled": {
            "type": "boolean"
          },
          "auto_transition_start_message": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "impact": {
            "type": "string"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "recurrence_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "recurrence_rule": {
            "type": "string"
          },
          "recurrence_timezone": {
            "type": "string"
          },
          "scheduled_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "scheduled_start_time": {
            "format": "date-time",
            "type": "string"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceStatus"
          },
          "title": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "title"
        ],
        "type": "object"
      },
      "handlers.MoveItemRequest": {
        "properties": {
          "depth": {
            "type": "integer"
          },
          "parent_id": {
            "type": "integer"
          }
        },
        "required": [
          "depth"
        ],
        "type": "object"
      },
      "handlers.PresetMessageMutationRequest": {
        "properties": {
          "auto_post_on_maintenance_completion": {
            "type": "boolean"
          },
          "auto_post_on_maintenance_start": {
            "type": "boolean"
          },
          "body": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.SyntheticMonitorActionExecutionResponse": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/models.SyntheticMonitorAction"
          },
          "beat_group": {
            "$ref": "#/components/schemas/models.BeatGroup"
          },
          "incident": {
            "$ref": "#/components/schemas/models.Incident"
          },
          "monitor": {
            "$ref": "#/components/schemas/models.SyntheticMonitor"
          },
          "notification_event": {
            "type": "string"
          },
          "update": {
            "$ref": "#/components/schemas/models.IncidentUpdate"
          }
        },
        "type": "object"
      },
      "handlers.SyntheticMonitorActionRejectRequest": {
        "properties": {
          "decision_note": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.SyntheticMonitorTriggerRunResponse": {
        "properties": {
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.SyntheticMonitorUpsertRequest": {
        "properties": {
          "action_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "automation_pause_reason": {
            "type": "string"
          },
          "automation_paused": {
            "type": "boolean"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "component_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "component_refs": {
            "items": {
              "$ref": "#/components/schemas/models.HierarchyItemRef"
            },
            "type": "array"
          },
          "component_warnings": {
            "items": {
              "$ref": "#/components/schemas/models.SyntheticMonitorComponentWarning"
            },
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "current_incident_id": {
            "type": "integer"
          },
          "current_stage": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "has_component_warnings": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "interval_seconds": {
            "type": "integer"
          },
          "last_action_created_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evaluated_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evidence_summary": {
            "type": "string"
          },
          "last_state_changed_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_transition_from_stage": {
            "type": "string"
          },
          "last_transition_to_stage": {
            "type": "string"
          },
          "message_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "message_policy_translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          },
          "muted_until": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "public_metrics_component_id": {
            "type": "integer"
          },
          "public_metrics_enabled": {
            "type": "boolean"
          },
          "public_metrics_label": {
            "type": "string"
          },
          "public_metrics_max_range": {
            "type": "string"
          },
          "regions": {
            "$ref": "#/components/schemas/models.StringArray"
          },
          "status_page_id": {
            "type": "integer"
          },
          "target": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "threshold_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "timeout_ms": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.TerraformExportResponse": {
        "properties": {
          "download_url": {
            "type": "string"
          },
          "export_id": {
            "type": "string"
          },
          "manifest_url": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "unsupported": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.UpdateGroupMappingRequest": {
        "properties": {
          "role": {
            "type": "string"
          },
          "role_key": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.UpdateSettingsRequest": {
        "properties": {
          "allow_password_login_when_sso_enabled": {
            "type": "boolean"
          },
          "allow_password_reset_emails": {
            "type": "boolean"
          },
          "allow_reopening_closed_incidents": {
            "type": "boolean"
          },
          "body_font_preset": {
            "type": "string"
          },
          "body_font_url": {
            "type": "string"
          },
          "brand_color_dark": {
            "type": "string"
          },
          "brand_color_light": {
            "type": "string"
          },
          "custom_body_script_url": {
            "type": "string"
          },
          "custom_css": {
            "type": "string"
          },
          "custom_head_script_url": {
            "type": "string"
          },
          "datetime_locale": {
            "type": "string"
          },
          "default_component_item_id": {
            "type": "integer"
          },
          "document_locale": {
            "type": "string"
          },
          "email_delivery_mode": {
            "type": "string"
          },
          "email_from_address": {
            "type": "string"
          },
          "email_from_name": {
            "type": "string"
          },
          "email_reply_to_address": {
            "type": "string"
          },
          "email_smtp_host": {
            "type": "string"
          },
          "email_smtp_password": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "email_smtp_port": {
            "type": "string"
          },
          "email_smtp_username": {
            "type": "string"
          },
          "embed_badge_enabled": {
            "type": "boolean"
          },
          "embed_badge_label": {
            "type": "string"
          },
          "embed_launcher_button_color": {
            "type": "string"
          },
          "embed_launcher_button_color_dark": {
            "type": "string"
          },
          "embed_launcher_button_display": {
            "type": "string"
          },
          "embed_launcher_button_text_color": {
            "type": "string"
          },
          "embed_launcher_component_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "embed_launcher_draggable": {
            "type": "boolean"
          },
          "embed_launcher_enabled": {
            "type": "boolean"
          },
          "embed_launcher_label": {
            "type": "string"
          },
          "embed_launcher_maintenance_days": {
            "type": "integer"
          },
          "embed_launcher_position": {
            "type": "string"
          },
          "embed_launcher_show_incidents": {
            "type": "boolean"
          },
          "embed_launcher_show_informational": {
            "type": "boolean"
          },
          "embed_launcher_show_maintenances": {
            "type": "boolean"
          },
          "embed_widget_enabled": {
            "type": "boolean"
          },
          "embed_widget_eyebrow": {
            "type": "string"
          },
          "embed_widget_title": {
            "type": "string"
          },
          "enable_basic_view_on_homepage": {
            "type": "boolean"
          },
          "enable_tree_view_on_homepage": {
            "type": "boolean"
          },
          "favicon_url": {
            "type": "string"
          },
          "footer_navigation_links": {
            "$ref": "#/components/schemas/models.PublicNavigationLinks"
          },
          "footer_text": {
            "type": "string"
          },
          "header_action_style": {
            "type": "string"
          },
          "header_background_url": {
            "type": "string"
          },
          "header_identity_mode": {
            "type": "string"
          },
          "header_layout": {
            "type": "string"
          },
          "header_navigation_links": {
            "$ref": "#/components/schemas/models.PublicNavigationLinks"
          },
          "header_show_admin_login": {
            "type": "boolean"
          },
          "header_show_subscribe": {
            "type": "boolean"
          },
          "header_show_theme_toggle": {
            "type": "boolean"
          },
          "header_show_timezone": {
            "type": "boolean"
          },
          "heading_font_preset": {
            "type": "string"
          },
          "heading_font_url": {
            "type": "string"
          },
          "homepage_current_activity_row_display": {
            "type": "string"
          },
          "homepage_current_activity_view_mode": {
            "type": "string"
          },
          "homepage_default_collapsed_sections": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "homepage_default_incident_group_by": {
            "type": "string"
          },
          "homepage_hidden_sections": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "homepage_hierarchy_view_mode": {
            "type": "string"
          },
          "homepage_history_bars_days": {
            "type": "integer"
          },
          "homepage_section_order": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "homepage_upcoming_maintenance_days": {
            "type": "integer"
          },
          "incident_primary_message_mode": {
            "type": "string"
          },
          "logo_url": {
            "type": "string"
          },
          "logo_url_dark": {
            "type": "string"
          },
          "long_running_incident_email_recipients": {
            "type": "string"
          },
          "long_running_incident_no_update_hours": {
            "type": "integer"
          },
          "long_running_incident_notify_email": {
            "type": "boolean"
          },
          "long_running_incident_notify_slack": {
            "type": "boolean"
          },
          "long_running_incident_slack_channel_id": {
            "type": "string"
          },
          "long_running_maintenance_after_end_hours": {
            "type": "integer"
          },
          "long_running_maintenance_email_recipients": {
            "type": "string"
          },
          "long_running_maintenance_notify_email": {
            "type": "boolean"
          },
          "long_running_maintenance_notify_slack": {
            "type": "boolean"
          },
          "long_running_maintenance_slack_channel_id": {
            "type": "string"
          },
          "multilingual_enabled": {
            "type": "boolean"
          },
          "multilingual_public_ready": {
            "type": "boolean"
          },
          "notify_on_long_running_incidents": {
            "type": "boolean"
          },
          "notify_on_long_running_maintenances": {
            "type": "boolean"
          },
          "page_background_mode": {
            "type": "string"
          },
          "page_background_url": {
            "type": "string"
          },
          "page_layout": {
            "type": "string"
          },
          "public_theme_profile": {
            "$ref": "#/components/schemas/models.PublicThemeProfile"
          },
          "reliability_maintenance_counts_as_uptime": {
            "type": "boolean"
          },
          "reliability_policy_label": {
            "type": "string"
          },
          "reliability_policy_timezone": {
            "type": "string"
          },
          "reliability_target_uptime_percent": {
            "type": "number"
          },
          "require_incident_ack_before_updates": {
            "type": "boolean"
          },
          "require_resolution_reason": {
            "type": "boolean"
          },
          "show_component_by_default": {
            "type": "boolean"
          },
          "show_history_bars_on_homepage": {
            "type": "boolean"
          },
          "show_incident_affected_summary": {
            "type": "boolean"
          },
          "show_incident_impact_in_collapsed": {
            "type": "boolean"
          },
          "show_incident_last_updated_at": {
            "type": "boolean"
          },
          "show_incident_started_at": {
            "type": "boolean"
          },
          "show_incident_view_details_link": {
            "type": "boolean"
          },
          "show_site_title": {
            "type": "boolean"
          },
          "site_subtitle": {
            "type": "string"
          },
          "site_title": {
            "type": "string"
          },
          "sso_client_id": {
            "type": "string"
          },
          "sso_client_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "sso_enabled": {
            "type": "boolean"
          },
          "sso_issuer_url": {
            "type": "string"
          },
          "sso_redirect_uri": {
            "type": "string"
          },
          "supported_locales": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "synthetics_enabled": {
            "type": "boolean"
          },
          "synthetics_region": {
            "type": "string"
          },
          "terraform_lockdown_enabled": {
            "type": "boolean"
          },
          "terraform_locked_features": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.UserResponse": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "disabled_at": {
            "format": "date-time",
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "last_login_at": {
            "format": "date-time",
            "type": "string"
          },
          "organization_permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "organization_role": {
            "type": "string"
          },
          "platform_permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "role": {
            "type": "string"
          },
          "status_page_permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "status_page_role": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.VisualPreviewRequest": {
        "properties": {
          "settings": {
            "$ref": "#/components/schemas/models.PublicVisualSettingsSnapshot"
          }
        },
        "required": [
          "settings"
        ],
        "type": "object"
      },
      "handlers.adminAuthProviderResponse": {
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_secret_set": {
            "type": "boolean"
          },
          "email_claim": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "groups_claim": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "issuer_url": {
            "type": "string"
          },
          "protocol": {
            "type": "string"
          },
          "redirect_uri": {
            "type": "string"
          },
          "saml_acs_url": {
            "type": "string"
          },
          "saml_email_attribute": {
            "type": "string"
          },
          "saml_entity_id": {
            "type": "string"
          },
          "saml_groups_attribute": {
            "type": "string"
          },
          "saml_nameid_format": {
            "type": "string"
          },
          "saml_sp_entity_id": {
            "type": "string"
          },
          "saml_sso_url": {
            "type": "string"
          },
          "saml_x509_certificate": {
            "type": "string"
          },
          "saml_x509_certificate_set": {
            "type": "boolean"
          },
          "subject_claim": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.adminIncidentSummaryResponse": {
        "properties": {
          "affected_items_count": {
            "type": "integer"
          },
          "external_id": {
            "type": "string"
          },
          "has_post_incident_report": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "resolved_at": {
            "format": "date-time",
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.adminMaintenanceSummaryResponse": {
        "properties": {
          "affected_items_count": {
            "type": "integer"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "lifecycle_stage_name": {
            "type": "string"
          },
          "recurrence_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "recurrence_rule": {
            "type": "string"
          },
          "recurrence_timezone": {
            "type": "string"
          },
          "scheduled_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "scheduled_start_time": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceStatus"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.authzBindingResponse": {
        "properties": {
          "auth_type": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "role_key": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "user_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers.authzCatalogPermissionResponse": {
        "properties": {
          "default_roles": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": {
            "type": "string"
          },
          "entitlement": {
            "type": "string"
          },
          "exportable": {
            "type": "boolean"
          },
          "feature_group": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "terraformable": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "handlers.authzCatalogResponse": {
        "properties": {
          "organization_roles": {
            "items": {
              "$ref": "#/components/schemas/handlers.authzCatalogRoleResponse"
            },
            "type": "array"
          },
          "page_roles": {
            "items": {
              "$ref": "#/components/schemas/handlers.authzCatalogRoleResponse"
            },
            "type": "array"
          },
          "permissions": {
            "items": {
              "$ref": "#/components/schemas/handlers.authzCatalogPermissionResponse"
            },
            "type": "array"
          },
          "platform_roles": {
            "items": {
              "$ref": "#/components/schemas/handlers.authzCatalogRoleResponse"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.authzCatalogRoleResponse": {
        "properties": {
          "description": {
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "legacy_value": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scope": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.beatSummaryResponse": {
        "properties": {
          "affected_items_freetext": {
            "type": "string"
          },
          "automation_pause_reason": {
            "type": "string"
          },
          "automation_paused": {
            "type": "boolean"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "component_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "component_warnings": {
            "items": {
              "$ref": "#/components/schemas/models.SyntheticMonitorComponentWarning"
            },
            "type": "array"
          },
          "current_incident_id": {
            "type": "integer"
          },
          "current_stage": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "has_component_warnings": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "last_action_created_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evaluated_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evidence_summary": {
            "type": "string"
          },
          "last_state_changed_at": {
            "format": "date-time",
            "type": "string"
          },
          "muted_until": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.communicationConfigStatusResponse": {
        "properties": {
          "email": {
            "$ref": "#/components/schemas/handlers.emailConfigStatus"
          },
          "master_encryption_key_configured": {
            "type": "boolean"
          },
          "site_url_configured": {
            "type": "boolean"
          },
          "slack_oauth_redirect_configured": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "handlers.confirmStatusPagePublicSlugChangeRequest": {
        "properties": {
          "confirmation": {
            "type": "string"
          },
          "previous_public_slug": {
            "type": "string"
          },
          "public_slug": {
            "type": "string"
          },
          "reservation_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.createViewRequest": {
        "properties": {
          "access_message": {
            "type": "string"
          },
          "access_mode": {
            "type": "string"
          },
          "access_session_ttl_minutes": {
            "type": "integer"
          },
          "alias": {
            "type": "string"
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "allowed_emails": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "component_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "description": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "incident_card_settings_enabled": {
            "type": "boolean"
          },
          "incident_primary_message_mode": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "show_incident_affected_summary": {
            "type": "boolean"
          },
          "show_incident_impact_in_collapsed": {
            "type": "boolean"
          },
          "show_incident_last_updated_at": {
            "type": "boolean"
          },
          "show_incident_started_at": {
            "type": "boolean"
          },
          "show_incident_view_details_link": {
            "type": "boolean"
          }
        },
        "required": [
          "component_ids",
          "name"
        ],
        "type": "object"
      },
      "handlers.currentContextResponse": {
        "properties": {
          "canonical_host": {
            "type": "string"
          },
          "canonical_url": {
            "type": "string"
          },
          "organization_id": {
            "type": "integer"
          },
          "organization_routing_slug": {
            "type": "string"
          },
          "organization_slug": {
            "type": "string"
          },
          "page_id": {
            "type": "integer"
          },
          "page_slug": {
            "type": "string"
          },
          "public_slug": {
            "type": "string"
          },
          "public_url": {
            "type": "string"
          },
          "request_host": {
            "type": "string"
          },
          "routing_slug": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.emailConfigStatus": {
        "properties": {
          "active_source": {
            "type": "string"
          },
          "custom_smtp_allowed": {
            "type": "boolean"
          },
          "custom_smtp_configured": {
            "type": "boolean"
          },
          "dev_mode": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "fallback_available": {
            "type": "boolean"
          },
          "missing": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "mode": {
            "type": "string"
          },
          "platform_default_available": {
            "type": "boolean"
          },
          "smtp_from_configured": {
            "type": "boolean"
          },
          "smtp_host_configured": {
            "type": "boolean"
          },
          "smtp_password_configured": {
            "type": "boolean"
          },
          "smtp_port_configured": {
            "type": "boolean"
          },
          "smtp_user_configured": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "handlers.managedDomainResponse": {
        "properties": {
          "certificate_status": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "issue_message": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "resource_records": {
            "items": {
              "$ref": "#/components/schemas/service.ManagedDomainDNSRecord"
            },
            "type": "array"
          },
          "routing_status": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "verification_record": {
            "type": "string"
          },
          "verification_value": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.managerEmailRequest": {
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "handlers.postIncidentReportRequest": {
        "properties": {
          "annotations": {
            "$ref": "#/components/schemas/models.PostIncidentReportAnnotations"
          },
          "content_markdown": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedVariantMutation"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.preflightStatusPagePublicSlugChangeRequest": {
        "properties": {
          "public_slug": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.rssFeedSummaryResponse": {
        "properties": {
          "access_count": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "include_incidents": {
            "type": "boolean"
          },
          "include_maintenance": {
            "type": "boolean"
          },
          "include_status_changes": {
            "type": "boolean"
          },
          "language": {
            "type": "string"
          },
          "last_accessed_at": {
            "format": "date-time",
            "type": "string"
          },
          "max_age_days": {
            "type": "integer"
          },
          "max_items": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "short_code": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.statusPageAdminAuthProviderResponse": {
        "properties": {
          "effective_provider": {
            "$ref": "#/components/schemas/handlers.adminAuthProviderResponse"
          },
          "effective_source": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "organization_provider": {
            "$ref": "#/components/schemas/handlers.adminAuthProviderResponse"
          },
          "override_provider": {
            "$ref": "#/components/schemas/handlers.adminAuthProviderResponse"
          }
        },
        "type": "object"
      },
      "handlers.statusPageOnboardingResponse": {
        "properties": {
          "completed_at": {
            "type": "string"
          },
          "import_started_at": {
            "type": "string"
          },
          "onboarding_version": {
            "type": "integer"
          },
          "skipped_at": {
            "type": "string"
          },
          "started_at": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusPageOnboardingStatus"
          },
          "status_page_id": {
            "type": "integer"
          },
          "user_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers.statusPagePublicSlugChangePreflightResponse": {
        "properties": {
          "custom_domains": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "custom_domains_unchanged": {
            "type": "boolean"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "new_public_slug": {
            "type": "string"
          },
          "new_url": {
            "type": "string"
          },
          "old_public_slug": {
            "type": "string"
          },
          "old_url": {
            "type": "string"
          },
          "old_url_retained": {
            "type": "boolean"
          },
          "organization_id": {
            "type": "integer"
          },
          "organization_slug": {
            "type": "string"
          },
          "page_id": {
            "type": "integer"
          },
          "reservation_id": {
            "type": "string"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.subscriberBulkActionRequest": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/service.SubscriberBulkAction"
          },
          "ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.subscriberSummaryResponse": {
        "properties": {
          "email": {
            "type": "string"
          },
          "hygiene_reason": {
            "type": "string"
          },
          "hygiene_status": {
            "$ref": "#/components/schemas/models.SubscriberHygieneStatus"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "phone_e164": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.SubscriberStatus"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.updateAdminAuthProviderRequest": {
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "email_claim": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "groups_claim": {
            "type": "string"
          },
          "issuer_url": {
            "type": "string"
          },
          "protocol": {
            "type": "string"
          },
          "redirect_uri": {
            "type": "string"
          },
          "saml_acs_url": {
            "type": "string"
          },
          "saml_email_attribute": {
            "type": "string"
          },
          "saml_entity_id": {
            "type": "string"
          },
          "saml_groups_attribute": {
            "type": "string"
          },
          "saml_nameid_format": {
            "type": "string"
          },
          "saml_sp_entity_id": {
            "type": "string"
          },
          "saml_sso_url": {
            "type": "string"
          },
          "saml_x509_certificate": {
            "type": "string"
          },
          "subject_claim": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.updateStatusPageAdminDetailsRequest": {
        "properties": {
          "clear_viewer_password": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "public_domain": {
            "type": "string"
          },
          "public_slug": {
            "type": "string"
          },
          "viewer_auth_mode": {
            "type": "string"
          },
          "viewer_password": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "visibility": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.updateStatusPageOnboardingRequest": {
        "properties": {
          "onboarding_version": {
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusPageOnboardingStatus"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "handlers.updateViewRequest": {
        "properties": {
          "access_message": {
            "type": "string"
          },
          "access_mode": {
            "type": "string"
          },
          "access_session_ttl_minutes": {
            "type": "integer"
          },
          "alias": {
            "type": "string"
          },
          "allowed_domains": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "allowed_emails": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "component_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "description": {
            "type": "string"
          },
          "incident_card_settings_enabled": {
            "type": "boolean"
          },
          "incident_primary_message_mode": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "show_incident_affected_summary": {
            "type": "boolean"
          },
          "show_incident_impact_in_collapsed": {
            "type": "boolean"
          },
          "show_incident_last_updated_at": {
            "type": "boolean"
          },
          "show_incident_started_at": {
            "type": "boolean"
          },
          "show_incident_view_details_link": {
            "type": "boolean"
          }
        },
        "required": [
          "component_ids",
          "name"
        ],
        "type": "object"
      },
      "handlers.uploadBrandAssetResponse": {
        "properties": {
          "path": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.upsertAuthzBindingRequest": {
        "properties": {
          "role_key": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers.upsertAuthzRoleRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers.upsertStatusPageAdminAuthProviderRequest": {
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "email_claim": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "groups_claim": {
            "type": "string"
          },
          "issuer_url": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "protocol": {
            "type": "string"
          },
          "redirect_uri": {
            "type": "string"
          },
          "saml_acs_url": {
            "type": "string"
          },
          "saml_email_attribute": {
            "type": "string"
          },
          "saml_entity_id": {
            "type": "string"
          },
          "saml_groups_attribute": {
            "type": "string"
          },
          "saml_nameid_format": {
            "type": "string"
          },
          "saml_sp_entity_id": {
            "type": "string"
          },
          "saml_sso_url": {
            "type": "string"
          },
          "saml_x509_certificate": {
            "type": "string"
          },
          "subject_claim": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.APIToken": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "$ref": "#/components/schemas/models.User"
          },
          "created_by_user_id": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "last_used_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_used_ip": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "permission": {
            "$ref": "#/components/schemas/models.TokenPermission"
          },
          "revocation_reason": {
            "type": "string"
          },
          "revoked_at": {
            "format": "date-time",
            "type": "string"
          },
          "revoked_by": {
            "$ref": "#/components/schemas/models.User"
          },
          "revoked_by_user_id": {
            "type": "integer"
          },
          "role_key": {
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "status_page_id": {
            "type": "integer"
          },
          "terraform_managed": {
            "type": "boolean"
          },
          "token_prefix": {
            "type": "string"
          },
          "token_type": {
            "$ref": "#/components/schemas/models.TokenType"
          },
          "use_count": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.APITokenAuditLog": {
        "properties": {
          "action": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "details": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "id": {
            "type": "integer"
          },
          "ip_address": {
            "type": "string"
          },
          "performed_by": {
            "$ref": "#/components/schemas/models.User"
          },
          "performed_by_user_id": {
            "type": "integer"
          },
          "token_id": {
            "type": "integer"
          },
          "user_agent": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AlertDeliveryTestDestinationResult": {
        "properties": {
          "destination_id": {
            "type": "integer"
          },
          "destination_name": {
            "type": "string"
          },
          "destination_type": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "models.AlertDeliveryTestRequest": {
        "properties": {
          "stage": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AlertDeliveryTestResponse": {
        "properties": {
          "message": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/models.AlertDeliveryTestDestinationResult"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "models.AlertDestinationGroupInput": {
        "properties": {
          "description": {
            "type": "string"
          },
          "destination_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AlertDestinationGroupMemberResponse": {
        "properties": {
          "destination": {
            "$ref": "#/components/schemas/models.AlertDestinationResponse"
          },
          "destination_id": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.AlertDestinationGroupResponse": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "destinations": {
            "items": {
              "$ref": "#/components/schemas/models.AlertDestinationResponse"
            },
            "type": "array"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "member_count": {
            "type": "integer"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/models.AlertDestinationGroupMemberResponse"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AlertDestinationInput": {
        "properties": {
          "auth_header_name": {
            "type": "string"
          },
          "auth_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "auth_type": {
            "type": "string"
          },
          "auth_username": {
            "type": "string"
          },
          "clear_auth_secret": {
            "type": "boolean"
          },
          "clear_signing_secret": {
            "type": "boolean"
          },
          "config": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "destination_type": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "signing_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          }
        },
        "type": "object"
      },
      "models.AlertDestinationResponse": {
        "properties": {
          "auth_header_name": {
            "type": "string"
          },
          "auth_type": {
            "type": "string"
          },
          "auth_username": {
            "type": "string"
          },
          "config": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "destination_type": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "has_auth_secret": {
            "type": "boolean"
          },
          "has_signing_secret": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "last_delivered_at": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AuditIntegrityIssue": {
        "properties": {
          "code": {
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AuditIntegrityReport": {
        "properties": {
          "algorithm": {
            "type": "string"
          },
          "broken_links": {
            "type": "integer"
          },
          "checked_events": {
            "type": "integer"
          },
          "first_event_id": {
            "type": "integer"
          },
          "generated_at": {
            "format": "date-time",
            "type": "string"
          },
          "issues": {
            "items": {
              "$ref": "#/components/schemas/models.AuditIntegrityIssue"
            },
            "type": "array"
          },
          "last_event_id": {
            "type": "integer"
          },
          "mismatched_hashes": {
            "type": "integer"
          },
          "missing_hashes": {
            "type": "integer"
          },
          "scope": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "models.AuthzRoleBinding": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by_user_id": {
            "type": "integer"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "organization_id": {
            "type": "integer"
          },
          "role_key": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/models.AuthzRoleScope"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by_user_id": {
            "type": "integer"
          },
          "user_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.AuthzRoleDefinition": {
        "properties": {
          "built_in": {
            "type": "boolean"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by_user_id": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "key": {
            "type": "string"
          },
          "organization_id": {
            "type": "integer"
          },
          "permissions": {
            "$ref": "#/components/schemas/models.StringArray"
          },
          "scope": {
            "$ref": "#/components/schemas/models.AuthzRoleScope"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by_user_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.AuthzRoleScope": {
        "enum": [
          "organization",
          "page"
        ],
        "type": "string"
      },
      "models.BeatGroup": {
        "properties": {
          "action_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "automation_pause_reason": {
            "type": "string"
          },
          "automation_paused": {
            "type": "boolean"
          },
          "component_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "component_refs": {
            "items": {
              "$ref": "#/components/schemas/models.HierarchyItemRef"
            },
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "current_incident_id": {
            "type": "integer"
          },
          "current_stage": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "last_action_created_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evaluated_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_primary_beat_id": {
            "type": "integer"
          },
          "last_state_changed_at": {
            "format": "date-time",
            "type": "string"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/models.SyntheticMonitor"
            },
            "type": "array"
          },
          "message_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "message_policy_translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedContent"
            },
            "type": "array"
          },
          "message_source_mode": {
            "type": "string"
          },
          "muted_until": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.BeatInvestigationBeat": {
        "properties": {
          "current_incident_id": {
            "type": "integer"
          },
          "current_stage": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "last_evaluated_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evidence_summary": {
            "type": "string"
          },
          "last_state_changed_at": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "public_metrics_component_id": {
            "type": "integer"
          },
          "public_metrics_enabled": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.BeatInvestigationResponse": {
        "properties": {
          "beat": {
            "$ref": "#/components/schemas/models.BeatInvestigationBeat"
          },
          "caveats": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "confidence": {
            "type": "string"
          },
          "evidence_highlights": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "type": "string"
          },
          "key_findings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "possible_causes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "recommended_actions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "summary": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.CustomView": {
        "properties": {
          "access_count": {
            "type": "integer"
          },
          "access_message": {
            "type": "string"
          },
          "access_mode": {
            "type": "string"
          },
          "access_rules": {
            "items": {
              "$ref": "#/components/schemas/models.CustomViewAccessRule"
            },
            "type": "array"
          },
          "access_session_ttl_minutes": {
            "type": "integer"
          },
          "component_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "deleted_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "incident_primary_message_mode": {
            "type": "string"
          },
          "last_accessed_at": {
            "format": "date-time",
            "type": "string"
          },
          "managers": {
            "items": {
              "$ref": "#/components/schemas/models.ViewManager"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "short_code": {
            "type": "string"
          },
          "show_incident_affected_summary": {
            "type": "boolean"
          },
          "show_incident_impact_in_collapsed": {
            "type": "boolean"
          },
          "show_incident_last_updated_at": {
            "type": "boolean"
          },
          "show_incident_started_at": {
            "type": "boolean"
          },
          "show_incident_view_details_link": {
            "type": "boolean"
          },
          "slug": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.CustomViewAccessRule": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "custom_view_id": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "rule_type": {
            "$ref": "#/components/schemas/models.CustomViewAccessRuleType"
          },
          "rule_value": {
            "type": "string"
          },
          "view": {
            "$ref": "#/components/schemas/models.CustomView"
          }
        },
        "type": "object"
      },
      "models.CustomViewAccessRuleType": {
        "enum": [
          "email",
          "domain"
        ],
        "type": "string"
      },
      "models.ExternalBeatTrigger": {
        "properties": {
          "associations": {
            "items": {
              "$ref": "#/components/schemas/models.ExternalBeatTriggerAssociation"
            },
            "type": "array"
          },
          "conditions": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "draft": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "last_matched_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_previewed_at": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output_mapping": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "safety_settings": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "source": {
            "$ref": "#/components/schemas/models.ExternalEventSource"
          },
          "source_id": {
            "type": "integer"
          },
          "stage_mapping": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ExternalBeatTriggerAssociation": {
        "properties": {
          "beat_group": {
            "$ref": "#/components/schemas/models.BeatGroup"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "monitor": {
            "$ref": "#/components/schemas/models.SyntheticMonitor"
          },
          "monitor_id": {
            "type": "integer"
          },
          "role": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "trigger": {
            "$ref": "#/components/schemas/models.ExternalBeatTrigger"
          },
          "trigger_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ExternalEventEvaluation": {
        "properties": {
          "beat_group_id": {
            "type": "integer"
          },
          "condition_results": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_beat_action_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "event_id": {
            "type": "integer"
          },
          "explanation": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "id": {
            "type": "integer"
          },
          "matched": {
            "type": "boolean"
          },
          "monitor_id": {
            "type": "integer"
          },
          "outcome": {
            "type": "string"
          },
          "source_id": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          },
          "synthetic_monitor_event_id": {
            "type": "integer"
          },
          "target_stage": {
            "type": "string"
          },
          "trigger_association_id": {
            "type": "integer"
          },
          "trigger_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ExternalEventPayloadField": {
        "properties": {
          "path": {
            "type": "string"
          },
          "redacted": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "type"
        ],
        "type": "object"
      },
      "models.ExternalEventPayloadPreview": {
        "properties": {
          "event_id": {
            "type": "integer"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/models.ExternalEventPayloadField"
            },
            "type": "array"
          },
          "payload": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "redacted": {
            "type": "boolean"
          },
          "source_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.ExternalEventSource": {
        "properties": {
          "allowlist": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "last_received_at": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "provider_type": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "token_prefix": {
            "type": "string"
          },
          "token_rotated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ExternalWebhookDestinationInput": {
        "properties": {
          "auth_header_name": {
            "type": "string"
          },
          "auth_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "auth_type": {
            "type": "string"
          },
          "auth_username": {
            "type": "string"
          },
          "clear_auth_secret": {
            "type": "boolean"
          },
          "clear_signing_secret": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "signing_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ExternalWebhookDestinationResponse": {
        "properties": {
          "auth_header_name": {
            "type": "string"
          },
          "auth_type": {
            "type": "string"
          },
          "auth_username": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "has_auth_secret": {
            "type": "boolean"
          },
          "has_signing_secret": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "last_delivered_at": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.HierarchyItem": {
        "properties": {
          "abbreviated_name": {
            "type": "string"
          },
          "children": {
            "items": {
              "$ref": "#/components/schemas/models.HierarchyItem"
            },
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "depth": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "external_id": {
            "type": "string"
          },
          "hierarchy_path": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "incidents": {
            "items": {
              "$ref": "#/components/schemas/models.Incident"
            },
            "type": "array"
          },
          "maintenances": {
            "items": {
              "$ref": "#/components/schemas/models.Maintenance"
            },
            "type": "array"
          },
          "metadata": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "name": {
            "type": "string"
          },
          "parent": {
            "$ref": "#/components/schemas/models.HierarchyItem"
          },
          "parent_id": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.HierarchyItemRef": {
        "properties": {
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.HierarchyLevel": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "depth": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "plural_name": {
            "type": "string"
          },
          "singular_name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.Incident": {
        "properties": {
          "acknowledged_at": {
            "format": "date-time",
            "type": "string"
          },
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/models.HierarchyItem"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "has_post_incident_report": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "initial_status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/models.IncidentLifecycleStage"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "post_incident_report": {
            "$ref": "#/components/schemas/models.PostIncidentReport"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "resolved_at": {
            "format": "date-time",
            "type": "string"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "status_page_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/models.IncidentUpdate"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.IncidentLifecycleStage": {
        "properties": {
          "color": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.IncidentUpdate": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "incident_id": {
            "type": "integer"
          },
          "is_resolution": {
            "type": "boolean"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/models.IncidentLifecycleStage"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "previous_status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.IntArray": {
        "items": {
          "type": "integer"
        },
        "type": "array"
      },
      "models.JSONMap": {
        "additionalProperties": true,
        "description": "Arbitrary JSON object keyed by string. Values may be any valid JSON value.",
        "type": "object"
      },
      "models.JSONValue": {
        "description": "Any valid JSON scalar, array, or object value.",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "items": {
              "$ref": "#/components/schemas/models.JSONValue"
            },
            "type": "array"
          },
          {
            "$ref": "#/components/schemas/models.JSONMap"
          }
        ]
      },
      "models.LocalizedContent": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "fields": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "id": {
            "type": "integer"
          },
          "locale": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "published_at": {
            "format": "date-time",
            "type": "string"
          },
          "published_by_user_id": {
            "type": "integer"
          },
          "resource_id": {
            "type": "integer"
          },
          "resource_type": {
            "type": "string"
          },
          "reviewed_at": {
            "format": "date-time",
            "type": "string"
          },
          "reviewed_by_user_id": {
            "type": "integer"
          },
          "source_version": {
            "type": "integer"
          },
          "stale": {
            "type": "boolean"
          },
          "state": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.LocalizedVariantMutation": {
        "properties": {
          "locale": {
            "type": "string"
          },
          "source_version": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "values": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "locale",
          "state",
          "values"
        ],
        "type": "object"
      },
      "models.Maintenance": {
        "properties": {
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/models.HierarchyItem"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "auto_transition_complete_message": {
            "type": "string"
          },
          "auto_transition_enabled": {
            "type": "boolean"
          },
          "auto_transition_start_message": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "recurrence_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "recurrence_occurrence_key": {
            "type": "string"
          },
          "recurrence_rule": {
            "type": "string"
          },
          "recurrence_series_id": {
            "type": "integer"
          },
          "recurrence_template_version": {
            "type": "integer"
          },
          "recurrence_timezone": {
            "type": "string"
          },
          "scheduled_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "scheduled_start_time": {
            "format": "date-time",
            "type": "string"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceStatus"
          },
          "status_page_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/models.MaintenanceUpdate"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.MaintenanceLifecycleStage": {
        "properties": {
          "color": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.MaintenanceRecurrenceException": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/models.MaintenanceRecurrenceExceptionAction"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "maintenance": {
            "$ref": "#/components/schemas/models.Maintenance"
          },
          "maintenance_id": {
            "type": "integer"
          },
          "occurrence_key": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "series": {
            "$ref": "#/components/schemas/models.MaintenanceRecurrenceSeries"
          },
          "series_id": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.MaintenanceRecurrenceExceptionAction": {
        "enum": [
          "skip",
          "override"
        ],
        "type": "string"
      },
      "models.MaintenanceRecurrenceSeries": {
        "properties": {
          "affected_items": {
            "items": {
              "$ref": "#/components/schemas/models.HierarchyItem"
            },
            "type": "array"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "auto_transition_complete_message": {
            "type": "string"
          },
          "auto_transition_enabled": {
            "type": "boolean"
          },
          "auto_transition_start_message": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "duration_minutes": {
            "type": "integer"
          },
          "ends_on": {
            "format": "date-time",
            "type": "string"
          },
          "generate_months": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "interval_weeks": {
            "type": "integer"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "max_occurrences": {
            "type": "integer"
          },
          "ordinal_week": {
            "type": "integer"
          },
          "recurrence_type": {
            "$ref": "#/components/schemas/models.MaintenanceRecurrenceType"
          },
          "slack_channel_id": {
            "type": "string"
          },
          "start_date": {
            "format": "date-time",
            "type": "string"
          },
          "start_time": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceRecurrenceSeriesStatus"
          },
          "status_page_id": {
            "type": "integer"
          },
          "timezone": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "type": "integer"
          },
          "weekday": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.MaintenanceRecurrenceSeriesStatus": {
        "enum": [
          "active",
          "paused",
          "ended"
        ],
        "type": "string"
      },
      "models.MaintenanceRecurrenceType": {
        "enum": [
          "weekly",
          "monthly_ordinal"
        ],
        "type": "string"
      },
      "models.MaintenanceStatus": {
        "enum": [
          "scheduled",
          "in_progress",
          "completed",
          "cancelled"
        ],
        "type": "string"
      },
      "models.MaintenanceUpdate": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "lifecycle_stage": {
            "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
          },
          "lifecycle_stage_id": {
            "type": "integer"
          },
          "maintenance_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.MaintenanceStatus"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.NotificationChannel": {
        "enum": [
          "email",
          "sms",
          "webhook",
          "rss"
        ],
        "type": "string"
      },
      "models.NotificationSubscription": {
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/models.NotificationChannel"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "destination": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "incident_events": {
            "$ref": "#/components/schemas/models.StringArray"
          },
          "maintenance_events": {
            "$ref": "#/components/schemas/models.StringArray"
          },
          "min_severity": {
            "type": "string"
          },
          "scope_ref": {
            "type": "string"
          },
          "scope_type": {
            "type": "string"
          },
          "subscriber": {
            "$ref": "#/components/schemas/models.Subscriber"
          },
          "subscriber_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.OIDCGroupMapping": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "group_name": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "role": {
            "type": "string"
          },
          "role_key": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.PostIncidentReport": {
        "properties": {
          "annotations": {
            "$ref": "#/components/schemas/models.PostIncidentReportAnnotations"
          },
          "content_markdown": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by_email": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "incident_id": {
            "type": "integer"
          },
          "published_at": {
            "format": "date-time",
            "type": "string"
          },
          "published_by_email": {
            "type": "string"
          },
          "rendered_content_html": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/models.PostIncidentReportState"
          },
          "status_page_id": {
            "type": "integer"
          },
          "summary": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by_email": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.PostIncidentReportAnnotation": {
        "properties": {
          "body": {
            "type": "string"
          },
          "end_offset": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "selected_text": {
            "type": "string"
          },
          "start_offset": {
            "type": "integer"
          },
          "suggested_text": {
            "type": "string"
          },
          "target": {
            "$ref": "#/components/schemas/models.PostIncidentReportAnnotationTarget"
          },
          "type": {
            "$ref": "#/components/schemas/models.PostIncidentReportAnnotationType"
          }
        },
        "type": "object"
      },
      "models.PostIncidentReportAnnotationTarget": {
        "enum": [
          "summary",
          "content_markdown"
        ],
        "type": "string"
      },
      "models.PostIncidentReportAnnotationType": {
        "enum": [
          "comment",
          "suggestion"
        ],
        "type": "string"
      },
      "models.PostIncidentReportAnnotations": {
        "items": {
          "$ref": "#/components/schemas/models.PostIncidentReportAnnotation"
        },
        "type": "array"
      },
      "models.PostIncidentReportState": {
        "enum": [
          "draft",
          "published"
        ],
        "type": "string"
      },
      "models.PresetMessage": {
        "properties": {
          "auto_post_on_maintenance_completion": {
            "type": "boolean"
          },
          "auto_post_on_maintenance_start": {
            "type": "boolean"
          },
          "body": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedContent"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.PublicNavigationLink": {
        "properties": {
          "label": {
            "type": "string"
          },
          "open_in_new_tab": {
            "type": "boolean"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.PublicNavigationLinks": {
        "items": {
          "$ref": "#/components/schemas/models.PublicNavigationLink"
        },
        "type": "array"
      },
      "models.PublicThemeModeColors": {
        "properties": {
          "canvas": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "surface": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.PublicThemeProfile": {
        "properties": {
          "character": {
            "type": "string"
          },
          "content_width": {
            "type": "string"
          },
          "corners": {
            "type": "string"
          },
          "dark": {
            "$ref": "#/components/schemas/models.PublicThemeModeColors"
          },
          "density": {
            "type": "string"
          },
          "depth": {
            "type": "string"
          },
          "header_scrim": {
            "type": "string"
          },
          "header_tone": {
            "type": "string"
          },
          "light": {
            "$ref": "#/components/schemas/models.PublicThemeModeColors"
          },
          "preset": {
            "type": "string"
          },
          "section_tone": {
            "type": "string"
          },
          "status_style": {
            "type": "string"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.PublicVisualSettingsSnapshot": {
        "properties": {
          "body_font_preset": {
            "type": "string"
          },
          "body_font_url": {
            "type": "string"
          },
          "brand_color_dark": {
            "type": "string"
          },
          "brand_color_light": {
            "type": "string"
          },
          "custom_css": {
            "type": "string"
          },
          "favicon_url": {
            "type": "string"
          },
          "footer_navigation_links": {
            "$ref": "#/components/schemas/models.PublicNavigationLinks"
          },
          "footer_text": {
            "type": "string"
          },
          "header_action_style": {
            "type": "string"
          },
          "header_background_url": {
            "type": "string"
          },
          "header_identity_mode": {
            "type": "string"
          },
          "header_layout": {
            "type": "string"
          },
          "header_navigation_links": {
            "$ref": "#/components/schemas/models.PublicNavigationLinks"
          },
          "header_show_admin_login": {
            "type": "boolean"
          },
          "header_show_subscribe": {
            "type": "boolean"
          },
          "header_show_theme_toggle": {
            "type": "boolean"
          },
          "header_show_timezone": {
            "type": "boolean"
          },
          "heading_font_preset": {
            "type": "string"
          },
          "heading_font_url": {
            "type": "string"
          },
          "logo_url": {
            "type": "string"
          },
          "logo_url_dark": {
            "type": "string"
          },
          "page_background_mode": {
            "type": "string"
          },
          "page_background_url": {
            "type": "string"
          },
          "page_layout": {
            "type": "string"
          },
          "public_theme_profile": {
            "$ref": "#/components/schemas/models.PublicThemeProfile"
          },
          "show_site_title": {
            "type": "boolean"
          },
          "site_subtitle": {
            "type": "string"
          },
          "site_title": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SiteSettings": {
        "properties": {
          "allow_password_login_when_sso_enabled": {
            "type": "boolean"
          },
          "allow_password_reset_emails": {
            "type": "boolean"
          },
          "allow_reopening_closed_incidents": {
            "type": "boolean"
          },
          "body_font_preset": {
            "type": "string"
          },
          "body_font_url": {
            "type": "string"
          },
          "brand_color_dark": {
            "type": "string"
          },
          "brand_color_light": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "custom_body_script_url": {
            "type": "string"
          },
          "custom_css": {
            "type": "string"
          },
          "custom_head_script_url": {
            "type": "string"
          },
          "datetime_locale": {
            "type": "string"
          },
          "default_component_item_id": {
            "type": "integer"
          },
          "document_locale": {
            "type": "string"
          },
          "email_delivery_mode": {
            "type": "string"
          },
          "email_from_address": {
            "type": "string"
          },
          "email_from_name": {
            "type": "string"
          },
          "email_reply_to_address": {
            "type": "string"
          },
          "email_smtp_host": {
            "type": "string"
          },
          "email_smtp_password_configured": {
            "type": "boolean"
          },
          "email_smtp_port": {
            "type": "string"
          },
          "email_smtp_username": {
            "type": "string"
          },
          "embed_badge_enabled": {
            "type": "boolean"
          },
          "embed_badge_label": {
            "type": "string"
          },
          "embed_launcher_button_color": {
            "type": "string"
          },
          "embed_launcher_button_color_dark": {
            "type": "string"
          },
          "embed_launcher_button_display": {
            "type": "string"
          },
          "embed_launcher_button_text_color": {
            "type": "string"
          },
          "embed_launcher_component_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "embed_launcher_draggable": {
            "type": "boolean"
          },
          "embed_launcher_enabled": {
            "type": "boolean"
          },
          "embed_launcher_label": {
            "type": "string"
          },
          "embed_launcher_maintenance_days": {
            "type": "integer"
          },
          "embed_launcher_position": {
            "type": "string"
          },
          "embed_launcher_show_incidents": {
            "type": "boolean"
          },
          "embed_launcher_show_informational": {
            "type": "boolean"
          },
          "embed_launcher_show_maintenances": {
            "type": "boolean"
          },
          "embed_widget_enabled": {
            "type": "boolean"
          },
          "embed_widget_eyebrow": {
            "type": "string"
          },
          "embed_widget_title": {
            "type": "string"
          },
          "enable_basic_view_on_homepage": {
            "type": "boolean"
          },
          "enable_tree_view_on_homepage": {
            "type": "boolean"
          },
          "favicon_url": {
            "type": "string"
          },
          "footer_navigation_links": {
            "$ref": "#/components/schemas/models.PublicNavigationLinks"
          },
          "footer_text": {
            "type": "string"
          },
          "header_action_style": {
            "type": "string"
          },
          "header_background_url": {
            "type": "string"
          },
          "header_identity_mode": {
            "type": "string"
          },
          "header_layout": {
            "type": "string"
          },
          "header_navigation_links": {
            "$ref": "#/components/schemas/models.PublicNavigationLinks"
          },
          "header_show_admin_login": {
            "type": "boolean"
          },
          "header_show_subscribe": {
            "type": "boolean"
          },
          "header_show_theme_toggle": {
            "type": "boolean"
          },
          "header_show_timezone": {
            "type": "boolean"
          },
          "heading_font_preset": {
            "type": "string"
          },
          "heading_font_url": {
            "type": "string"
          },
          "homepage_current_activity_row_display": {
            "type": "string"
          },
          "homepage_current_activity_view_mode": {
            "type": "string"
          },
          "homepage_default_collapsed_sections": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "homepage_default_incident_group_by": {
            "type": "string"
          },
          "homepage_hidden_sections": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "homepage_hierarchy_view_mode": {
            "type": "string"
          },
          "homepage_history_bars_days": {
            "type": "integer"
          },
          "homepage_section_order": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "homepage_upcoming_maintenance_days": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "incident_primary_message_mode": {
            "type": "string"
          },
          "logo_url": {
            "type": "string"
          },
          "logo_url_dark": {
            "type": "string"
          },
          "long_running_incident_email_recipients": {
            "type": "string"
          },
          "long_running_incident_no_update_hours": {
            "type": "integer"
          },
          "long_running_incident_notify_email": {
            "type": "boolean"
          },
          "long_running_incident_notify_slack": {
            "type": "boolean"
          },
          "long_running_incident_slack_channel_id": {
            "type": "string"
          },
          "long_running_maintenance_after_end_hours": {
            "type": "integer"
          },
          "long_running_maintenance_email_recipients": {
            "type": "string"
          },
          "long_running_maintenance_notify_email": {
            "type": "boolean"
          },
          "long_running_maintenance_notify_slack": {
            "type": "boolean"
          },
          "long_running_maintenance_slack_channel_id": {
            "type": "string"
          },
          "multilingual_enabled": {
            "type": "boolean"
          },
          "multilingual_public_ready": {
            "type": "boolean"
          },
          "notify_on_long_running_incidents": {
            "type": "boolean"
          },
          "notify_on_long_running_maintenances": {
            "type": "boolean"
          },
          "page_background_mode": {
            "type": "string"
          },
          "page_background_url": {
            "type": "string"
          },
          "page_layout": {
            "type": "string"
          },
          "public_theme_profile": {
            "$ref": "#/components/schemas/models.PublicThemeProfile"
          },
          "reliability_maintenance_counts_as_uptime": {
            "type": "boolean"
          },
          "reliability_policy_label": {
            "type": "string"
          },
          "reliability_policy_timezone": {
            "type": "string"
          },
          "reliability_target_uptime_percent": {
            "type": "number"
          },
          "require_incident_ack_before_updates": {
            "type": "boolean"
          },
          "require_resolution_reason": {
            "type": "boolean"
          },
          "show_component_by_default": {
            "type": "boolean"
          },
          "show_history_bars_on_homepage": {
            "type": "boolean"
          },
          "show_incident_affected_summary": {
            "type": "boolean"
          },
          "show_incident_impact_in_collapsed": {
            "type": "boolean"
          },
          "show_incident_last_updated_at": {
            "type": "boolean"
          },
          "show_incident_started_at": {
            "type": "boolean"
          },
          "show_incident_view_details_link": {
            "type": "boolean"
          },
          "show_site_title": {
            "type": "boolean"
          },
          "site_subtitle": {
            "type": "string"
          },
          "site_title": {
            "type": "string"
          },
          "sso_client_id": {
            "type": "string"
          },
          "sso_enabled": {
            "type": "boolean"
          },
          "sso_issuer_url": {
            "type": "string"
          },
          "sso_redirect_uri": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "supported_locales": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "synthetics_enabled": {
            "type": "boolean"
          },
          "synthetics_region": {
            "type": "string"
          },
          "terraform_lockdown_enabled": {
            "type": "boolean"
          },
          "terraform_locked_features": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SiteSettingsCustomCSSRevision": {
        "properties": {
          "action": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "custom_css": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.SiteSettingsVisualRevision": {
        "properties": {
          "action": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "snapshot": {
            "$ref": "#/components/schemas/models.PublicVisualSettingsSnapshot"
          },
          "status_page_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.SlackAppPublicSettings": {
        "properties": {
          "announce_channel_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "bot_user_id": {
            "type": "string"
          },
          "channel_link_mode": {
            "type": "string"
          },
          "channel_overrides_enabled": {
            "type": "boolean"
          },
          "client_id": {
            "type": "string"
          },
          "configured": {
            "type": "boolean"
          },
          "edit_notification_mode": {
            "type": "string"
          },
          "global_announce_enabled": {
            "type": "boolean"
          },
          "global_reminders_enabled": {
            "type": "boolean"
          },
          "granted_scopes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "has_client_secret": {
            "type": "boolean"
          },
          "has_signing_secret": {
            "type": "boolean"
          },
          "incident_creation_channel_allowlist": {
            "type": "string"
          },
          "maintenance_reminder_overrun_interval_minutes": {
            "type": "integer"
          },
          "maintenance_reminder_pre_end_minutes": {
            "type": "integer"
          },
          "maintenance_reminder_pre_start_intervals": {
            "type": "string"
          },
          "notify_on_create": {
            "type": "boolean"
          },
          "notify_on_maintenance_cancel": {
            "type": "boolean"
          },
          "notify_on_maintenance_complete": {
            "type": "boolean"
          },
          "notify_on_maintenance_create": {
            "type": "boolean"
          },
          "notify_on_maintenance_update": {
            "type": "boolean"
          },
          "notify_on_resolve": {
            "type": "boolean"
          },
          "notify_on_update": {
            "type": "boolean"
          },
          "redirect_uri": {
            "type": "string"
          },
          "reminder_interval_locked": {
            "type": "boolean"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "synthetic_alert_channel_id": {
            "type": "string"
          },
          "synthetic_review_channel_id": {
            "type": "string"
          },
          "team_id": {
            "type": "string"
          },
          "team_name": {
            "type": "string"
          },
          "thread_only_incident_updates": {
            "type": "boolean"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "workflow_confirmation_mode": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SlackAppUpdateRequest": {
        "properties": {
          "announce_channel_id": {
            "type": "string"
          },
          "channel_link_mode": {
            "type": "string"
          },
          "channel_overrides_enabled": {
            "type": "boolean"
          },
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "edit_notification_mode": {
            "type": "string"
          },
          "global_announce_enabled": {
            "type": "boolean"
          },
          "global_reminders_enabled": {
            "type": "boolean"
          },
          "incident_creation_channel_allowlist": {
            "type": "string"
          },
          "maintenance_reminder_overrun_interval_minutes": {
            "type": "integer"
          },
          "maintenance_reminder_pre_end_minutes": {
            "type": "integer"
          },
          "maintenance_reminder_pre_start_intervals": {
            "type": "string"
          },
          "notify_on_create": {
            "type": "boolean"
          },
          "notify_on_maintenance_cancel": {
            "type": "boolean"
          },
          "notify_on_maintenance_complete": {
            "type": "boolean"
          },
          "notify_on_maintenance_create": {
            "type": "boolean"
          },
          "notify_on_maintenance_update": {
            "type": "boolean"
          },
          "notify_on_resolve": {
            "type": "boolean"
          },
          "notify_on_update": {
            "type": "boolean"
          },
          "redirect_uri": {
            "type": "string"
          },
          "reminder_interval_locked": {
            "type": "boolean"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "signing_secret": {
            "format": "password",
            "type": "string",
            "writeOnly": true
          },
          "synthetic_alert_channel_id": {
            "type": "string"
          },
          "synthetic_review_channel_id": {
            "type": "string"
          },
          "thread_only_incident_updates": {
            "type": "boolean"
          },
          "workflow_confirmation_mode": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SlackChannelReminderSettingsResponse": {
        "properties": {
          "channel_id": {
            "type": "string"
          },
          "reminder_interval_locked": {
            "type": "boolean"
          },
          "reminder_interval_minutes": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SlackWorkspaceChannel": {
        "properties": {
          "id": {
            "type": "string"
          },
          "is_private": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SlackWorkspaceChannelListResponse": {
        "properties": {
          "channels": {
            "items": {
              "$ref": "#/components/schemas/models.SlackWorkspaceChannel"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "models.StatusDefinition": {
        "properties": {
          "archived": {
            "type": "boolean"
          },
          "color": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "icon": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "is_operational": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.StatusEvent": {
        "properties": {
          "correction_note": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "type": "integer"
          },
          "event_time": {
            "format": "date-time",
            "type": "string"
          },
          "hierarchy_item": {
            "$ref": "#/components/schemas/models.HierarchyItem"
          },
          "hierarchy_item_id": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "incident": {
            "$ref": "#/components/schemas/models.Incident"
          },
          "incident_id": {
            "type": "integer"
          },
          "maintenance": {
            "$ref": "#/components/schemas/models.Maintenance"
          },
          "maintenance_id": {
            "type": "integer"
          },
          "new_status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "previous_status": {
            "$ref": "#/components/schemas/models.StatusType"
          },
          "reason": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageActivityAnalytics": {
        "properties": {
          "active_incidents": {
            "type": "integer"
          },
          "active_maintenances": {
            "type": "integer"
          },
          "daily": {
            "items": {
              "$ref": "#/components/schemas/models.StatusPageActivityDailyBucket"
            },
            "type": "array"
          },
          "incidents_created": {
            "type": "integer"
          },
          "incidents_resolved": {
            "type": "integer"
          },
          "maintenances_completed": {
            "type": "integer"
          },
          "maintenances_created": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageActivityDailyBucket": {
        "properties": {
          "date": {
            "type": "string"
          },
          "incidents_created": {
            "type": "integer"
          },
          "incidents_resolved": {
            "type": "integer"
          },
          "maintenances_completed": {
            "type": "integer"
          },
          "maintenances_created": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageAnalyticsSummary": {
        "properties": {
          "activity": {
            "$ref": "#/components/schemas/models.StatusPageActivityAnalytics"
          },
          "delivery": {
            "$ref": "#/components/schemas/models.StatusPageDeliveryAnalytics"
          },
          "generated_at": {
            "format": "date-time",
            "type": "string"
          },
          "reliability": {
            "$ref": "#/components/schemas/models.StatusPageReliabilityMetrics"
          },
          "subscribers": {
            "$ref": "#/components/schemas/models.StatusPageSubscriberAnalytics"
          },
          "traffic": {
            "$ref": "#/components/schemas/models.StatusPageTrafficAnalytics"
          },
          "window_days": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageDeliveryAnalytics": {
        "properties": {
          "channels": {
            "items": {
              "$ref": "#/components/schemas/models.StatusPageDeliveryChannelBucket"
            },
            "type": "array"
          },
          "daily": {
            "items": {
              "$ref": "#/components/schemas/models.StatusPageDeliveryDailyBucket"
            },
            "type": "array"
          },
          "delivery_attempts": {
            "type": "integer"
          },
          "failed_attempts": {
            "type": "integer"
          },
          "notification_events": {
            "type": "integer"
          },
          "retrying_attempts": {
            "type": "integer"
          },
          "success_rate_percent": {
            "type": "number"
          },
          "successful_attempts": {
            "type": "integer"
          },
          "suppressed_attempts": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageDeliveryChannelBucket": {
        "properties": {
          "channel": {
            "type": "string"
          },
          "delivery_attempts": {
            "type": "integer"
          },
          "failed_attempts": {
            "type": "integer"
          },
          "retrying_attempts": {
            "type": "integer"
          },
          "successful_attempts": {
            "type": "integer"
          },
          "suppressed_attempts": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageDeliveryDailyBucket": {
        "properties": {
          "date": {
            "type": "string"
          },
          "delivery_attempts": {
            "type": "integer"
          },
          "failed_attempts": {
            "type": "integer"
          },
          "retrying_attempts": {
            "type": "integer"
          },
          "successful_attempts": {
            "type": "integer"
          },
          "suppressed_attempts": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageOnboardingStatus": {
        "enum": [
          "pending",
          "started",
          "import_started",
          "skipped",
          "completed"
        ],
        "type": "string"
      },
      "models.StatusPageReliabilityComponent": {
        "properties": {
          "current_status": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "incident_count": {
            "type": "integer"
          },
          "incident_minutes": {
            "type": "number"
          },
          "maintenance_count": {
            "type": "integer"
          },
          "maintenance_minutes": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "uptime_percent": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "models.StatusPageReliabilityDailyBucket": {
        "properties": {
          "date": {
            "type": "string"
          },
          "incident_minutes": {
            "type": "number"
          },
          "maintenance_minutes": {
            "type": "number"
          },
          "uptime_percent": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "models.StatusPageReliabilityMetrics": {
        "properties": {
          "average_acknowledgement_minutes": {
            "type": "number"
          },
          "average_incident_duration_minutes": {
            "type": "number"
          },
          "components": {
            "items": {
              "$ref": "#/components/schemas/models.StatusPageReliabilityComponent"
            },
            "type": "array"
          },
          "daily": {
            "items": {
              "$ref": "#/components/schemas/models.StatusPageReliabilityDailyBucket"
            },
            "type": "array"
          },
          "incident_minutes": {
            "type": "number"
          },
          "longest_incident_duration_minutes": {
            "type": "number"
          },
          "maintenance_completion_rate_percent": {
            "type": "number"
          },
          "maintenance_minutes": {
            "type": "number"
          },
          "maintenances_cancelled": {
            "type": "integer"
          },
          "maintenances_completed": {
            "type": "integer"
          },
          "maintenances_scheduled": {
            "type": "integer"
          },
          "meets_target": {
            "type": "boolean"
          },
          "policy": {
            "$ref": "#/components/schemas/models.StatusPageReliabilityPolicy"
          },
          "tracked_components": {
            "type": "integer"
          },
          "uptime_percent": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "models.StatusPageReliabilityPolicy": {
        "properties": {
          "downtime_status_keys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "label": {
            "type": "string"
          },
          "maintenance_counts_as_uptime": {
            "type": "boolean"
          },
          "operational_status_keys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "target_uptime_percent": {
            "type": "number"
          },
          "timezone": {
            "type": "string"
          },
          "uptime_calculation": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.StatusPageSubscriberAnalytics": {
        "properties": {
          "daily": {
            "items": {
              "$ref": "#/components/schemas/models.StatusPageSubscriberDailyBucket"
            },
            "type": "array"
          },
          "deliverable_subscribers": {
            "type": "integer"
          },
          "net_growth": {
            "type": "integer"
          },
          "new_subscribers": {
            "type": "integer"
          },
          "non_deliverable_subscribers": {
            "type": "integer"
          },
          "total_subscribers": {
            "type": "integer"
          },
          "unsubscribed_subscribers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageSubscriberDailyBucket": {
        "properties": {
          "date": {
            "type": "string"
          },
          "new_subscribers": {
            "type": "integer"
          },
          "unsubscribed_subscribers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageTrafficAnalytics": {
        "properties": {
          "badge_impressions": {
            "type": "integer"
          },
          "daily": {
            "items": {
              "$ref": "#/components/schemas/models.StatusPageTrafficDailyBucket"
            },
            "type": "array"
          },
          "page_views": {
            "type": "integer"
          },
          "unique_visitors": {
            "type": "integer"
          },
          "widget_impressions": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusPageTrafficDailyBucket": {
        "properties": {
          "badge_impressions": {
            "type": "integer"
          },
          "date": {
            "type": "string"
          },
          "page_views": {
            "type": "integer"
          },
          "unique_visitors": {
            "type": "integer"
          },
          "widget_impressions": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.StatusType": {
        "enum": [
          "operational",
          "degraded",
          "partial",
          "outage",
          "maintenance"
        ],
        "type": "string"
      },
      "models.StringArray": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "models.Subscriber": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "deleted_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "hygiene_reason": {
            "type": "string"
          },
          "hygiene_status": {
            "$ref": "#/components/schemas/models.SubscriberHygieneStatus"
          },
          "hygiene_updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "managers": {
            "items": {
              "$ref": "#/components/schemas/models.SubscriberManager"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "phone_e164": {
            "type": "string"
          },
          "preferred_locale": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.SubscriberStatus"
          },
          "status_page_id": {
            "type": "integer"
          },
          "subscriptions": {
            "items": {
              "$ref": "#/components/schemas/models.NotificationSubscription"
            },
            "type": "array"
          },
          "timezone": {
            "type": "string"
          },
          "unsubscribed_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "verified_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SubscriberHygieneStatus": {
        "enum": [
          "deliverable",
          "unsubscribed",
          "manual_suppressed",
          "bounced",
          "complained",
          "quarantined"
        ],
        "type": "string"
      },
      "models.SubscriberManager": {
        "properties": {
          "added_by_email": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "role": {
            "$ref": "#/components/schemas/models.SubscriberManagerRole"
          },
          "subscriber": {
            "$ref": "#/components/schemas/models.Subscriber"
          },
          "subscriber_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SubscriberManagerRole": {
        "enum": [
          "owner",
          "manager"
        ],
        "type": "string"
      },
      "models.SubscriberStatus": {
        "enum": [
          "pending",
          "active",
          "suppressed"
        ],
        "type": "string"
      },
      "models.SyntheticMonitor": {
        "properties": {
          "action_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "automation_pause_reason": {
            "type": "string"
          },
          "automation_paused": {
            "type": "boolean"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "component_ids": {
            "$ref": "#/components/schemas/models.IntArray"
          },
          "component_refs": {
            "items": {
              "$ref": "#/components/schemas/models.HierarchyItemRef"
            },
            "type": "array"
          },
          "component_warnings": {
            "items": {
              "$ref": "#/components/schemas/models.SyntheticMonitorComponentWarning"
            },
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "current_incident_id": {
            "type": "integer"
          },
          "current_stage": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "has_component_warnings": {
            "type": "boolean"
          },
          "id": {
            "type": "integer"
          },
          "impact": {
            "type": "string"
          },
          "interval_seconds": {
            "type": "integer"
          },
          "last_action_created_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evaluated_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_evidence_summary": {
            "type": "string"
          },
          "last_state_changed_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_transition_from_stage": {
            "type": "string"
          },
          "last_transition_to_stage": {
            "type": "string"
          },
          "message_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "message_policy_translations": {
            "items": {
              "$ref": "#/components/schemas/models.LocalizedContent"
            },
            "type": "array"
          },
          "muted_until": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "public_metrics_component_id": {
            "type": "integer"
          },
          "public_metrics_enabled": {
            "type": "boolean"
          },
          "public_metrics_label": {
            "type": "string"
          },
          "public_metrics_max_range": {
            "type": "string"
          },
          "regions": {
            "$ref": "#/components/schemas/models.StringArray"
          },
          "status_page_id": {
            "type": "integer"
          },
          "target": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "threshold_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "timeout_ms": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SyntheticMonitorAction": {
        "properties": {
          "action_type": {
            "type": "string"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "channel": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "decision_note": {
            "type": "string"
          },
          "evidence_summary": {
            "type": "string"
          },
          "executed_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "incident_id": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "monitor_id": {
            "type": "integer"
          },
          "public_post_mode": {
            "type": "string"
          },
          "reason_summary": {
            "type": "string"
          },
          "render_context": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "review_status": {
            "type": "string"
          },
          "reviewed_at": {
            "format": "date-time",
            "type": "string"
          },
          "reviewed_by": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          },
          "threshold_stage": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "triggered_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SyntheticMonitorActionDecisionInput": {
        "properties": {
          "decision_note": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SyntheticMonitorComponentWarning": {
        "properties": {
          "component_id": {
            "type": "integer"
          },
          "deleted_at": {
            "format": "date-time",
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SyntheticMonitorEvent": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "error_code": {
            "type": "string"
          },
          "error_message": {
            "type": "string"
          },
          "evaluated_stage": {
            "type": "string"
          },
          "external_event_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "latency_ms": {
            "type": "integer"
          },
          "monitor_id": {
            "type": "integer"
          },
          "observed_at": {
            "format": "date-time",
            "type": "string"
          },
          "payload": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "region": {
            "type": "string"
          },
          "status_code": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          },
          "summary": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.SyntheticMonitorEventInput": {
        "properties": {
          "error_code": {
            "type": "string"
          },
          "error_message": {
            "type": "string"
          },
          "external_event_id": {
            "type": "string"
          },
          "latency_ms": {
            "type": "integer"
          },
          "monitor_external_id": {
            "type": "string"
          },
          "monitor_id": {
            "type": "integer"
          },
          "observed_at": {
            "format": "date-time",
            "type": "string"
          },
          "payload": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "region": {
            "type": "string"
          },
          "status_code": {
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          },
          "summary": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.TokenPermission": {
        "enum": [
          "read",
          "write",
          "admin"
        ],
        "type": "string"
      },
      "models.TokenType": {
        "enum": [
          "session",
          "automation",
          "personal"
        ],
        "type": "string"
      },
      "models.User": {
        "properties": {
          "auth_type": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "disabled_at": {
            "format": "date-time",
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "role": {
            "type": "string"
          },
          "sso_groups": {
            "$ref": "#/components/schemas/models.StringArray"
          },
          "sso_issuer": {
            "type": "string"
          },
          "sso_subject": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ViewAliasBlocklistEntry": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ViewManager": {
        "properties": {
          "added_at": {
            "format": "date-time",
            "type": "string"
          },
          "added_by_email": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "role": {
            "$ref": "#/components/schemas/models.ViewManagerRole"
          },
          "view": {
            "$ref": "#/components/schemas/models.CustomView"
          },
          "view_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.ViewManagerRole": {
        "enum": [
          "owner",
          "manager"
        ],
        "type": "string"
      },
      "service.ComponentImpact": {
        "properties": {
          "end_time": {
            "format": "date-time",
            "type": "string"
          },
          "event_count": {
            "type": "integer"
          },
          "item_id": {
            "type": "integer"
          },
          "item_name": {
            "type": "string"
          },
          "start_time": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/models.StatusType"
          }
        },
        "type": "object"
      },
      "service.CreateTokenRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "permission": {
            "$ref": "#/components/schemas/models.TokenPermission"
          },
          "role_key": {
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "terraform_managed": {
            "type": "boolean"
          },
          "token_type": {
            "$ref": "#/components/schemas/models.TokenType"
          }
        },
        "required": [
          "name",
          "permission"
        ],
        "type": "object"
      },
      "service.CreateTokenResponse": {
        "properties": {
          "message": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "token_object": {
            "$ref": "#/components/schemas/models.APIToken"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerAssociationInput": {
        "properties": {
          "beat_group_id": {
            "type": "integer"
          },
          "monitor_id": {
            "type": "integer"
          },
          "role": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerFromEventRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/service.ExternalBeatTriggerUpsertRequest"
          },
          {
            "properties": {
              "selected_operator": {
                "type": "string"
              },
              "selected_path": {
                "type": "string"
              },
              "selected_value": {
                "$ref": "#/components/schemas/models.JSONValue"
              }
            },
            "type": "object"
          }
        ]
      },
      "service.ExternalBeatTriggerNewBeatRequest": {
        "properties": {
          "action_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "affected_items_freetext": {
            "type": "string"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "component_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "description": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "impact": {
            "type": "string"
          },
          "message_policies": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerPreviewAction": {
        "properties": {
          "action_type": {
            "type": "string"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "channel": {
            "type": "string"
          },
          "monitor_id": {
            "type": "integer"
          },
          "owner_type": {
            "type": "string"
          },
          "public_post_mode": {
            "type": "string"
          },
          "review_status": {
            "type": "string"
          },
          "target_stage": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerPreviewEvent": {
        "properties": {
          "automation_owner": {
            "type": "string"
          },
          "beat_group_id": {
            "type": "integer"
          },
          "condition_results": {
            "items": {
              "$ref": "#/components/schemas/service.ExternalEventConditionResult"
            },
            "type": "array"
          },
          "error": {
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "event_input": {
            "$ref": "#/components/schemas/models.SyntheticMonitorEventInput"
          },
          "from_stage": {
            "type": "string"
          },
          "matched": {
            "type": "boolean"
          },
          "monitor_id": {
            "type": "integer"
          },
          "outcome": {
            "type": "string"
          },
          "received_at": {
            "format": "date-time",
            "type": "string"
          },
          "target_stage": {
            "type": "string"
          },
          "to_stage": {
            "type": "string"
          },
          "would_create_actions": {
            "items": {
              "$ref": "#/components/schemas/service.ExternalBeatTriggerPreviewAction"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerPreviewRequest": {
        "properties": {
          "limit": {
            "type": "integer"
          },
          "received_after": {
            "format": "date-time",
            "type": "string"
          },
          "received_before": {
            "format": "date-time",
            "type": "string"
          },
          "source_id": {
            "type": "integer"
          },
          "trigger": {
            "$ref": "#/components/schemas/service.ExternalBeatTriggerUpsertRequest"
          },
          "trigger_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerPreviewResult": {
        "properties": {
          "event_count": {
            "type": "integer"
          },
          "matched_count": {
            "type": "integer"
          },
          "non_mutating": {
            "type": "boolean"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/service.ExternalBeatTriggerPreviewEvent"
            },
            "type": "array"
          },
          "source_id": {
            "type": "integer"
          },
          "unresolved": {
            "items": {
              "$ref": "#/components/schemas/service.ExternalBeatTriggerPreviewUnresolvedPeriod"
            },
            "type": "array"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerPreviewUnresolvedPeriod": {
        "properties": {
          "fingerprint": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "type": "string"
          },
          "started_event_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.ExternalBeatTriggerUpsertRequest": {
        "properties": {
          "associations": {
            "items": {
              "$ref": "#/components/schemas/service.ExternalBeatTriggerAssociationInput"
            },
            "type": "array"
          },
          "conditions": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "description": {
            "type": "string"
          },
          "draft": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "new_beat": {
            "$ref": "#/components/schemas/service.ExternalBeatTriggerNewBeatRequest"
          },
          "output_mapping": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "safety_settings": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "source_id": {
            "type": "integer"
          },
          "stage_mapping": {
            "$ref": "#/components/schemas/models.JSONMap"
          }
        },
        "type": "object"
      },
      "service.ExternalEventConditionResult": {
        "properties": {
          "error": {
            "type": "string"
          },
          "exists": {
            "type": "boolean"
          },
          "matched": {
            "type": "boolean"
          },
          "operator": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "exists",
          "matched"
        ],
        "type": "object"
      },
      "service.ExternalEventDetail": {
        "properties": {
          "evaluations": {
            "items": {
              "$ref": "#/components/schemas/models.ExternalEventEvaluation"
            },
            "type": "array"
          },
          "event": {
            "$ref": "#/components/schemas/service.ExternalEventListItem"
          },
          "payload_preview": {
            "$ref": "#/components/schemas/models.ExternalEventPayloadPreview"
          }
        },
        "type": "object"
      },
      "service.ExternalEventIngestProcessingResult": {
        "properties": {
          "beat_result_count": {
            "type": "integer"
          },
          "evaluation_count": {
            "type": "integer"
          },
          "matched_trigger_count": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.ExternalEventIngestResult": {
        "properties": {
          "accepted_at": {
            "format": "date-time",
            "type": "string"
          },
          "event_id": {
            "type": "integer"
          },
          "processed": {
            "$ref": "#/components/schemas/service.ExternalEventIngestProcessingResult"
          },
          "processing_status": {
            "type": "string"
          },
          "source_id": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.ExternalEventListItem": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "external_event_id": {
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "matched_trigger_count": {
            "type": "integer"
          },
          "observed_at": {
            "format": "date-time",
            "type": "string"
          },
          "payload_size_bytes": {
            "type": "integer"
          },
          "processing_status": {
            "type": "string"
          },
          "processing_summary": {
            "type": "string"
          },
          "received_at": {
            "format": "date-time",
            "type": "string"
          },
          "redacted_payload": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "schema_hints": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "source": {
            "$ref": "#/components/schemas/service.ExternalEventSourceListItem"
          },
          "source_id": {
            "type": "integer"
          },
          "status_page_id": {
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ExternalEventSourceAllowlistSummary": {
        "properties": {
          "configured": {
            "type": "boolean"
          },
          "header_count": {
            "type": "integer"
          },
          "remote_ip_count": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.ExternalEventSourceCredentialResult": {
        "properties": {
          "previous_tokens_expire_at": {
            "format": "date-time",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/models.ExternalEventSource"
          },
          "token": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ExternalEventSourceListItem": {
        "properties": {
          "allowlist": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "allowlist_summary": {
            "$ref": "#/components/schemas/service.ExternalEventSourceAllowlistSummary"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "last_received_at": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "provider_type": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "token_prefix": {
            "type": "string"
          },
          "token_rotated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ExternalEventSourceRotateRequest": {
        "properties": {
          "previous_token_overlap_seconds": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.ExternalEventSourceUpsertRequest": {
        "properties": {
          "allowlist": {
            "$ref": "#/components/schemas/models.JSONMap"
          },
          "description": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "provider_type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.FeedStats": {
        "properties": {
          "ActiveFeeds": {
            "type": "integer"
          },
          "AverageItems": {
            "type": "number"
          },
          "FeedsWithManagers": {
            "type": "integer"
          },
          "TotalFeeds": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.MaintenanceRecurrenceOccurrence": {
        "properties": {
          "exception": {
            "$ref": "#/components/schemas/models.MaintenanceRecurrenceException"
          },
          "maintenance": {
            "$ref": "#/components/schemas/models.Maintenance"
          },
          "occurrence_key": {
            "type": "string"
          },
          "overridden": {
            "type": "boolean"
          },
          "scheduled_end_time": {
            "format": "date-time",
            "type": "string"
          },
          "scheduled_start_time": {
            "format": "date-time",
            "type": "string"
          },
          "skipped": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "service.ManagedDomainCreateRequest": {
        "properties": {
          "hostname": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ManagedDomainDNSRecord": {
        "properties": {
          "data": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.SubscriberAdminStats": {
        "properties": {
          "active_subscribers": {
            "type": "integer"
          },
          "bounced_subscribers": {
            "type": "integer"
          },
          "complained_subscribers": {
            "type": "integer"
          },
          "deliverable_subscribers": {
            "type": "integer"
          },
          "manual_suppressed_subscribers": {
            "type": "integer"
          },
          "non_deliverable_subscribers": {
            "type": "integer"
          },
          "pending_subscribers": {
            "type": "integer"
          },
          "quarantined_subscribers": {
            "type": "integer"
          },
          "suppressed_subscribers": {
            "type": "integer"
          },
          "total_subscribers": {
            "type": "integer"
          },
          "unsubscribed_subscribers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.SubscriberBulkAction": {
        "enum": [
          "suppress",
          "restore_delivery",
          "mark_bounced",
          "mark_complained",
          "quarantine"
        ],
        "type": "string"
      },
      "service.SubscriberBulkActionResult": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/service.SubscriberBulkAction"
          },
          "updated_count": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.SubscriberImportRejection": {
        "properties": {
          "contact": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "row": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.SubscriberImportResult": {
        "properties": {
          "applied_subscriptions": {
            "type": "integer"
          },
          "created_subscribers": {
            "type": "integer"
          },
          "processed_rows": {
            "type": "integer"
          },
          "rejected_rows": {
            "type": "integer"
          },
          "rejections": {
            "items": {
              "$ref": "#/components/schemas/service.SubscriberImportRejection"
            },
            "type": "array"
          },
          "updated_subscribers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service.SubscriptionPreferenceInput": {
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/models.NotificationChannel"
          },
          "destination": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "incident_events": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "maintenance_events": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "min_severity": {
            "type": "string"
          },
          "scope_ref": {
            "type": "string"
          },
          "scope_type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.SyntheticMonitorPublicMetricPoint": {
        "properties": {
          "bucket_end": {
            "format": "date-time",
            "type": "string"
          },
          "bucket_start": {
            "format": "date-time",
            "type": "string"
          },
          "sample_count": {
            "type": "integer"
          },
          "value": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "service.SyntheticMonitorPublicMetricsCard": {
        "properties": {
          "aggregation": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "latest_bucket_end": {
            "format": "date-time",
            "type": "string"
          },
          "latest_bucket_start": {
            "format": "date-time",
            "type": "string"
          },
          "latest_value": {
            "type": "number"
          },
          "points": {
            "items": {
              "$ref": "#/components/schemas/service.SyntheticMonitorPublicMetricPoint"
            },
            "type": "array"
          },
          "unit": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.SyntheticMonitorPublicMetricsMonitor": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.SyntheticMonitorPublicMetricsResult": {
        "properties": {
          "available_ranges": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "bucket_size": {
            "type": "string"
          },
          "cards": {
            "items": {
              "$ref": "#/components/schemas/service.SyntheticMonitorPublicMetricsCard"
            },
            "type": "array"
          },
          "freshness": {
            "type": "string"
          },
          "item_id": {
            "type": "integer"
          },
          "last_observed_at": {
            "format": "date-time",
            "type": "string"
          },
          "monitor": {
            "$ref": "#/components/schemas/service.SyntheticMonitorPublicMetricsMonitor"
          },
          "range": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.TerraformExportLockPlan": {
        "properties": {
          "enable_after_import": {
            "type": "boolean"
          },
          "locked_features": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "service.TerraformExportManifest": {
        "properties": {
          "app_version": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "export_id": {
            "type": "string"
          },
          "feature_groups": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "lock_plan": {
            "$ref": "#/components/schemas/service.TerraformExportLockPlan"
          },
          "provider_version_constraint": {
            "type": "string"
          },
          "resource_counts": {
            "additionalProperties": {
              "type": "integer"
            },
            "type": "object"
          },
          "schema_hash": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "status_page_id": {
            "type": "integer"
          },
          "terraform_version_constraint": {
            "type": "string"
          },
          "unsupported": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "service.TerraformExportRequest": {
        "properties": {
          "feature_groups": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "include_import_blocks": {
            "type": "boolean"
          },
          "include_import_script": {
            "type": "boolean"
          },
          "lock_plan": {
            "$ref": "#/components/schemas/service.TerraformExportLockPlan"
          },
          "provider_version": {
            "type": "string"
          },
          "terraform_version": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service.ViewStats": {
        "properties": {
          "ActiveViews": {
            "type": "integer"
          },
          "AverageComponents": {
            "type": "number"
          },
          "TotalViews": {
            "type": "integer"
          },
          "ViewsWithManagers": {
            "type": "integer"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "bearerFormat": "API token",
        "description": "Provide an API token using the Authorization: Bearer \u003ctoken\u003e header.",
        "scheme": "bearer",
        "type": "http"
      },
      "ExternalEventToken": {
        "description": "Page-scoped ingest credential created from the Page Administration API. The same token may alternatively be supplied as an Authorization bearer value. Credentials must never be placed in a request path or query string.",
        "in": "header",
        "name": "X-External-Event-Token",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "contact": {
      "name": "StatiBeat support"
    },
    "description": "Authenticated customer APIs for administering the status page resolved from the request host.",
    "license": {
      "name": "Proprietary"
    },
    "title": "StatiBeat Page Administration API",
    "version": "1.0.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/api/v1/admin/alerting/destination-groups": {
      "get": {
        "description": "Authentication: bearer token required. List named groups of alert destinations that Beat action policies can route to.",
        "operationId": "alertingDest_ListGroups_get_admin_alerting_destination_groups",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.AlertDestinationGroupResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List alert destination groups",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_CreateGroup_post_admin_alerting_destination_groups",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.AlertDestinationGroupInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDestinationGroupResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create alert destination group",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/alerting/destination-groups/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_DeleteGroup_delete_admin_alerting_destination_groups_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete alert destination group",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_GetGroupByID_get_admin_alerting_destination_groups_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDestinationGroupResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get alert destination group",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_UpdateGroup_put_admin_alerting_destination_groups_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.AlertDestinationGroupInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDestinationGroupResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update alert destination group",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/alerting/destination-groups/{id}/test": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_TestGroup_post_admin_alerting_destination_groups_id_test",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.AlertDeliveryTestRequest"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDeliveryTestResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Test Group",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/alerting/destinations": {
      "get": {
        "description": "Authentication: bearer token required. List reusable Email, Slack, and webhook destinations for Beat alert routing on the current page.",
        "operationId": "alertingDest_ListDestinations_get_admin_alerting_destinations",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.AlertDestinationResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List alert destinations",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_CreateDestination_post_admin_alerting_destinations",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.AlertDestinationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDestinationResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create alert destination",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/alerting/destinations/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_DeleteDestination_delete_admin_alerting_destinations_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete alert destination",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_GetDestinationByID_get_admin_alerting_destinations_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDestinationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get alert destination",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_UpdateDestination_put_admin_alerting_destinations_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.AlertDestinationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDestinationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update alert destination",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/alerting/destinations/{id}/test": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "alertingDest_TestDestination_post_admin_alerting_destinations_id_test",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.AlertDeliveryTestRequest"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDeliveryTestResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Test Destination",
        "tags": [
          "alerting"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/analytics/export": {
      "get": {
        "description": "Authentication: bearer token required. Export traffic, subscriber, activity, delivery, and reliability analytics for the current page as CSV.",
        "operationId": "analytics_ExportSummary_get_admin_analytics_export",
        "parameters": [
          {
            "description": "Optional reporting window in days. Accepts values between 1 and 90 and defaults to 30.",
            "in": "query",
            "name": "window_days",
            "required": false,
            "schema": {
              "default": 30,
              "maximum": 90,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Export page analytics summary",
        "tags": [
          "analytics"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/analytics/summary": {
      "get": {
        "description": "Authentication: bearer token required. Return summary analytics for the current page.",
        "operationId": "analytics_GetSummary_get_admin_analytics_summary",
        "parameters": [
          {
            "description": "Optional reporting window in days. Accepts values between 1 and 90 and defaults to 30.",
            "in": "query",
            "name": "window_days",
            "required": false,
            "schema": {
              "default": 30,
              "maximum": 90,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "activity": {
                    "active_incidents": 1,
                    "active_maintenances": 0,
                    "daily": [
                      {
                        "date": "2026-04-07",
                        "incidents_created": 1,
                        "incidents_resolved": 1,
                        "maintenances_completed": 0,
                        "maintenances_created": 0
                      }
                    ],
                    "incidents_created": 2,
                    "incidents_resolved": 1,
                    "maintenances_completed": 1,
                    "maintenances_created": 1
                  },
                  "delivery": {
                    "channels": [
                      {
                        "channel": "email",
                        "delivery_attempts": 30,
                        "failed_attempts": 1,
                        "retrying_attempts": 0,
                        "successful_attempts": 28,
                        "suppressed_attempts": 1
                      }
                    ],
                    "daily": [
                      {
                        "date": "2026-04-07",
                        "delivery_attempts": 8,
                        "failed_attempts": 1,
                        "retrying_attempts": 0,
                        "successful_attempts": 7,
                        "suppressed_attempts": 0
                      }
                    ],
                    "delivery_attempts": 40,
                    "failed_attempts": 2,
                    "notification_events": 12,
                    "retrying_attempts": 1,
                    "success_rate_percent": 90,
                    "successful_attempts": 36,
                    "suppressed_attempts": 1
                  },
                  "generated_at": "2026-04-08T12:00:00Z",
                  "subscribers": {
                    "daily": [
                      {
                        "date": "2026-04-07",
                        "new_subscribers": 5,
                        "unsubscribed_subscribers": 1
                      }
                    ],
                    "deliverable_subscribers": 280,
                    "net_growth": 21,
                    "new_subscribers": 25,
                    "non_deliverable_subscribers": 20,
                    "total_subscribers": 300,
                    "unsubscribed_subscribers": 4
                  },
                  "traffic": {
                    "badge_impressions": 91,
                    "daily": [
                      {
                        "badge_impressions": 11,
                        "date": "2026-04-07",
                        "page_views": 200,
                        "unique_visitors": 80,
                        "widget_impressions": 4
                      }
                    ],
                    "page_views": 1240,
                    "unique_visitors": 512,
                    "widget_impressions": 44
                  },
                  "window_days": 30
                },
                "schema": {
                  "$ref": "#/components/schemas/models.StatusPageAnalyticsSummary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get page analytics summary",
        "tags": [
          "analytics"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/api-tokens": {
      "get": {
        "description": "Authentication: bearer token required. List API tokens for the current page.",
        "operationId": "apiToken_GetAllTokens_get_admin_api_tokens",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.APIToken"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List API tokens",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new API token for the current page.",
        "operationId": "apiToken_CreateToken_post_admin_api_tokens",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "name": "incident-bot",
                "permission": "write",
                "role_key": "page_manager"
              },
              "schema": {
                "$ref": "#/components/schemas/service.CreateTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "message": "Token created successfully. IMPORTANT: Save this token securely - you won't be able to see it again!",
                  "token": "spat_live_example_token",
                  "token_object": {
                    "created_at": "2026-03-22T22:00:00Z",
                    "created_by_user_id": 4,
                    "description": "",
                    "id": 12,
                    "name": "incident-bot",
                    "notes": "",
                    "permission": "write",
                    "scopes": [
                      "admin:read",
                      "admin:write"
                    ],
                    "terraform_managed": false,
                    "token_prefix": "spat_live_ex",
                    "token_type": "automation",
                    "use_count": 0
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/service.CreateTokenResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create API token",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/api-tokens/active": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_GetActiveTokens_get_admin_api_tokens_active",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.APIToken"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List active API tokens",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/api-tokens/stats": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_GetTokenStats_get_admin_api_tokens_stats",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.APITokenStatsResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get API token stats",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/api-tokens/user/me": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_GetTokensByUser_get_admin_api_tokens_user_me",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.APIToken"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List my API tokens",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/api-tokens/validate": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_ValidateToken_post_admin_api_tokens_validate",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.TokenValidateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.TokenValidateResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Validate API token",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/api-tokens/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_DeleteToken_delete_admin_api_tokens_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete API token",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_GetTokenByID_get_admin_api_tokens_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.APIToken"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get API token",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_UpdateToken_put_admin_api_tokens_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.APIToken"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.APIToken"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update API token",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/api-tokens/{id}/audit-log": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_GetTokenAuditLog_get_admin_api_tokens_id_audit_log",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.APITokenAuditLog"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get API token audit log",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/api-tokens/{id}/revoke": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "apiToken_RevokeToken_post_admin_api_tokens_id_revoke",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.TokenRevokeRequest"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Revoke API token",
        "tags": [
          "api-tokens"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/audit-events": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "notification_ListAuditEvents_get_admin_audit_events",
        "parameters": [
          {
            "description": "Page size (max 200)",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Page offset",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter by audit event key",
            "in": "query",
            "name": "event_key",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by resource type",
            "in": "query",
            "name": "resource_type",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by resource ID",
            "in": "query",
            "name": "resource_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter by action",
            "in": "query",
            "name": "action",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by actor email, actor type, token hint, or Slack user ID",
            "in": "query",
            "name": "actor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by actor type",
            "in": "query",
            "name": "actor_type",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by result",
            "in": "query",
            "name": "success",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter by created_at \u003e= RFC3339 timestamp",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by created_at \u003c= RFC3339 timestamp",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.JSONMap"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List Audit Events",
        "tags": [
          "notifications"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/audit-events/export": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "notification_ExportAuditEvents_get_admin_audit_events_export",
        "parameters": [
          {
            "description": "Export format: csv or json",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by audit event key",
            "in": "query",
            "name": "event_key",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by resource type",
            "in": "query",
            "name": "resource_type",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by resource ID",
            "in": "query",
            "name": "resource_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter by action",
            "in": "query",
            "name": "action",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by actor email, actor type, token hint, or Slack user ID",
            "in": "query",
            "name": "actor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by actor type",
            "in": "query",
            "name": "actor_type",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by result",
            "in": "query",
            "name": "success",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter by created_at \u003e= RFC3339 timestamp",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by created_at \u003c= RFC3339 timestamp",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.JSONMap"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Export Audit Events",
        "tags": [
          "notifications"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/audit-events/integrity": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "notification_GetAuditIntegrity_get_admin_audit_events_integrity",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AuditIntegrityReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Verify Audit Event Integrity",
        "tags": [
          "notifications"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/auth/admin": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_DeleteStatusPageAdminAuthProvider_delete_admin_auth_admin",
        "parameters": [],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete Status Page Admin Auth Provider",
        "tags": [
          "auth-providers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_GetStatusPageAdminAuthProvider_get_admin_auth_admin",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.statusPageAdminAuthProviderResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Status Page Admin Auth Provider",
        "tags": [
          "auth-providers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_UpsertStatusPageAdminAuthProvider_put_admin_auth_admin",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.upsertStatusPageAdminAuthProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.statusPageAdminAuthProviderResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Upsert Status Page Admin Auth Provider",
        "tags": [
          "auth-providers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/auth/viewer": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_DeleteStatusPageViewerAuthProvider_delete_admin_auth_viewer",
        "parameters": [],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete Status Page Viewer Auth Provider",
        "tags": [
          "auth-providers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_GetStatusPageViewerAuthProvider_get_admin_auth_viewer",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.adminAuthProviderResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Status Page Viewer Auth Provider",
        "tags": [
          "auth-providers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_UpsertStatusPageViewerAuthProvider_put_admin_auth_viewer",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.updateAdminAuthProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.adminAuthProviderResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Upsert Status Page Viewer Auth Provider",
        "tags": [
          "auth-providers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/authz/bindings/users": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "authzAdmin_ListPageUserBindings_get_admin_authz_bindings_users",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers.authzBindingResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List page RBAC user bindings",
        "tags": [
          "authz"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/authz/bindings/users/{user_id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "authzAdmin_DeletePageUserBinding_delete_admin_authz_bindings_users_user_id",
        "parameters": [
          {
            "description": "user id",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.JSONMap"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete page RBAC user binding",
        "tags": [
          "authz"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "authzAdmin_UpsertPageUserBinding_put_admin_authz_bindings_users_user_id",
        "parameters": [
          {
            "description": "user id",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.upsertAuthzBindingRequest"
              }
            }
          },
          "description": "Page RBAC binding payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AuthzRoleBinding"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create or update page RBAC user binding",
        "tags": [
          "authz"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/authz/catalog": {
      "get": {
        "description": "Authentication: bearer token required. Returns only the roles and permissions available in the current admin scope.",
        "operationId": "authzCatalog_GetCatalog_get_admin_authz_catalog",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.authzCatalogResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get RBAC catalog",
        "tags": [
          "authz"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/authz/roles": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "authzAdmin_ListPageRoles_get_admin_authz_roles",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.AuthzRoleDefinition"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List page RBAC roles",
        "tags": [
          "authz"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/authz/roles/{key}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "authzAdmin_DeletePageRole_delete_admin_authz_roles_key",
        "parameters": [
          {
            "description": "key",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.JSONMap"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete page RBAC role",
        "tags": [
          "authz"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "authzAdmin_UpsertPageRole_put_admin_authz_roles_key",
        "parameters": [
          {
            "description": "key",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.upsertAuthzRoleRequest"
              }
            }
          },
          "description": "Page RBAC role payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AuthzRoleDefinition"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create or update page RBAC role",
        "tags": [
          "authz"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/beat-groups": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "beatGroup_GetAll_get_admin_beat_groups",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.BeatGroup"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List Beat Groups",
        "tags": [
          "beat-groups"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "beatGroup_Create_post_admin_beat_groups",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.BeatGroupUpsertRequest"
              }
            }
          },
          "description": "Beat Group payload",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.BeatGroup"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create Beat Group",
        "tags": [
          "beat-groups"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beat-groups/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "beatGroup_Delete_delete_admin_beat_groups_id",
        "parameters": [
          {
            "description": "Beat Group ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete Beat Group",
        "tags": [
          "beat-groups"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "beatGroup_GetByID_get_admin_beat_groups_id",
        "parameters": [
          {
            "description": "Beat Group ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.BeatGroup"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Beat Group",
        "tags": [
          "beat-groups"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "beatGroup_Update_put_admin_beat_groups_id",
        "parameters": [
          {
            "description": "Beat Group ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.BeatGroupUpsertRequest"
              }
            }
          },
          "description": "Beat Group payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.BeatGroup"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update Beat Group",
        "tags": [
          "beat-groups"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beat-groups/{id}/members": {
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "beatGroup_SyncMembers_put_admin_beat_groups_id_members",
        "parameters": [
          {
            "description": "Beat Group ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.BeatGroupMemberSyncRequest"
              }
            }
          },
          "description": "Beat Group member payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.BeatGroup"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update Beat Group members",
        "tags": [
          "beat-groups"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats": {
      "get": {
        "description": "Authentication: bearer token required. List the Beats configured for the current page. The default response is a compact summary; append `?view=full` to the URL for the full Beat configuration document.",
        "operationId": "syntheticMonitor_GetAll_get_admin_beats",
        "parameters": [
          {
            "description": "List payload shape. Defaults to `summary`. Append `?view=full` to the URL when you want the full Beat configuration document.",
            "example": "full",
            "in": "query",
            "name": "view",
            "required": false,
            "schema": {
              "default": "summary",
              "enum": [
                "summary",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": [
                  {
                    "affected_items_freetext": "External API: Payment Gateway",
                    "automation_paused": false,
                    "component_ids": [
                      9
                    ],
                    "current_incident_id": 42,
                    "current_stage": "critical",
                    "enabled": true,
                    "external_id": "beat-checkout-api-health",
                    "id": 55,
                    "last_evaluated_at": "2026-04-08T09:40:00Z",
                    "last_evidence_summary": "3 failures in a row from europe-west2.",
                    "name": "Checkout API health",
                    "type": "api",
                    "updated_at": "2026-04-08T09:40:00Z"
                  }
                ],
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers.beatSummaryResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Result-View": {
                "description": "Payload shape returned for the list response.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List beats",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new Beat for the current page. For automation, prefer supplying external_id and component_refs by external_id or slug. Internal-only beats may omit mapped components, but customer-facing beat actions require component_refs/component_ids or affected_items_freetext.",
        "operationId": "syntheticMonitor_Create_post_admin_beats",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "affected_items_freetext": "External API: Payment Gateway",
                "component_refs": [
                  {
                    "slug": "public-api"
                  }
                ],
                "name": "Checkout API health",
                "target": {
                  "url": "https://api.example.com/health"
                },
                "threshold_policies": {
                  "critical_rule": {
                    "consecutive_failures": 3
                  }
                },
                "type": "api"
              },
              "schema": {
                "$ref": "#/components/schemas/handlers.SyntheticMonitorUpsertRequest"
              }
            }
          },
          "description": "Beat payload",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SyntheticMonitor"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create beat",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/actions": {
      "get": {
        "description": "Authentication: bearer token required. List pending and recent Beat-generated actions.",
        "operationId": "syntheticMonitor_ListActions_get_admin_beats_actions",
        "parameters": [
          {
            "description": "Maximum number of actions to return",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter by review status",
            "in": "query",
            "name": "review_status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by channel",
            "in": "query",
            "name": "channel",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.SyntheticMonitorAction"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List beat actions",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/beats/actions/{id}": {
      "get": {
        "description": "Authentication: bearer token required. Return one Beat-generated action by ID.",
        "operationId": "syntheticMonitor_GetActionByID_get_admin_beats_actions_id",
        "parameters": [
          {
            "description": "Beat action ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SyntheticMonitorAction"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get beat action",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/beats/actions/{id}/approve": {
      "post": {
        "description": "Authentication: bearer token required. Approve a Beat-generated action so it can proceed.",
        "operationId": "syntheticMonitor_ApproveAction_post_admin_beats_actions_id_approve",
        "parameters": [
          {
            "description": "Beat action ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.SyntheticMonitorActionDecisionInput"
              }
            }
          },
          "description": "Action approval payload",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.SyntheticMonitorActionExecutionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Approve beat action",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/actions/{id}/reject": {
      "post": {
        "description": "Authentication: bearer token required. Reject a Beat-generated action.",
        "operationId": "syntheticMonitor_RejectAction_post_admin_beats_actions_id_reject",
        "parameters": [
          {
            "description": "Beat action ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.SyntheticMonitorActionRejectRequest"
              }
            }
          },
          "description": "Action rejection payload",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SyntheticMonitorAction"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Reject beat action",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/external/{external_id}": {
      "get": {
        "description": "Authentication: bearer token required. Return one Beat by its stable external_id.",
        "operationId": "syntheticMonitor_GetByExternalID_get_admin_beats_external_external_id",
        "parameters": [
          {
            "description": "external id",
            "in": "path",
            "name": "external_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SyntheticMonitor"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get beat by external ID",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/beats/external/{external_id}/run": {
      "post": {
        "description": "Authentication: bearer token required. Trigger an immediate Beat run by stable external_id.",
        "operationId": "syntheticMonitor_TriggerRunByExternalID_post_admin_beats_external_external_id_run",
        "parameters": [
          {
            "description": "external id",
            "in": "path",
            "name": "external_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.SyntheticMonitorTriggerRunResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Run beat now by external ID",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/webhook-destinations": {
      "get": {
        "description": "Authentication: bearer token required. List reusable HTTPS webhook destinations for Beat action policies on the current page.",
        "operationId": "externalWebhookDest_GetAll_get_admin_beats_webhook_destinations",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.ExternalWebhookDestinationResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List external webhook destinations",
        "tags": [
          "external-webhook-destinations"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalWebhookDest_Create_post_admin_beats_webhook_destinations",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.ExternalWebhookDestinationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalWebhookDestinationResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create external webhook destination",
        "tags": [
          "external-webhook-destinations"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/webhook-destinations/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalWebhookDest_Delete_delete_admin_beats_webhook_destinations_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete external webhook destination",
        "tags": [
          "external-webhook-destinations"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalWebhookDest_GetByID_get_admin_beats_webhook_destinations_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalWebhookDestinationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get external webhook destination",
        "tags": [
          "external-webhook-destinations"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalWebhookDest_Update_put_admin_beats_webhook_destinations_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.ExternalWebhookDestinationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalWebhookDestinationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update external webhook destination",
        "tags": [
          "external-webhook-destinations"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete a Beat.",
        "operationId": "syntheticMonitor_Delete_delete_admin_beats_id",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete beat",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Return one Beat by ID.",
        "operationId": "syntheticMonitor_GetByID_get_admin_beats_id",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SyntheticMonitor"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get beat",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update an existing Beat. You can attach mapped components with component_ids or component_refs using id, external_id, or slug, and you can describe untracked dependencies with affected_items_freetext.",
        "operationId": "syntheticMonitor_Update_put_admin_beats_id",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.SyntheticMonitorUpsertRequest"
              }
            }
          },
          "description": "Beat payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SyntheticMonitor"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update beat",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/{id}/actions": {
      "get": {
        "description": "Authentication: bearer token required. List pending and recent actions for a single Beat.",
        "operationId": "syntheticMonitor_ListActionsByMonitor_get_admin_beats_id_actions",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Maximum number of actions to return",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.SyntheticMonitorAction"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List beat actions for one beat",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/beats/{id}/ai-investigation": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "syntheticMonitor_InvestigateBeat_post_admin_beats_id_ai_investigation",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.BeatInvestigationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Investigate Beat with AI",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/{id}/events": {
      "get": {
        "description": "Authentication: bearer token required. List recent events for a Beat.",
        "operationId": "syntheticMonitor_ListEvents_get_admin_beats_id_events",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Maximum number of events to return",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.SyntheticMonitorEvent"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List beat events",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/beats/{id}/run": {
      "post": {
        "description": "Authentication: bearer token required. Trigger an immediate Beat run.",
        "operationId": "syntheticMonitor_TriggerRun_post_admin_beats_id_run",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.SyntheticMonitorTriggerRunResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Run beat now",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/beats/{id}/test-alert-routing": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "syntheticMonitor_TestAlertRouting_post_admin_beats_id_test_alert_routing",
        "parameters": [
          {
            "description": "Beat ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.AlertDeliveryTestRequest"
              }
            }
          },
          "description": "Test alert options",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.AlertDeliveryTestResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Send test alert through Beat routing",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/context": {
      "get": {
        "description": "Authentication: bearer token required. Return the current organization and page scope resolved from the request host. This admin-scoped alias is equivalent to /api/v1/context.",
        "operationId": "statusPage_GetAdminContext_get_admin_context",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.currentContextResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get current page context (admin alias)",
        "tags": [
          "context"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/events": {
      "get": {
        "description": "Authentication: bearer token required. List stored external events for the selected page. Payloads returned by this endpoint are redacted summaries; use event detail for the payload preview tree and evaluation explanations.",
        "operationId": "externalEvent_ListEvents_get_admin_external_beat_triggers_events",
        "parameters": [
          {
            "description": "Optional source ID filter.",
            "in": "query",
            "name": "source_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Optional processing status filter such as matched, no_match, duplicate, or failed.",
            "in": "query",
            "name": "processing_status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Maximum inbox events to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Optional payload or metadata search term.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Optional RFC3339 lower bound for received_at.",
            "in": "query",
            "name": "received_after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Optional RFC3339 upper bound for received_at.",
            "in": "query",
            "name": "received_before",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/service.ExternalEventListItem"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List external event inbox entries",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/events/{id}": {
      "get": {
        "description": "Authentication: bearer token required. Return a single inbox event with redacted payload tree fields and evaluation explanations.",
        "operationId": "externalEvent_GetEvent_get_admin_external_beat_triggers_events_id",
        "parameters": [
          {
            "description": "External event ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.ExternalEventDetail"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get external event detail",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/events/{id}/triggers": {
      "post": {
        "description": "Authentication: bearer token required. Create a trigger rule using a selected payload path, operator, and sample value from a stored inbox event.",
        "operationId": "externalEvent_CreateTriggerFromEvent_post_admin_external_beat_triggers_events_id_triggers",
        "parameters": [
          {
            "description": "External event ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ExternalBeatTriggerFromEventRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalBeatTrigger"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create an External Beat Trigger from an inbox event",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/preview": {
      "post": {
        "description": "Authentication: bearer token required. Replay historical inbox events through a draft or saved trigger without mutating Beat state, incidents, actions, notifications, or public posts.",
        "operationId": "externalEvent_PreviewTrigger_post_admin_external_beat_triggers_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ExternalBeatTriggerPreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.ExternalBeatTriggerPreviewResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Preview an External Beat Trigger",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/sources": {
      "get": {
        "description": "Authentication: bearer token required. List page-scoped External Beat Trigger ingest endpoints. Existing ingest tokens are never returned.",
        "operationId": "externalEvent_ListSources_get_admin_external_beat_triggers_sources",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.ExternalEventSource"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List external event ingest endpoints",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a page-scoped external event ingest endpoint and return a one-time ingest token for webhook or Pub/Sub bridge setup.",
        "operationId": "externalEvent_CreateSource_post_admin_external_beat_triggers_sources",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ExternalEventSourceUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.ExternalEventSourceCredentialResult"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create an external event ingest endpoint",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/sources/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalEvent_DeleteSource_delete_admin_external_beat_triggers_sources_id",
        "parameters": [
          {
            "description": "External event source ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete an external event ingest endpoint",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalEvent_UpdateSource_put_admin_external_beat_triggers_sources_id",
        "parameters": [
          {
            "description": "External event source ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ExternalEventSourceUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalEventSource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update an external event ingest endpoint",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/sources/{id}/disable": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalEvent_DisableSource_post_admin_external_beat_triggers_sources_id_disable",
        "parameters": [
          {
            "description": "External event source ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalEventSource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Disable an external event ingest endpoint",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/sources/{id}/rotate-token": {
      "post": {
        "description": "Authentication: bearer token required. Rotate the endpoint-scoped ingest credential and return the new token once. The previous token can expire immediately or remain valid during a requested overlap window.",
        "operationId": "externalEvent_RotateSourceToken_post_admin_external_beat_triggers_sources_id_rotate_token",
        "parameters": [
          {
            "description": "External event source ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ExternalEventSourceRotateRequest"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.ExternalEventSourceCredentialResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Rotate an external event ingest token",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/triggers": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalEvent_ListTriggers_get_admin_external_beat_triggers_triggers",
        "parameters": [
          {
            "description": "Optional source ID filter.",
            "in": "query",
            "name": "source_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Optional enabled-state filter.",
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Draft state",
            "in": "query",
            "name": "draft",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Maximum trigger rules to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.ExternalBeatTrigger"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List External Beat Trigger rules",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a validated trigger rule that maps matching external events into an existing or newly created external-event Beat. New public posting remains draft/review by default.",
        "operationId": "externalEvent_CreateTrigger_post_admin_external_beat_triggers_triggers",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ExternalBeatTriggerUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalBeatTrigger"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create an External Beat Trigger rule",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/external-beat-triggers/triggers/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalEvent_DeleteTrigger_delete_admin_external_beat_triggers_triggers_id",
        "parameters": [
          {
            "description": "External Beat Trigger ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete an External Beat Trigger rule",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalEvent_GetTrigger_get_admin_external_beat_triggers_triggers_id",
        "parameters": [
          {
            "description": "External Beat Trigger ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalBeatTrigger"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get an External Beat Trigger rule",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "externalEvent_UpdateTrigger_put_admin_external_beat_triggers_triggers_id",
        "parameters": [
          {
            "description": "External Beat Trigger ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ExternalBeatTriggerUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ExternalBeatTrigger"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update an External Beat Trigger rule",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/feeds": {
      "get": {
        "description": "Authentication: bearer token required. List feeds for the current page. By default this returns a compact summary payload. Add `view=full` when you want component filters, lifecycle filters, and manager details.",
        "operationId": "rssFeed_GetAllFeeds_get_admin_feeds",
        "parameters": [
          {
            "description": "List payload shape. Defaults to `summary`. Append `?view=full` to the URL when you want component filters, lifecycle filters, and manager details.",
            "example": "full",
            "in": "query",
            "name": "view",
            "required": false,
            "schema": {
              "default": "summary",
              "enum": [
                "summary",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": [
                  {
                    "access_count": 42,
                    "created_at": "2026-04-08T09:40:00Z",
                    "description": "Responder-facing updates",
                    "format": "atom",
                    "id": 14,
                    "include_incidents": true,
                    "include_maintenance": true,
                    "include_status_changes": false,
                    "language": "en-GB",
                    "last_accessed_at": "2026-04-10T10:05:00Z",
                    "max_age_days": 30,
                    "max_items": 25,
                    "name": "Operations Feed",
                    "short_code": "feed1234",
                    "updated_at": "2026-04-08T09:40:00Z"
                  }
                ],
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers.rssFeedSummaryResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Result-View": {
                "description": "Payload shape returned for the list response.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List feeds",
        "tags": [
          "feeds"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "rssFeed_AdminCreateFeed_post_admin_feeds",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.JSONMap"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Create Feed",
        "tags": [
          "feeds"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/feeds/stats": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "rssFeed_GetFeedStats_get_admin_feeds_stats",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.FeedStats"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Feed Stats",
        "tags": [
          "feeds"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/feeds/{code}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "rssFeed_AdminDeleteFeed_delete_admin_feeds_code",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Delete Feed",
        "tags": [
          "feeds"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "rssFeed_AdminGetFeed_get_admin_feeds_code",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.JSONMap"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Get Feed",
        "tags": [
          "feeds"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "rssFeed_AdminUpdateFeed_put_admin_feeds_code",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.JSONMap"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Update Feed",
        "tags": [
          "feeds"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/feeds/{code}/invalidate-cache": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "rssFeed_InvalidateCache_post_admin_feeds_code_invalidate_cache",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Invalidate Cache",
        "tags": [
          "feeds"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items": {
      "get": {
        "description": "Authentication: bearer token required. Get all hierarchy items across all levels",
        "operationId": "hierarchy_GetAllItems_get_admin_hierarchy_items",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers.HierarchyItemFlatResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get all hierarchy items",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new item in the hierarchy",
        "operationId": "hierarchy_CreateItem_post_admin_hierarchy_items",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.HierarchyItem"
              }
            }
          },
          "description": "Hierarchy item",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyItem"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create a new hierarchy item",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items/depth/{depth}": {
      "get": {
        "description": "Authentication: bearer token required. Get all hierarchy items at a specific depth",
        "operationId": "hierarchy_GetItemsByDepth_get_admin_hierarchy_items_depth_depth",
        "parameters": [
          {
            "description": "Level depth",
            "in": "path",
            "name": "depth",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.HierarchyItem"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get items by depth",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items/external/{external_id}": {
      "get": {
        "description": "Authentication: bearer token required. Get a specific hierarchy item by external ID",
        "operationId": "hierarchy_GetItemByExternalID_get_admin_hierarchy_items_external_external_id",
        "parameters": [
          {
            "description": "Item external ID",
            "in": "path",
            "name": "external_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyItem"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get item by external ID",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items/parent/{parentId}": {
      "get": {
        "description": "Authentication: bearer token required. Get all child items of a specific parent",
        "operationId": "hierarchy_GetItemsByParent_get_admin_hierarchy_items_parent_parentId",
        "parameters": [
          {
            "description": "Parent item ID",
            "in": "path",
            "name": "parentId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.HierarchyItem"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get items by parent",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items/slug/{slug}": {
      "get": {
        "description": "Authentication: bearer token required. Get a specific hierarchy item by identifier",
        "operationId": "hierarchy_GetItemBySlug_get_admin_hierarchy_items_slug_slug",
        "parameters": [
          {
            "description": "Item identifier",
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyItem"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get item by identifier",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete a hierarchy item",
        "operationId": "hierarchy_DeleteItem_delete_admin_hierarchy_items_id",
        "parameters": [
          {
            "description": "Item ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete a hierarchy item",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Get a specific hierarchy item by ID",
        "operationId": "hierarchy_GetItemByID_get_admin_hierarchy_items_id",
        "parameters": [
          {
            "description": "Item ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyItem"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get item by ID",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update an existing hierarchy item",
        "operationId": "hierarchy_UpdateItem_put_admin_hierarchy_items_id",
        "parameters": [
          {
            "description": "Item ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.HierarchyItem"
              }
            }
          },
          "description": "Updated hierarchy item",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyItem"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update a hierarchy item",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items/{id}/move": {
      "put": {
        "description": "Authentication: bearer token required. Move a hierarchy item to a new depth and/or parent (automatically updates all descendants)",
        "operationId": "hierarchy_MoveItem_put_admin_hierarchy_items_id_move",
        "parameters": [
          {
            "description": "Item ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.MoveItemRequest"
              }
            }
          },
          "description": "New depth and parent ID",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyItem"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Move a hierarchy item to a different level/parent",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/hierarchy/items/{id}/synthetic-metrics": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "syntheticMonitor_GetPublicMetrics_get_admin_hierarchy_items_id_synthetic_metrics",
        "parameters": [
          {
            "description": "Hierarchy item ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Range key (24h, 7d, 30d, 90d, 1y)",
            "in": "query",
            "name": "range",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.SyntheticMonitorPublicMetricsResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Public Beat Metrics",
        "tags": [
          "beats"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/hierarchy/levels": {
      "get": {
        "description": "Authentication: bearer token required. Get all configured hierarchy levels",
        "operationId": "hierarchy_GetAllLevels_get_admin_hierarchy_levels",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.HierarchyLevel"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get all hierarchy levels",
        "tags": [
          "hierarchy-config"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new hierarchy level configuration",
        "operationId": "hierarchy_CreateLevel_post_admin_hierarchy_levels",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.HierarchyLevel"
              }
            }
          },
          "description": "Level configuration",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyLevel"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create a new hierarchy level",
        "tags": [
          "hierarchy-config"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/hierarchy/levels/{depth}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete a hierarchy level configuration",
        "operationId": "hierarchy_DeleteLevel_delete_admin_hierarchy_levels_depth",
        "parameters": [
          {
            "description": "Level depth",
            "in": "path",
            "name": "depth",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete a hierarchy level",
        "tags": [
          "hierarchy-config"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Get a specific hierarchy level by depth",
        "operationId": "hierarchy_GetLevelByDepth_get_admin_hierarchy_levels_depth",
        "parameters": [
          {
            "description": "Level depth",
            "in": "path",
            "name": "depth",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyLevel"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get level by depth",
        "tags": [
          "hierarchy-config"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update an existing hierarchy level configuration",
        "operationId": "hierarchy_UpdateLevel_put_admin_hierarchy_levels_depth",
        "parameters": [
          {
            "description": "Level depth",
            "in": "path",
            "name": "depth",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.HierarchyLevel"
              }
            }
          },
          "description": "Updated level configuration",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.HierarchyLevel"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update a hierarchy level",
        "tags": [
          "hierarchy-config"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/hierarchy/tree": {
      "get": {
        "description": "Authentication: bearer token required. Get the complete hierarchy tree starting from root items",
        "operationId": "hierarchy_GetItemTree_get_admin_hierarchy_tree",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.HierarchyItem"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get full hierarchy tree",
        "tags": [
          "hierarchy-items"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/hierarchy/validate": {
      "get": {
        "description": "Authentication: bearer token required. Check the entire hierarchy for circular references and other integrity issues",
        "operationId": "hierarchy_ValidateHierarchy_get_admin_hierarchy_validate",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.HierarchyValidationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Validate hierarchy integrity",
        "tags": [
          "hierarchy-validation"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/incidents": {
      "get": {
        "description": "Authentication: bearer token required. List incidents for admin workflows on the current page. The default response is a compact summary; append `?view=full` to the URL for the full incident document.",
        "operationId": "incident_GetAdminIncidents_get_admin_incidents",
        "parameters": [
          {
            "description": "Incident status filter (active|planned|resolved)",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Page size (active/planned/resolved only; max 100)",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Page offset (active/planned/resolved only)",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "List payload shape. Defaults to `summary`. Append `?view=full` to the URL when you want the full incident document used by admin surfaces.",
            "example": "full",
            "in": "query",
            "name": "view",
            "required": false,
            "schema": {
              "default": "summary",
              "enum": [
                "summary",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": [
                  {
                    "affected_items_count": 1,
                    "external_id": "incident-api-latency-2026-03-22",
                    "has_post_incident_report": false,
                    "id": 42,
                    "lifecycle_stage_id": 3,
                    "lifecycle_stage_name": "Investigating",
                    "started_at": "2026-03-22T08:15:00Z",
                    "status": "degraded",
                    "title": "Elevated API latency",
                    "updated_at": "2026-03-22T08:20:00Z"
                  }
                ],
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers.adminIncidentSummaryResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Result-View": {
                "description": "Payload shape returned for the list response.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List admin incidents",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new incident for the current page. For automation, prefer supplying external_id and affected item references by external_id or slug.",
        "operationId": "incident_CreateIncident_post_admin_incidents",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "affected_items_freetext": "Public API",
                "description": "We are investigating elevated latency.",
                "status": "degraded",
                "title": "Elevated API latency"
              },
              "schema": {
                "$ref": "#/components/schemas/api.IncidentCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentResource"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/external/{external_id}": {
      "get": {
        "description": "Authentication: bearer token required. Return one incident by its stable external_id.",
        "operationId": "incident_GetAdminIncidentByExternalID_get_admin_incidents_external_external_id",
        "parameters": [
          {
            "description": "external id",
            "in": "path",
            "name": "external_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get incident by external ID",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/incidents/external/{external_id}/resolve": {
      "post": {
        "description": "Authentication: bearer token required. Resolve an incident addressed by its stable external_id.",
        "operationId": "incident_ResolveIncidentByExternalID_post_admin_incidents_external_external_id_resolve",
        "parameters": [
          {
            "description": "external id",
            "in": "path",
            "name": "external_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "resolution_message": "Latency has returned to normal levels.",
                "resolved_at": "2026-03-22T22:14:00Z"
              },
              "schema": {
                "$ref": "#/components/schemas/api.ResolveIncidentRequest"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Resolve incident by external ID",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete an incident by ID.",
        "operationId": "incident_DeleteIncident_delete_admin_incidents_id",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Return a single incident for admin surfaces, including admin-only Post-Incident Report state when present.",
        "operationId": "incident_GetAdminIncident_get_admin_incidents_id",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.Incident"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get admin incident by ID",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update an existing incident's metadata and affected items.",
        "operationId": "incident_UpdateIncident_put_admin_incidents_id",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.IncidentUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/acknowledge": {
      "post": {
        "description": "Authentication: bearer token required. Mark an incident as acknowledged.",
        "operationId": "incident_AcknowledgeIncident_post_admin_incidents_id_acknowledge",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Acknowledge incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/impacts": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "incident_GetComponentImpacts_get_admin_incidents_id_impacts",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentImpactsResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Component Impacts",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "incident_AddComponentToIncident_post_admin_incidents_id_impacts",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.IncidentComponentImpactRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentComponentMutationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Add Component To Incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/impacts/{item_id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "incident_RemoveComponentFromIncident_delete_admin_incidents_id_impacts_item_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "item id",
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentComponentMutationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Remove Component From Incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "incident_UpdateComponentImpact_put_admin_incidents_id_impacts_item_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "item id",
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.IncidentComponentImpactUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentComponentMutationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update Component Impact",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/link-channel": {
      "post": {
        "description": "Authentication: bearer token required. Link a Slack channel to one incident.",
        "operationId": "incident_LinkChannel_post_admin_incidents_id_link_channel",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.ChannelLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Link Slack channel to incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/post-incident-report": {
      "get": {
        "description": "Authentication: bearer token required. Return the admin Post-Incident Report for an incident, including draft state when present.",
        "operationId": "incident_GetPostIncidentReport_get_admin_incidents_id_post_incident_report",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.PostIncidentReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Post-Incident Report",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Create or update the Post-Incident Report attached to an incident.",
        "operationId": "incident_UpsertPostIncidentReport_put_admin_incidents_id_post_incident_report",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.postIncidentReportRequest"
              }
            }
          },
          "description": "Post-Incident Report payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.PostIncidentReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Save Post-Incident Report draft",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/post-incident-report/publish": {
      "post": {
        "description": "Authentication: bearer token required. Publish the Post-Incident Report attached to an incident.",
        "operationId": "incident_PublishPostIncidentReport_post_admin_incidents_id_post_incident_report_publish",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.PostIncidentReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Publish Post-Incident Report",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/post-incident-report/unpublish": {
      "post": {
        "description": "Authentication: bearer token required. Return the incident's Post-Incident Report to draft state without deleting saved content.",
        "operationId": "incident_UnpublishPostIncidentReport_post_admin_incidents_id_post_incident_report_unpublish",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.PostIncidentReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Unpublish Post-Incident Report",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/reopen": {
      "post": {
        "description": "Authentication: bearer token required. Reopen a resolved incident when reopening is allowed by settings.",
        "operationId": "incident_ReopenIncident_post_admin_incidents_id_reopen",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Reopen incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/resolve": {
      "post": {
        "description": "Authentication: bearer token required. Resolve an incident and optionally provide resolution message and timestamp.",
        "operationId": "incident_ResolveIncident_post_admin_incidents_id_resolve",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "resolution_message": "Latency has returned to normal levels.",
                "resolved_at": "2026-03-22T22:14:00Z"
              },
              "schema": {
                "$ref": "#/components/schemas/api.ResolveIncidentRequest"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Resolve incident",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/updates": {
      "post": {
        "description": "Authentication: bearer token required. Add a timeline update to an incident.",
        "operationId": "incident_AddIncidentUpdate_post_admin_incidents_id_updates",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.IncidentUpdateCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentUpdateResource"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Add incident update",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/incidents/{id}/updates/{update_id}": {
      "put": {
        "description": "Authentication: bearer token required. Update a timeline entry on an incident.",
        "operationId": "incident_UpdateIncidentUpdate_put_admin_incidents_id_updates_update_id",
        "parameters": [
          {
            "description": "Incident ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Incident update ID",
            "in": "path",
            "name": "update_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.IncidentTimelineUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IncidentUpdateResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update incident timeline entry",
        "tags": [
          "incidents"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.incidents.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/lifecycle/stages": {
      "get": {
        "description": "Authentication: bearer token required. Get all incident lifecycle stages ordered by display_order",
        "operationId": "lifecycle_GetAllStages_get_admin_lifecycle_stages",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.IncidentLifecycleStage"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get all lifecycle stages",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new incident lifecycle stage",
        "operationId": "lifecycle_CreateStage_post_admin_lifecycle_stages",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.IncidentLifecycleStage"
              }
            }
          },
          "description": "Stage object",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.IncidentLifecycleStage"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create a lifecycle stage",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/lifecycle/stages/initialize": {
      "post": {
        "description": "Authentication: bearer token required. Initialize default lifecycle stages (Investigating, Monitoring, Resolved)",
        "operationId": "lifecycle_InitializeDefaultStages_post_admin_lifecycle_stages_initialize",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Initialize default stages",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/lifecycle/stages/reorder": {
      "post": {
        "description": "Authentication: bearer token required. Reorder incident lifecycle stages by providing an array of stage IDs in the desired order",
        "operationId": "lifecycle_ReorderStages_post_admin_lifecycle_stages_reorder",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              }
            }
          },
          "description": "Array of stage IDs in desired order",
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Reorder lifecycle stages",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/lifecycle/stages/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete an incident lifecycle stage",
        "operationId": "lifecycle_DeleteStage_delete_admin_lifecycle_stages_id",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete a lifecycle stage",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Get a single lifecycle stage by ID",
        "operationId": "lifecycle_GetStage_get_admin_lifecycle_stages_id",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.IncidentLifecycleStage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get a lifecycle stage",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update an incident lifecycle stage",
        "operationId": "lifecycle_UpdateStage_put_admin_lifecycle_stages_id",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.IncidentLifecycleStage"
              }
            }
          },
          "description": "Stage object",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.IncidentLifecycleStage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update a lifecycle stage",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/lifecycle/stages/{id}/set-default": {
      "post": {
        "description": "Authentication: bearer token required. Set a lifecycle stage as the default for new incidents",
        "operationId": "lifecycle_SetDefaultStage_post_admin_lifecycle_stages_id_set_default",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Set default stage",
        "tags": [
          "lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/localized-content/{resource_type}/{resource_id}": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "localizedContent_List_get_admin_localized_content_resource_type_resource_id",
        "parameters": [
          {
            "description": "Operational resource type",
            "in": "path",
            "name": "resource_type",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Operational resource ID",
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.LocalizedContent"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List localized operational content",
        "tags": [
          "localization"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "localizedContent_Upsert_put_admin_localized_content_resource_type_resource_id",
        "parameters": [
          {
            "description": "Operational resource type",
            "in": "path",
            "name": "resource_type",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Operational resource ID",
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.LocalizedContent"
              }
            }
          },
          "description": "Localized content",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.LocalizedContent"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Save localized operational content",
        "tags": [
          "localization"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenance-lifecycle/stages": {
      "get": {
        "description": "Authentication: bearer token required. Get all maintenance lifecycle stages ordered by display_order.",
        "operationId": "maintenanceLifecycle_GetAllStages_get_admin_maintenance_lifecycle_stages",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get all maintenance lifecycle stages",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new maintenance lifecycle stage.",
        "operationId": "maintenanceLifecycle_CreateStage_post_admin_maintenance_lifecycle_stages",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
              }
            }
          },
          "description": "Maintenance lifecycle stage object",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create a maintenance lifecycle stage",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenance-lifecycle/stages/initialize": {
      "post": {
        "description": "Authentication: bearer token required. Initialize default maintenance lifecycle stages (Scheduled, In Progress, Completed, Cancelled).",
        "operationId": "maintenanceLifecycle_InitializeDefaultStages_post_admin_maintenance_lifecycle_stages_initialize",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Initialize default maintenance lifecycle stages",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenance-lifecycle/stages/reorder": {
      "post": {
        "description": "Authentication: bearer token required. Reorder maintenance lifecycle stages by providing an array of stage IDs in the desired order.",
        "operationId": "maintenanceLifecycle_ReorderStages_post_admin_maintenance_lifecycle_stages_reorder",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              }
            }
          },
          "description": "Array of stage IDs in desired order",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Reorder maintenance lifecycle stages",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenance-lifecycle/stages/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete a maintenance lifecycle stage by ID.",
        "operationId": "maintenanceLifecycle_DeleteStage_delete_admin_maintenance_lifecycle_stages_id",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete a maintenance lifecycle stage",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Get one maintenance lifecycle stage by ID.",
        "operationId": "maintenanceLifecycle_GetStage_get_admin_maintenance_lifecycle_stages_id",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get a maintenance lifecycle stage",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update an existing maintenance lifecycle stage.",
        "operationId": "maintenanceLifecycle_UpdateStage_put_admin_maintenance_lifecycle_stages_id",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
              }
            }
          },
          "description": "Maintenance lifecycle stage object",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.MaintenanceLifecycleStage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update a maintenance lifecycle stage",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenance-lifecycle/stages/{id}/set-default": {
      "post": {
        "description": "Authentication: bearer token required. Set a maintenance lifecycle stage as default for new maintenances.",
        "operationId": "maintenanceLifecycle_SetDefaultStage_post_admin_maintenance_lifecycle_stages_id_set_default",
        "parameters": [
          {
            "description": "Stage ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Set default maintenance lifecycle stage",
        "tags": [
          "maintenance-lifecycle"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances": {
      "get": {
        "description": "Authentication: bearer token required. List maintenance windows for admin workflows on the current page. The default response is a compact summary; append `?view=full` to the URL for the full maintenance document.",
        "operationId": "maintenance_GetMaintenances_get_admin_maintenances",
        "parameters": [
          {
            "description": "Time-window filter (upcoming|active|past|scheduled)",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by maintenance lifecycle stage ID",
            "in": "query",
            "name": "lifecycle_stage_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter by maintenance lifecycle stage name (case-insensitive)",
            "in": "query",
            "name": "lifecycle_stage_name",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "List payload shape. Defaults to `summary`. Append `?view=full` to the URL when you want the full maintenance document used by admin surfaces.",
            "example": "full",
            "in": "query",
            "name": "view",
            "required": false,
            "schema": {
              "default": "summary",
              "enum": [
                "summary",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": [
                  {
                    "affected_items_count": 1,
                    "external_id": "maintenance-elastic-eu-west-2-2026-03-25",
                    "id": 88,
                    "lifecycle_stage_id": 1,
                    "lifecycle_stage_name": "Scheduled",
                    "scheduled_end_time": "2026-03-25T21:45:00Z",
                    "scheduled_start_time": "2026-03-25T21:00:00Z",
                    "status": "scheduled",
                    "title": "API maintenance",
                    "updated_at": "2026-03-24T14:30:00Z"
                  }
                ],
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers.adminMaintenanceSummaryResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Result-View": {
                "description": "Payload shape returned for the list response.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List maintenance windows",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a new maintenance window for the current page. For automation, prefer supplying external_id and affected item references by external_id or slug.",
        "operationId": "maintenance_CreateMaintenance_post_admin_maintenances",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "affected_items": [
                  {
                    "slug": "public-api"
                  }
                ],
                "scheduled_end_time": "2026-03-25T21:45:00Z",
                "scheduled_start_time": "2026-03-25T21:00:00Z",
                "status": "scheduled",
                "title": "API maintenance"
              },
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceCreateRequest"
              }
            }
          },
          "description": "Maintenance create payload",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MaintenanceResource"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create maintenance",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/external/{external_id}": {
      "get": {
        "description": "Authentication: bearer token required. Return one maintenance window by its stable external_id.",
        "operationId": "maintenance_GetMaintenanceByExternalID_get_admin_maintenances_external_external_id",
        "parameters": [
          {
            "description": "external id",
            "in": "path",
            "name": "external_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MaintenanceResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get maintenance by external ID",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/maintenances/external/{external_id}/updates": {
      "post": {
        "description": "Authentication: bearer token required. Add a maintenance timeline update addressed by stable external_id.",
        "operationId": "maintenance_AddMaintenanceUpdateByExternalID_post_admin_maintenances_external_external_id_updates",
        "parameters": [
          {
            "description": "external id",
            "in": "path",
            "name": "external_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "lifecycle_stage_name": "In Progress",
                "message": "Maintenance is in progress. Engineers are validating cluster health.",
                "status": "in_progress"
              },
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceAddUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "created_at": "2026-03-25T21:07:00Z",
                  "id": 301,
                  "lifecycle_stage_id": 2,
                  "maintenance_id": 88,
                  "message": "Maintenance is in progress. Engineers are validating cluster health.",
                  "status": "in_progress",
                  "updated_at": "2026-03-25T21:07:00Z"
                },
                "schema": {
                  "$ref": "#/components/schemas/api.MaintenanceUpdateResource"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Add maintenance update by external ID",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/recurrence-series": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_GetMaintenanceRecurrenceSeries_get_admin_maintenances_recurrence_series",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.MaintenanceRecurrenceSeries"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get maintenance recurrence series",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_CreateMaintenanceRecurrenceSeries_post_admin_maintenances_recurrence_series",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceSeriesRequest"
              }
            }
          },
          "description": "Maintenance recurrence series payload",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.MaintenanceRecurrenceSeries"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create maintenance recurrence series",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/recurrence-series/preview": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_PreviewMaintenanceRecurrenceSeries_post_admin_maintenances_recurrence_series_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceSeriesRequest"
              }
            }
          },
          "description": "Maintenance recurrence series payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceOccurrencesResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Preview maintenance recurrence series",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/recurrence-series/{series_id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_DeleteMaintenanceRecurrenceSeries_delete_admin_maintenances_recurrence_series_series_id",
        "parameters": [
          {
            "description": "Series ID",
            "in": "path",
            "name": "series_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete maintenance recurrence series",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_GetMaintenanceRecurrenceSeriesByID_get_admin_maintenances_recurrence_series_series_id",
        "parameters": [
          {
            "description": "Series ID",
            "in": "path",
            "name": "series_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.MaintenanceRecurrenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get maintenance recurrence series by ID",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_UpdateMaintenanceRecurrenceSeries_put_admin_maintenances_recurrence_series_series_id",
        "parameters": [
          {
            "description": "Series ID",
            "in": "path",
            "name": "series_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceSeriesRequest"
              }
            }
          },
          "description": "Maintenance recurrence series payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.MaintenanceRecurrenceSeries"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update maintenance recurrence series",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/recurrence-series/{series_id}/occurrences/{occurrence_key}/skip": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_UnskipMaintenanceRecurrenceOccurrence_delete_admin_maintenances_recurrence_series_series_id_occurrences_occurrence_key_skip",
        "parameters": [
          {
            "description": "Series ID",
            "in": "path",
            "name": "series_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Occurrence key",
            "in": "path",
            "name": "occurrence_key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Unskip maintenance recurrence occurrence",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_SkipMaintenanceRecurrenceOccurrence_post_admin_maintenances_recurrence_series_series_id_occurrences_occurrence_key_skip",
        "parameters": [
          {
            "description": "Series ID",
            "in": "path",
            "name": "series_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Occurrence key",
            "in": "path",
            "name": "occurrence_key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceSkipRequest"
              }
            }
          },
          "description": "Maintenance recurrence skip payload",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Skip maintenance recurrence occurrence",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/recurrence-series/{series_id}/schedule": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "maintenance_GetMaintenanceRecurrenceSchedule_get_admin_maintenances_recurrence_series_series_id_schedule",
        "parameters": [
          {
            "description": "Series ID",
            "in": "path",
            "name": "series_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Maximum occurrence count",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.MaintenanceRecurrenceOccurrencesResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get maintenance recurrence schedule",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/maintenances/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete a maintenance window and its updates.",
        "operationId": "maintenance_DeleteMaintenance_delete_admin_maintenances_id",
        "parameters": [
          {
            "description": "Maintenance ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete maintenance",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Return one maintenance window by ID for admin workflows.",
        "operationId": "maintenance_GetMaintenance_get_admin_maintenances_id",
        "parameters": [
          {
            "description": "Maintenance ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.PublicMaintenance"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get maintenance window",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.read",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update an existing maintenance window.",
        "operationId": "maintenance_UpdateMaintenance_put_admin_maintenances_id",
        "parameters": [
          {
            "description": "Maintenance ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "affected_items": [
                  {
                    "id": 7
                  },
                  {
                    "id": 9
                  }
                ],
                "auto_transition_complete_message": "Maintenance has completed successfully.",
                "auto_transition_enabled": true,
                "auto_transition_start_message": "Maintenance has started and work is in progress.",
                "description": "Maintenance scope updated with an additional cache failover check.",
                "impact": "Customers may notice brief latency spikes during validation.",
                "lifecycle_stage_name": "In Progress",
                "scheduled_end_time": "2026-03-25T22:00:00Z",
                "scheduled_start_time": "2026-03-25T21:00:00Z",
                "status": "in_progress",
                "title": "Public API maintenance - eu-west-2"
              },
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceUpdateRequest"
              }
            }
          },
          "description": "Maintenance update payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MaintenanceResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update maintenance",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/{id}/cancel": {
      "post": {
        "description": "Authentication: bearer token required. Manually cancel a maintenance window.",
        "operationId": "maintenance_CancelMaintenance_post_admin_maintenances_id_cancel",
        "parameters": [
          {
            "description": "Maintenance ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MaintenanceResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Cancel maintenance",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/{id}/complete": {
      "post": {
        "description": "Authentication: bearer token required. Manually mark a maintenance window as completed.",
        "operationId": "maintenance_CompleteMaintenance_post_admin_maintenances_id_complete",
        "parameters": [
          {
            "description": "Maintenance ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MaintenanceResource"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Complete maintenance",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/{id}/link-channel": {
      "post": {
        "description": "Authentication: bearer token required. Link a Slack channel to one maintenance window.",
        "operationId": "maintenance_LinkChannel_post_admin_maintenances_id_link_channel",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.ChannelLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Link Slack channel to maintenance window",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/maintenances/{id}/updates": {
      "post": {
        "description": "Authentication: bearer token required. Post an update to a maintenance window and optionally transition lifecycle stage/status.",
        "operationId": "maintenance_AddMaintenanceUpdate_post_admin_maintenances_id_updates",
        "parameters": [
          {
            "description": "Maintenance ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "lifecycle_stage_name": "In Progress",
                "message": "Maintenance is in progress. Engineers are validating cluster health.",
                "status": "in_progress"
              },
              "schema": {
                "$ref": "#/components/schemas/handlers.MaintenanceAddUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "created_at": "2026-03-25T21:07:00Z",
                  "id": 301,
                  "lifecycle_stage_id": 2,
                  "maintenance_id": 88,
                  "message": "Maintenance is in progress. Engineers are validating cluster health.",
                  "status": "in_progress",
                  "updated_at": "2026-03-25T21:07:00Z"
                },
                "schema": {
                  "$ref": "#/components/schemas/api.MaintenanceUpdateResource"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Add maintenance update",
        "tags": [
          "maintenances"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-required-permission": "page.maintenances.manage",
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/managed-domains": {
      "get": {
        "description": "Authentication: bearer token required. List managed domains for the current page.",
        "operationId": "managedDomains_List_get_admin_managed_domains",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ManagedDomainListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List managed domains",
        "tags": [
          "managed-domains"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a managed domain for the current page.",
        "operationId": "managedDomains_Create_post_admin_managed_domains",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/service.ManagedDomainCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.managedDomainResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create managed domain",
        "tags": [
          "managed-domains"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/managed-domains/{domain_id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete one managed domain from the current page.",
        "operationId": "managedDomains_Delete_delete_admin_managed_domains_domain_id",
        "parameters": [
          {
            "description": "domain id",
            "in": "path",
            "name": "domain_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete managed domain",
        "tags": [
          "managed-domains"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/managed-domains/{domain_id}/actions/{action}": {
      "post": {
        "description": "Authentication: bearer token required. Run a supported action for one managed domain.",
        "operationId": "managedDomains_Action_post_admin_managed_domains_domain_id_actions_action",
        "parameters": [
          {
            "description": "domain id",
            "in": "path",
            "name": "domain_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "action",
            "in": "path",
            "name": "action",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ManagedDomainActionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Run managed-domain action",
        "tags": [
          "managed-domains"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/me": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "auth_GetCurrentUser_get_admin_me",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.UserResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Current User",
        "tags": [
          "auth"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/onboarding": {
      "get": {
        "description": "Authentication: bearer token required. Return onboarding progress and recommendations for the current page.",
        "operationId": "onboarding_Get_get_admin_onboarding",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.statusPageOnboardingResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get onboarding status",
        "tags": [
          "onboarding"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update onboarding progress for the current page.",
        "operationId": "onboarding_Update_put_admin_onboarding",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.updateStatusPageOnboardingRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.statusPageOnboardingResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update onboarding status",
        "tags": [
          "onboarding"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/page-settings": {
      "get": {
        "description": "Authentication: bearer token required. Return page-local settings such as page name, slugs, visibility, served domains, and viewer access configuration.",
        "operationId": "statusPage_GetStatusPageAdminDetails_get_admin_page_settings",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.StatusPageSummary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get page identity and access settings",
        "tags": [
          "page-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update page-local settings such as page name, slugs, visibility, served domains, and viewer access configuration.",
        "operationId": "statusPage_UpdateStatusPageAdminDetails_put_admin_page_settings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.updateStatusPageAdminDetailsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.StatusPageSummary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update page identity and access settings",
        "tags": [
          "page-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/preset-messages": {
      "get": {
        "description": "Authentication: bearer token required. List reusable preset messages for incidents, maintenance windows, and related workflows.",
        "operationId": "presetMsg_GetAll_get_admin_preset_messages",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.PresetMessage"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List preset messages",
        "tags": [
          "preset-messages"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a reusable preset message.",
        "operationId": "presetMsg_Create_post_admin_preset_messages",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.PresetMessageMutationRequest"
              }
            }
          },
          "description": "Preset message payload",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.PresetMessage"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create preset message",
        "tags": [
          "preset-messages"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/preset-messages/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete a reusable preset message.",
        "operationId": "presetMsg_Delete_delete_admin_preset_messages_id",
        "parameters": [
          {
            "description": "Preset message ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete preset message",
        "tags": [
          "preset-messages"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update a reusable preset message.",
        "operationId": "presetMsg_Update_put_admin_preset_messages_id",
        "parameters": [
          {
            "description": "Preset message ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.PresetMessageMutationRequest"
              }
            }
          },
          "description": "Preset message payload",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.PresetMessage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update preset message",
        "tags": [
          "preset-messages"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/public-slug-change/confirm": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_ConfirmStatusPagePublicSlugChange_post_admin_public_slug_change_confirm",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.confirmStatusPagePublicSlugChangeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.StatusPageSummary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Confirm Status Page Public Slug Change",
        "tags": [
          "status-pages"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/public-slug-change/preflight": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_PreflightStatusPagePublicSlugChange_post_admin_public_slug_change_preflight",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.preflightStatusPagePublicSlugChangeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.statusPagePublicSlugChangePreflightResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Preflight Status Page Public Slug Change",
        "tags": [
          "status-pages"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/public-slug-change/{reservation_id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusPage_CancelStatusPagePublicSlugChange_delete_admin_public_slug_change_reservation_id",
        "parameters": [
          {
            "description": "reservation id",
            "in": "path",
            "name": "reservation_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Cancel Status Page Public Slug Change",
        "tags": [
          "status-pages"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings": {
      "get": {
        "description": "Authentication: bearer token required. Return public-page customization and communication settings such as branding, homepage sections, embeds, notifications, and locale defaults.",
        "operationId": "settings_GetAdminSettings_get_admin_site_settings",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SiteSettings"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get public site settings",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update public-page customization and communication settings such as branding, homepage sections, embeds, notifications, and locale defaults.",
        "operationId": "settings_UpdateSettings_put_admin_site_settings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.UpdateSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SiteSettings"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update public site settings",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/assets/background": {
      "post": {
        "description": "Authentication: bearer token required. Uploads a page or header background image for the current status page and returns the managed asset path.",
        "operationId": "settings_UploadBackgroundAsset_post_admin_site_settings_assets_background",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "description": "Background image file",
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.uploadBrandAssetResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Upload Background Asset",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/assets/favicon": {
      "post": {
        "description": "Authentication: bearer token required. Upload a public-page favicon asset for the current page.",
        "operationId": "settings_UploadFaviconAsset_post_admin_site_settings_assets_favicon",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "description": "Favicon image file",
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.uploadBrandAssetResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Upload site favicon",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/assets/font": {
      "post": {
        "description": "Authentication: bearer token required. Uploads a same-origin WOFF2 font for the current status page and returns the managed asset path.",
        "operationId": "settings_UploadFontAsset_post_admin_site_settings_assets_font",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "description": "WOFF2 font file",
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.uploadBrandAssetResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Upload Font Asset",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/assets/logo": {
      "post": {
        "description": "Authentication: bearer token required. Upload a public-page logo asset for the current page.",
        "operationId": "settings_UploadLogoAsset_post_admin_site_settings_assets_logo",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "description": "Logo image file",
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.uploadBrandAssetResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Upload site logo",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/config-status": {
      "get": {
        "description": "Authentication: bearer token required. Return the readiness status of communication integrations used by the public page.",
        "operationId": "settings_GetCommunicationConfigStatus_get_admin_site_settings_config_status",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.communicationConfigStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get communication config status",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/site-settings/custom-css/disable": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "settings_DisableCustomCSS_post_admin_site_settings_custom_css_disable",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SiteSettings"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Disable Custom CSS",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/custom-css/preview": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "settings_CreateCustomCSSPreview_post_admin_site_settings_custom_css_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.CustomCSSPreviewRequest"
              }
            }
          },
          "description": "Page-scoped custom CSS draft",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.CustomCSSPreviewResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create Custom CSS Preview",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/custom-css/revisions": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "settings_ListCustomCSSRevisions_get_admin_site_settings_custom_css_revisions",
        "parameters": [
          {
            "description": "Maximum number of revisions",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.SiteSettingsCustomCSSRevision"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List Custom CSS Revisions",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/site-settings/custom-css/revisions/{revision_id}/rollback": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "settings_RollbackCustomCSSRevision_post_admin_site_settings_custom_css_revisions_revision_id_rollback",
        "parameters": [
          {
            "description": "Custom CSS revision identifier",
            "in": "path",
            "name": "revision_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SiteSettings"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Rollback Custom CSS Revision",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/visual/preview": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "settings_CreateVisualPreview_post_admin_site_settings_visual_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.VisualPreviewRequest"
              }
            }
          },
          "description": "Allow-listed public visual settings draft",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.CustomCSSPreviewResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create Visual Settings Preview",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/site-settings/visual/revisions": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "settings_ListVisualRevisions_get_admin_site_settings_visual_revisions",
        "parameters": [
          {
            "description": "Maximum number of revisions",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.SiteSettingsVisualRevision"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List Visual Settings Revisions",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/site-settings/visual/revisions/{revision_id}/rollback": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "settings_RollbackVisualRevision_post_admin_site_settings_visual_revisions_revision_id_rollback",
        "parameters": [
          {
            "description": "Visual revision identifier",
            "in": "path",
            "name": "revision_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SiteSettings"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Roll Back Visual Settings Revision",
        "tags": [
          "site-settings"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/slack/app/channels": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "slackApp_ListWorkspaceChannels_get_admin_slack_app_channels",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SlackWorkspaceChannelListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List Workspace Channels",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/slack/app/oauth/callback": {
      "post": {
        "description": "Authentication: bearer token required. Complete the Slack OAuth flow for the current page.",
        "operationId": "slackApp_OAuthCallback_post_admin_slack_app_oauth_callback",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.SlackOAuthCallbackRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.SlackAppConnectedResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Complete Slack OAuth",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/slack/app/oauth/initiate": {
      "get": {
        "description": "Authentication: bearer token required. Start the Slack OAuth flow for the current page.",
        "operationId": "slackApp_InitiateOAuth_get_admin_slack_app_oauth_initiate",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.AuthURLResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Start Slack OAuth",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/slack/app/settings": {
      "delete": {
        "description": "Authentication: bearer token required. Remove Slack integration settings for the current page.",
        "operationId": "slackApp_ClearSettings_delete_admin_slack_app_settings",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Clear Slack settings",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Return Slack integration settings for the current page.",
        "operationId": "slackApp_GetSettings_get_admin_slack_app_settings",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.SlackAppSettingsResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Slack settings",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update Slack integration settings for the current page.",
        "operationId": "slackApp_UpdateSettings_put_admin_slack_app_settings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.SlackAppUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update Slack settings",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/slack/channel/{channel_id}/link-status": {
      "get": {
        "description": "Authentication: bearer token required. Return the link status for one Slack channel on the current page.",
        "operationId": "slackApp_GetChannelLinkStatus_get_admin_slack_channel_channel_id_link_status",
        "parameters": [
          {
            "description": "Slack channel identifier",
            "in": "path",
            "name": "channel_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.SlackChannelLinkStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Slack channel link status",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/slack/channel/{channel_id}/reminder-settings": {
      "delete": {
        "description": "Authentication: bearer token required. Remove custom reminder settings for one linked Slack channel.",
        "operationId": "slackApp_DeleteChannelReminderSettings_delete_admin_slack_channel_channel_id_reminder_settings",
        "parameters": [
          {
            "description": "Slack channel identifier",
            "in": "path",
            "name": "channel_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete Slack reminder settings",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Return reminder settings for one linked Slack channel.",
        "operationId": "slackApp_GetChannelReminderSettings_get_admin_slack_channel_channel_id_reminder_settings",
        "parameters": [
          {
            "description": "Slack channel identifier",
            "in": "path",
            "name": "channel_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.SlackChannelReminderSettingsResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Slack reminder settings",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update reminder settings for one linked Slack channel.",
        "operationId": "slackApp_UpsertChannelReminderSettings_put_admin_slack_channel_channel_id_reminder_settings",
        "parameters": [
          {
            "description": "Slack channel identifier",
            "in": "path",
            "name": "channel_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.SlackChannelReminderSettingsUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update Slack reminder settings",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/slack/link/initiate": {
      "post": {
        "description": "Authentication: bearer token required. Confirm a pending Slack user-link request.",
        "operationId": "slack_InitiateLink_post_admin_slack_link_initiate",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.SlackInitiateLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.NonceResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Confirm Slack user link",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/slack/link/{nonce}/confirm": {
      "post": {
        "description": "Authentication: bearer token required. Confirm a pending Slack user-link request.",
        "operationId": "slack_ConfirmLink_post_admin_slack_link_nonce_confirm",
        "parameters": [
          {
            "description": "nonce",
            "in": "path",
            "name": "nonce",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Confirm Slack user link",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/slack/users/{slack_user_id}": {
      "delete": {
        "description": "Authentication: bearer token required. Remove a linked Slack user from the current page.",
        "operationId": "slack_DeleteUserLink_delete_admin_slack_users_slack_user_id",
        "parameters": [
          {
            "description": "Slack user identifier",
            "in": "path",
            "name": "slack_user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete linked Slack user",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Return a linked Slack user for the current page.",
        "operationId": "slack_GetUserLink_get_admin_slack_users_slack_user_id",
        "parameters": [
          {
            "description": "Slack user identifier",
            "in": "path",
            "name": "slack_user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.SlackUserLinkResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get linked Slack user",
        "tags": [
          "slack"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/sso/group-mappings": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "oidc_GetAllGroupMappings_get_admin_sso_group_mappings",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.OIDCGroupMapping"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get All Group Mappings",
        "tags": [
          "oidc"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "oidc_CreateGroupMapping_post_admin_sso_group_mappings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.CreateGroupMappingRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.OIDCGroupMapping"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create Group Mapping",
        "tags": [
          "oidc"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/sso/group-mappings/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "oidc_DeleteGroupMapping_delete_admin_sso_group_mappings_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete Group Mapping",
        "tags": [
          "oidc"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "oidc_UpdateGroupMapping_put_admin_sso_group_mappings_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.UpdateGroupMappingRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update Group Mapping",
        "tags": [
          "oidc"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/status-definitions": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusDef_GetAll_get_admin_status_definitions",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.StatusDefinition"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get All",
        "tags": [
          "status-definitions"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Create a public status definition.",
        "operationId": "statusDef_Create_post_admin_status_definitions",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.StatusDefinition"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.StatusDefinition"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create status definition",
        "tags": [
          "status-definitions"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/status-definitions/initialize": {
      "post": {
        "description": "Authentication: bearer token required. Create the default set of public status definitions.",
        "operationId": "statusDef_Initialize_post_admin_status_definitions_initialize",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Initialize default status definitions",
        "tags": [
          "status-definitions"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/status-definitions/reorder": {
      "post": {
        "description": "Authentication: bearer token required. Update the display order of public status definitions.",
        "operationId": "statusDef_Reorder_post_admin_status_definitions_reorder",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Reorder status definitions",
        "tags": [
          "status-definitions"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/status-definitions/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Delete one public status definition.",
        "operationId": "statusDef_Delete_delete_admin_status_definitions_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete status definition",
        "tags": [
          "status-definitions"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required. Return one public status definition by ID.",
        "operationId": "statusDef_GetByID_get_admin_status_definitions_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.StatusDefinition"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get status definition",
        "tags": [
          "status-definitions"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required. Update one public status definition.",
        "operationId": "statusDef_Update_put_admin_status_definitions_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/models.StatusDefinition"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.StatusDefinition"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update status definition",
        "tags": [
          "status-definitions"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/status-events/item/{item_id}": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusEvent_GetEventsForItem_get_admin_status_events_item_item_id",
        "parameters": [
          {
            "description": "item id",
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.StatusEventListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Events For Item",
        "tags": [
          "status-events"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/status-events/{id}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusEvent_DeleteEvent_delete_admin_status_events_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.StatusEventDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.StatusEventDeleteResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete Event",
        "tags": [
          "status-events"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusEvent_GetEvent_get_admin_status_events_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.StatusEvent"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Event",
        "tags": [
          "status-events"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "statusEvent_UpdateEventTime_put_admin_status_events_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.StatusEventUpdateTimeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.StatusEventUpdateTimeResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Update Event Time",
        "tags": [
          "status-events"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/subscribers": {
      "get": {
        "description": "Authentication: bearer token required. List subscribers for the current page. By default this returns a compact summary payload. Add `view=full` when you want the full subscriber profile document.",
        "operationId": "subscriber_ListSubscribers_get_admin_subscribers",
        "parameters": [
          {
            "description": "Page size (max 200)",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Page offset",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Search query (email or phone)",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by status",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by hygiene status",
            "in": "query",
            "name": "hygiene_status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "List payload shape. Defaults to `summary`. Append `?view=full` to the URL when you want subscriber profile fields like description, timezone, and timestamps.",
            "example": "full",
            "in": "query",
            "name": "view",
            "required": false,
            "schema": {
              "default": "summary",
              "enum": [
                "summary",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": [
                  {
                    "email": "ops@example.com",
                    "hygiene_reason": "",
                    "hygiene_status": "deliverable",
                    "id": 21,
                    "name": "Status Subscription",
                    "phone_e164": "+447700900123",
                    "status": "active",
                    "updated_at": "2026-04-10T10:05:00Z"
                  }
                ],
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers.subscriberSummaryResponse"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Result-View": {
                "description": "Payload shape returned for the list response.",
                "schema": {
                  "type": "string"
                }
              },
              "X-Total-Count": {
                "description": "Total number of matching subscribers.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List Subscribers",
        "tags": [
          "subscribers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/subscribers/bulk": {
      "post": {
        "description": "Authentication: bearer token required. Applies a bulk hygiene or delivery action to selected subscribers.",
        "operationId": "subscriber_BulkSubscribers_post_admin_subscribers_bulk",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.subscriberBulkActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.SubscriberBulkActionResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Apply Subscriber Bulk Action",
        "tags": [
          "subscribers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/subscribers/export": {
      "get": {
        "description": "Authentication: bearer token required. Exports subscribers and delivery hygiene state as CSV for the current page.",
        "operationId": "subscriber_ExportSubscribers_get_admin_subscribers_export",
        "parameters": [
          {
            "description": "Search query",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by lifecycle status",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by hygiene status",
            "in": "query",
            "name": "hygiene_status",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Export Subscribers CSV",
        "tags": [
          "subscribers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/subscribers/import": {
      "post": {
        "description": "Authentication: bearer token required. Imports subscribers from CSV for the current page.",
        "operationId": "subscriber_ImportSubscribers_post_admin_subscribers_import",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "description": "CSV file",
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.SubscriberImportResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Import Subscribers CSV",
        "tags": [
          "subscribers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/subscribers/stats": {
      "get": {
        "description": "Authentication: bearer token required. Admin subscriber hygiene and lifecycle summary counts.",
        "operationId": "subscriber_GetSubscriberStats_get_admin_subscribers_stats",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.SubscriberAdminStats"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Subscriber Admin Stats",
        "tags": [
          "subscribers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/subscribers/{id}/subscriptions": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "subscriber_AdminGetSubscriptions_get_admin_subscribers_id_subscriptions",
        "parameters": [
          {
            "description": "Subscriber ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.AdminSubscriptionPreferencesResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Subscriber Subscriptions",
        "tags": [
          "subscribers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "subscriber_AdminReplaceSubscriptions_put_admin_subscribers_id_subscriptions",
        "parameters": [
          {
            "description": "Subscriber ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.SubscriptionPreferencesUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.AdminSubscriptionPreferencesUpdateResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Replace Subscriber Subscriptions",
        "tags": [
          "subscribers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/terraform-export": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "terraformExport_CreateExport_post_admin_terraform_export",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "feature_groups": [
                  "hierarchy",
                  "settings"
                ]
              },
              "schema": {
                "$ref": "#/components/schemas/service.TerraformExportRequest"
              }
            }
          },
          "required": false
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "download_url": "/api/v1/admin/terraform-export/tfexp_01hzk2w3example/download",
                  "export_id": "tfexp_01hzk2w3example",
                  "manifest_url": "/api/v1/admin/terraform-export/tfexp_01hzk2w3example/manifest",
                  "status": "ready",
                  "unsupported": [],
                  "warnings": []
                },
                "schema": {
                  "$ref": "#/components/schemas/handlers.TerraformExportResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create Export",
        "tags": [
          "terraform-export"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/terraform-export/{export_id}/download": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "terraformExport_Download_get_admin_terraform_export_export_id_download",
        "parameters": [
          {
            "description": "Terraform export identifier",
            "in": "path",
            "name": "export_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/zip": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Download",
        "tags": [
          "terraform-export"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/terraform-export/{export_id}/lockdown": {
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "terraformExport_ActivateLockdown_post_admin_terraform_export_export_id_lockdown",
        "parameters": [
          {
            "description": "Terraform export identifier",
            "in": "path",
            "name": "export_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "export_id": "tfexp_01hzk2w3example",
                  "status": "ready",
                  "terraform_lockdown_enabled": true,
                  "terraform_locked_features": [
                    "hierarchy",
                    "status_definitions",
                    "synthetic_monitors",
                    "settings",
                    "identity_providers"
                  ]
                },
                "schema": {
                  "$ref": "#/components/schemas/api.TerraformLockdownResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Activate Lockdown",
        "tags": [
          "terraform-export"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/terraform-export/{export_id}/manifest": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "terraformExport_GetManifest_get_admin_terraform_export_export_id_manifest",
        "parameters": [
          {
            "description": "Terraform export identifier",
            "in": "path",
            "name": "export_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "app_version": "2026.03.25",
                  "created_at": "2026-03-25T21:30:00Z",
                  "export_id": "tfexp_01hzk2w3example",
                  "feature_groups": [
                    "hierarchy",
                    "status_definitions",
                    "lifecycle",
                    "maintenance_lifecycle",
                    "synthetic_monitors",
                    "settings",
                    "identity_providers"
                  ],
                  "lock_plan": {
                    "enable_after_import": true,
                    "locked_features": [
                      "hierarchy",
                      "status_definitions",
                      "synthetic_monitors",
                      "settings",
                      "identity_providers"
                    ]
                  },
                  "provider_version_constraint": "\u003e 1.0.0",
                  "resource_counts": {
                    "hierarchy_items": 12,
                    "incident_lifecycle_stages": 3,
                    "maintenance_lifecycle_stages": 4,
                    "page_admin_auth_provider_records": 1,
                    "page_viewer_auth_provider_records": 1,
                    "status_definitions": 5,
                    "synthetic_monitors": 2
                  },
                  "schema_hash": "sha256:3fb91bc21e0f5c6d7a1e4f2dbd6ef0f7c9d8a2a1d0c4b6e8f1a2c3d4e5f60708",
                  "status": "ready",
                  "terraform_version_constraint": "\u003e= 1.11.0",
                  "unsupported": [],
                  "warnings": []
                },
                "schema": {
                  "$ref": "#/components/schemas/service.TerraformExportManifest"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get Manifest",
        "tags": [
          "terraform-export"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:admin"
        ]
      }
    },
    "/api/v1/admin/view-alias-blocklist": {
      "get": {
        "description": "Authentication: bearer token required. List blocked aliases that cannot be used by custom views.",
        "operationId": "viewAliasBlocklist_GetAll_get_admin_view_alias_blocklist",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.ViewAliasBlocklistEntry"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List blocked view aliases",
        "tags": [
          "view-alias-blocklist"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required. Add a blocked alias for custom views.",
        "operationId": "viewAliasBlocklist_Create_post_admin_view_alias_blocklist",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/api.ViewAliasBlocklistCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ViewAliasBlocklistEntry"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Create blocked view alias",
        "tags": [
          "view-alias-blocklist"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/view-alias-blocklist/{id}": {
      "delete": {
        "description": "Authentication: bearer token required. Remove a blocked alias from the view-alias blocklist.",
        "operationId": "viewAliasBlocklist_Delete_delete_admin_view_alias_blocklist_id",
        "parameters": [
          {
            "description": "id",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Delete blocked view alias",
        "tags": [
          "view-alias-blocklist"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/views": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_GetAllViews_get_admin_views",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.CustomView"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get All Views",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_AdminCreateView_post_admin_views",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.createViewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.AdminCreateViewResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Create View",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/views/stats": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_GetViewStats_get_admin_views_stats",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.ViewStats"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get View Stats",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/admin/views/{code}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_AdminDeleteView_delete_admin_views_code",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Delete View",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      },
      "put": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_AdminUpdateView_put_admin_views_code",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.updateViewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Update View",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/views/{code}/managers": {
      "get": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_AdminGetManagers_get_admin_views_code_managers",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/models.ViewManager"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Get Managers",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      },
      "post": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_AdminAddManager_post_admin_views_code_managers",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/handlers.managerEmailRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.MessageResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Add Manager",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/admin/views/{code}/managers/{email}": {
      "delete": {
        "description": "Authentication: bearer token required.",
        "operationId": "customView_AdminRemoveManager_delete_admin_views_code_managers_email",
        "parameters": [
          {
            "description": "code",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "email",
            "in": "path",
            "name": "email",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Admin Remove Manager",
        "tags": [
          "views"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:write"
        ]
      }
    },
    "/api/v1/context": {
      "get": {
        "description": "Authentication: bearer token required. Return the current organization and page scope resolved from the request host. Use this as the main discovery endpoint for page-scoped automation.",
        "operationId": "statusPage_GetAdminContext_get_context",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.currentContextResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get current page context",
        "tags": [
          "context"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "bearer",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin",
        "x-statibeat-token-scopes": [
          "admin:read"
        ]
      }
    },
    "/api/v1/external-events/ingest": {
      "post": {
        "description": "Authentication: ingest token required in the X-External-Event-Token header or Authorization bearer header. Credentials in request paths and query strings are rejected. Accepts an arbitrary JSON object from an external monitoring system and stores it in the External Beat Triggers inbox before evaluating enabled trigger rules.",
        "operationId": "externalEvent_ReceiveIngest_post_external_events_ingest",
        "parameters": [],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/service.ExternalEventIngestResult"
                }
              }
            },
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "ExternalEventToken": []
          }
        ],
        "summary": "Ingest an external event",
        "tags": [
          "external-beat-triggers"
        ],
        "x-statibeat-audience": "customer-automation",
        "x-statibeat-auth": "ingest-token",
        "x-statibeat-compatibility": false,
        "x-statibeat-stability": "stable",
        "x-statibeat-surface": "page-admin"
      }
    }
  },
  "servers": [
    {
      "description": "Use your status page or custom domain as the API host.",
      "url": "https://{page_host}",
      "variables": {
        "page_host": {
          "default": "status.example.com",
          "description": "Replace with your page host, for example status.example.com or status.your-company.com."
        }
      }
    }
  ],
  "tags": [
    {
      "description": "Operations for the alerting capability.",
      "name": "alerting"
    },
    {
      "description": "Operations for the analytics capability.",
      "name": "analytics"
    },
    {
      "description": "Create, inspect, rotate, and revoke API credentials.",
      "name": "api-tokens"
    },
    {
      "description": "Authentication and current-user operations.",
      "name": "auth"
    },
    {
      "description": "Configure identity providers and single sign-on.",
      "name": "auth-providers"
    },
    {
      "description": "Inspect roles, permissions, and authorization policy.",
      "name": "authz"
    },
    {
      "description": "Operations for the beat groups capability.",
      "name": "beat-groups"
    },
    {
      "description": "Configure and operate StatiBeat monitoring checks.",
      "name": "beats"
    },
    {
      "description": "Resolve the page or organisation associated with the request host.",
      "name": "context"
    },
    {
      "description": "Operations for the external beat triggers capability.",
      "name": "external-beat-triggers"
    },
    {
      "description": "Operations for the external webhook destinations capability.",
      "name": "external-webhook-destinations"
    },
    {
      "description": "Create and manage RSS or Atom status feeds.",
      "name": "feeds"
    },
    {
      "description": "Operations for the hierarchy config capability.",
      "name": "hierarchy-config"
    },
    {
      "description": "Read and administer status-page component hierarchy items.",
      "name": "hierarchy-items"
    },
    {
      "description": "Operations for the hierarchy validation capability.",
      "name": "hierarchy-validation"
    },
    {
      "description": "Read, create, update, and resolve incidents.",
      "name": "incidents"
    },
    {
      "description": "Operations for the lifecycle capability.",
      "name": "lifecycle"
    },
    {
      "description": "Operations for the localization capability.",
      "name": "localization"
    },
    {
      "description": "Operations for the maintenance lifecycle capability.",
      "name": "maintenance-lifecycle"
    },
    {
      "description": "Read, schedule, update, and complete maintenance windows.",
      "name": "maintenances"
    },
    {
      "description": "Operations for the managed domains capability.",
      "name": "managed-domains"
    },
    {
      "description": "Operations for the notifications capability.",
      "name": "notifications"
    },
    {
      "description": "Operations for the oidc capability.",
      "name": "oidc"
    },
    {
      "description": "Operations for the onboarding capability.",
      "name": "onboarding"
    },
    {
      "description": "Configure page identity, visibility, domains, and access.",
      "name": "page-settings"
    },
    {
      "description": "Operations for the preset messages capability.",
      "name": "preset-messages"
    },
    {
      "description": "Configure visitor-facing branding and page behaviour.",
      "name": "site-settings"
    },
    {
      "description": "Operations for the slack capability.",
      "name": "slack"
    },
    {
      "description": "Read and administer the status definitions used by a page.",
      "name": "status-definitions"
    },
    {
      "description": "Operations for the status events capability.",
      "name": "status-events"
    },
    {
      "description": "Operations for the status pages capability.",
      "name": "status-pages"
    },
    {
      "description": "Subscribe visitors and manage notification preferences.",
      "name": "subscribers"
    },
    {
      "description": "Operations for the terraform export capability.",
      "name": "terraform-export"
    },
    {
      "description": "Operations for the view alias blocklist capability.",
      "name": "view-alias-blocklist"
    },
    {
      "description": "Create and manage custom visitor views.",
      "name": "views"
    }
  ],
  "x-tagGroups": [
    {
      "name": "Page Administration",
      "tags": [
        "alerting",
        "analytics",
        "api-tokens",
        "auth",
        "auth-providers",
        "authz",
        "beat-groups",
        "beats",
        "context",
        "external-beat-triggers",
        "external-webhook-destinations",
        "feeds",
        "hierarchy-config",
        "hierarchy-items",
        "hierarchy-validation",
        "incidents",
        "lifecycle",
        "localization",
        "maintenance-lifecycle",
        "maintenances",
        "managed-domains",
        "notifications",
        "oidc",
        "onboarding",
        "page-settings",
        "preset-messages",
        "site-settings",
        "slack",
        "status-definitions",
        "status-events",
        "status-pages",
        "subscribers",
        "terraform-export",
        "view-alias-blocklist",
        "views"
      ]
    }
  ]
}
