{
  "components": {
    "schemas": {
      "Aggregate": {
        "additionalProperties": false,
        "properties": {
          "Caveats": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "Rule": {
            "type": "integer"
          },
          "State": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "Bound": {
        "additionalProperties": false,
        "properties": {
          "Description": {
            "type": "string"
          },
          "Dropped": {
            "type": "boolean"
          },
          "DurableAge": {
            "type": "boolean"
          },
          "Duration": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "BulkItemRequest": {
        "additionalProperties": false,
        "properties": {
          "subject": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "BulkOperation": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "type": "string"
          },
          "atomicity": {
            "type": "string"
          },
          "attempt": {
            "type": "integer"
          },
          "cancel_requested_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "correlation_id": {
            "type": "string"
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "failure_reason": {
            "type": "string"
          },
          "finished_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "max_attempts": {
            "type": "integer"
          },
          "progress": {
            "$ref": "#/components/schemas/BulkProgress"
          },
          "started_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "state": {
            "type": "string"
          },
          "total_items": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "BulkOperationItem": {
        "additionalProperties": false,
        "properties": {
          "error_code": {
            "type": "string"
          },
          "error_message": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "result_id": {
            "type": "string"
          },
          "settled_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "state": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "BulkParametersRequest": {
        "additionalProperties": false,
        "properties": {
          "clear_labels": {
            "type": "boolean"
          },
          "confirm": {
            "type": "string"
          },
          "group_id": {
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "template_id": {
            "type": "string"
          },
          "template_version": {
            "type": "integer"
          },
          "ungrouped": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "BulkProgress": {
        "additionalProperties": false,
        "properties": {
          "cancelled": {
            "type": "integer"
          },
          "failed": {
            "type": "integer"
          },
          "pending": {
            "type": "integer"
          },
          "skipped": {
            "type": "integer"
          },
          "succeeded": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "BulkRequest": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/BulkItemRequest"
            },
            "type": "array"
          },
          "kind": {
            "type": "string"
          },
          "parameters": {
            "$ref": "#/components/schemas/BulkParametersRequest",
            "nullable": true
          }
        },
        "type": "object"
      },
      "Dashboard": {
        "additionalProperties": false,
        "properties": {
          "activity": {
            "$ref": "#/components/schemas/DashboardActivity"
          },
          "attention": {
            "$ref": "#/components/schemas/DashboardAttention"
          },
          "availability": {
            "$ref": "#/components/schemas/DashboardAvailability"
          },
          "certificates": {
            "$ref": "#/components/schemas/DashboardCertificates"
          },
          "counters": {
            "$ref": "#/components/schemas/DashboardCounters"
          },
          "delivery": {
            "$ref": "#/components/schemas/DashboardDelivery"
          },
          "fleet": {
            "$ref": "#/components/schemas/DashboardFleet"
          },
          "generated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "latency": {
            "$ref": "#/components/schemas/DashboardLatency"
          },
          "maintenance": {
            "$ref": "#/components/schemas/DashboardMaintenance"
          },
          "priority_order": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "recently_recovered": {
            "$ref": "#/components/schemas/DashboardRecoveries"
          },
          "recovery_window_seconds": {
            "type": "integer"
          },
          "state_rollup": {
            "items": {
              "$ref": "#/components/schemas/DashboardStateGroup"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "DashboardActivity": {
        "additionalProperties": false,
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/DashboardActivityItem"
            },
            "type": "array"
          },
          "next_cursor": {
            "type": "string"
          },
          "per_source_cap": {
            "type": "integer"
          },
          "window_seconds": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardActivityItem": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "type": "string"
          },
          "occurred_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "source": {
            "type": "string"
          },
          "target_deleted": {
            "type": "boolean"
          },
          "target_id": {
            "type": "string"
          },
          "target_kind": {
            "type": "string"
          },
          "target_name": {
            "type": "string"
          },
          "verb": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardAttention": {
        "additionalProperties": false,
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/DashboardAttentionItem"
            },
            "type": "array"
          },
          "next_cursor": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardAttentionItem": {
        "additionalProperties": false,
        "properties": {
          "acknowledged_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "acknowledged_by": {
            "type": "string"
          },
          "age_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "assigned_replicas": {
            "type": "integer"
          },
          "cause": {
            "type": "string"
          },
          "class": {
            "type": "string"
          },
          "confirmation_progress": {
            "$ref": "#/components/schemas/DashboardConfirmation",
            "nullable": true
          },
          "escalation": {
            "$ref": "#/components/schemas/DashboardEscalation",
            "nullable": true
          },
          "incident_id": {
            "nullable": true,
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "monitor_name": {
            "type": "string"
          },
          "opened_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "priority": {
            "type": "integer"
          },
          "quorum": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardAvailability": {
        "additionalProperties": false,
        "properties": {
          "end": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "maintenance_adjusted_unavailable_reason": {
            "type": "string"
          },
          "measured": {
            "type": "integer"
          },
          "monitors": {
            "items": {
              "$ref": "#/components/schemas/DashboardAvailabilityMonitor"
            },
            "type": "array"
          },
          "range_seconds": {
            "type": "integer"
          },
          "start": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "truncated": {
            "type": "boolean"
          },
          "unmeasured": {
            "type": "integer"
          },
          "with_history": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardAvailabilityMetric": {
        "additionalProperties": false,
        "properties": {
          "available": {
            "type": "boolean"
          },
          "denominator_seconds": {
            "type": "number"
          },
          "formula": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "numerator_seconds": {
            "type": "number"
          },
          "percent": {
            "nullable": true,
            "type": "number"
          },
          "unavailable_reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardAvailabilityMonitor": {
        "additionalProperties": false,
        "properties": {
          "confirmed_availability": {
            "$ref": "#/components/schemas/DashboardAvailabilityMetric"
          },
          "days": {
            "type": "integer"
          },
          "degraded_seconds": {
            "type": "number"
          },
          "down_seconds": {
            "type": "number"
          },
          "maintenance_adjusted_availability": {
            "$ref": "#/components/schemas/DashboardAvailabilityMetric"
          },
          "maintenance_excluded_seconds": {
            "type": "number"
          },
          "monitor_id": {
            "type": "string"
          },
          "monitor_name": {
            "type": "string"
          },
          "strict_availability": {
            "$ref": "#/components/schemas/DashboardAvailabilityMetric"
          },
          "unknown_seconds": {
            "type": "number"
          },
          "up_seconds": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "DashboardCertificateMonitor": {
        "additionalProperties": false,
        "properties": {
          "days_left": {
            "nullable": true,
            "type": "integer"
          },
          "expires_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "monitor_id": {
            "type": "string"
          },
          "monitor_name": {
            "type": "string"
          },
          "observed": {
            "type": "boolean"
          },
          "threshold_days": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardCertificates": {
        "additionalProperties": false,
        "properties": {
          "monitors": {
            "items": {
              "$ref": "#/components/schemas/DashboardCertificateMonitor"
            },
            "type": "array"
          },
          "observed": {
            "type": "integer"
          },
          "tls_monitors": {
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          },
          "unobserved": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardConfirmation": {
        "additionalProperties": false,
        "properties": {
          "confirmed": {
            "type": "integer"
          },
          "required": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardCounters": {
        "additionalProperties": false,
        "properties": {
          "acknowledged_incidents": {
            "type": "integer"
          },
          "degraded": {
            "type": "integer"
          },
          "down": {
            "type": "integer"
          },
          "monitors": {
            "type": "integer"
          },
          "needs_attention": {
            "type": "integer"
          },
          "open_incidents": {
            "type": "integer"
          },
          "paused": {
            "type": "integer"
          },
          "pending_confirmations": {
            "type": "integer"
          },
          "unknown": {
            "type": "integer"
          },
          "up": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardCoverageGroup": {
        "additionalProperties": false,
        "properties": {
          "class": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "monitors": {
            "items": {
              "$ref": "#/components/schemas/DashboardCoverageMonitor"
            },
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DashboardCoverageMonitor": {
        "additionalProperties": false,
        "properties": {
          "assigned_replicas": {
            "type": "integer"
          },
          "desired_replicas": {
            "type": "integer"
          },
          "monitor_id": {
            "type": "string"
          },
          "monitor_name": {
            "type": "string"
          },
          "placement_block_reason": {
            "type": "string"
          },
          "quorum": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardDelivery": {
        "additionalProperties": false,
        "properties": {
          "attribution": {
            "items": {
              "$ref": "#/components/schemas/DashboardDeliveryAttribution"
            },
            "type": "array"
          },
          "attribution_note": {
            "type": "string"
          },
          "attribution_truncated": {
            "type": "boolean"
          },
          "backlog": {
            "type": "integer"
          },
          "channels": {
            "items": {
              "$ref": "#/components/schemas/DashboardDeliveryChannel"
            },
            "type": "array"
          },
          "configured_channels": {
            "type": "integer"
          },
          "dead_lettered": {
            "type": "integer"
          },
          "enabled_channels": {
            "type": "integer"
          },
          "failed": {
            "type": "integer"
          },
          "retryable": {
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          },
          "window_seconds": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardDeliveryAttribution": {
        "additionalProperties": false,
        "properties": {
          "channel_id": {
            "type": "string"
          },
          "channel_kind": {
            "type": "string"
          },
          "channel_name": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "delivered": {
            "type": "boolean"
          },
          "event_class": {
            "type": "string"
          },
          "last_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "reason": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "terminal": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DashboardDeliveryChannel": {
        "additionalProperties": false,
        "properties": {
          "channel_id": {
            "type": "string"
          },
          "channel_kind": {
            "type": "string"
          },
          "channel_name": {
            "type": "string"
          },
          "dead_lettered": {
            "type": "integer"
          },
          "failed": {
            "type": "integer"
          },
          "last_failure_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "retry_delivery_id": {
            "nullable": true,
            "type": "string"
          },
          "retryable": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardEscalation": {
        "additionalProperties": false,
        "properties": {
          "episode": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardFleet": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "items": {
              "$ref": "#/components/schemas/DashboardCoverageGroup"
            },
            "type": "array"
          },
          "covered": {
            "type": "integer"
          },
          "monitors": {
            "type": "integer"
          },
          "node_count": {
            "type": "integer"
          },
          "nodes": {
            "items": {
              "$ref": "#/components/schemas/DashboardNodeGroup"
            },
            "type": "array"
          },
          "placement_quality": {
            "items": {
              "$ref": "#/components/schemas/DashboardQualityGroup"
            },
            "type": "array"
          },
          "quality_unrecorded": {
            "type": "integer"
          },
          "unevaluated": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardLatency": {
        "additionalProperties": false,
        "properties": {
          "measured": {
            "type": "integer"
          },
          "monitors": {
            "items": {
              "$ref": "#/components/schemas/DashboardSlowMonitor"
            },
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          },
          "unmeasured": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardMaintenance": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "integer"
          },
          "beyond": {
            "type": "integer"
          },
          "live": {
            "type": "integer"
          },
          "lookahead_seconds": {
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          },
          "windows": {
            "items": {
              "$ref": "#/components/schemas/DashboardMaintenanceWindow"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "DashboardMaintenanceWindow": {
        "additionalProperties": false,
        "properties": {
          "display_timezone": {
            "type": "string"
          },
          "ends_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "in_force": {
            "type": "boolean"
          },
          "last_suppressed_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "monitors": {
            "type": "integer"
          },
          "remaining_seconds": {
            "type": "integer"
          },
          "started_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "starts_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "status": {
            "type": "string"
          },
          "suppressions": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "window_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardMonitorRef": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardNodeGroup": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "type": "integer"
          },
          "health": {
            "type": "string"
          },
          "nodes": {
            "items": {
              "$ref": "#/components/schemas/DashboardNodeRef"
            },
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DashboardNodeRef": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardQualityGroup": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "type": "integer"
          },
          "quality": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardRecoveries": {
        "additionalProperties": false,
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/DashboardRecoveryItem"
            },
            "type": "array"
          },
          "next_cursor": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DashboardRecoveryItem": {
        "additionalProperties": false,
        "properties": {
          "cause": {
            "type": "string"
          },
          "incident_id": {
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "monitor_deleted": {
            "type": "boolean"
          },
          "monitor_id": {
            "type": "string"
          },
          "monitor_name": {
            "type": "string"
          },
          "previous_state": {
            "type": "string"
          },
          "recovered_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "started_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          }
        },
        "type": "object"
      },
      "DashboardSlowMonitor": {
        "additionalProperties": false,
        "properties": {
          "latency_ms": {
            "type": "integer"
          },
          "monitor_id": {
            "type": "string"
          },
          "monitor_name": {
            "type": "string"
          },
          "observed_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "replicas": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DashboardStateGroup": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "type": "integer"
          },
          "monitors": {
            "items": {
              "$ref": "#/components/schemas/DashboardMonitorRef"
            },
            "type": "array"
          },
          "state": {
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Document": {
        "additionalProperties": false,
        "properties": {
          "aggregate": {
            "$ref": "#/components/schemas/Aggregate"
          },
          "build_identity": {
            "type": "string"
          },
          "participants": {
            "items": {
              "$ref": "#/components/schemas/ParticipantDocument"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "Envelope": {
        "additionalProperties": false,
        "properties": {
          "data": {},
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "type": "object"
      },
      "ErrorBody": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/FieldError"
            },
            "type": "array"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ErrorEnvelope": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorBody"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "type": "object"
      },
      "EscalationLadder": {
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "type": "string"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/EscalationStep"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "EscalationPolicy": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "tenant_id": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          }
        },
        "type": "object"
      },
      "EscalationPolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "enabled": {
            "nullable": true,
            "type": "boolean"
          },
          "is_default": {
            "nullable": true,
            "type": "boolean"
          },
          "name": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EscalationStep": {
        "additionalProperties": false,
        "properties": {
          "channel_id": {
            "type": "string"
          },
          "delay_seconds": {
            "type": "integer"
          },
          "step_index": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "EscalationStepRequest": {
        "additionalProperties": false,
        "properties": {
          "channel_id": {
            "nullable": true,
            "type": "string"
          },
          "delay_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "step_index": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "EscalationStepsRequest": {
        "additionalProperties": false,
        "properties": {
          "steps": {
            "items": {
              "$ref": "#/components/schemas/EscalationStepRequest"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "FieldError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "FleetApplyRequest": {
        "additionalProperties": false,
        "properties": {
          "confirm": {
            "type": "string"
          },
          "plan_version": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "FleetNode": {
        "additionalProperties": false,
        "properties": {
          "administrative_state": {
            "type": "string"
          },
          "assigned_monitors": {
            "type": "integer"
          },
          "assigned_units": {
            "type": "number"
          },
          "can_icmp": {
            "type": "boolean"
          },
          "class": {
            "type": "string"
          },
          "enrolled": {
            "type": "boolean"
          },
          "headroom_units": {
            "type": "number"
          },
          "health": {
            "type": "string"
          },
          "heartbeat_age_seconds": {
            "nullable": true,
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "last_seen_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "max_capacity_units": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "queue_capacity": {
            "type": "integer"
          },
          "queue_depth": {
            "type": "integer"
          },
          "region": {
            "type": "string"
          },
          "revoked": {
            "type": "boolean"
          },
          "scheduler_delay_p95_ms": {
            "type": "integer"
          },
          "site": {
            "type": "string"
          },
          "utilization": {
            "type": "number"
          },
          "utilization_ceiling": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "FleetPlan": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "$ref": "#/components/schemas/FleetQuality"
          },
          "applied_by": {
            "type": "string"
          },
          "attempt": {
            "type": "integer"
          },
          "before": {
            "$ref": "#/components/schemas/FleetQuality"
          },
          "cancel_requested_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "cancelled_by": {
            "type": "string"
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "expires_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "failure_reason": {
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "finished_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "max_attempts": {
            "type": "integer"
          },
          "node_id": {
            "type": "string"
          },
          "objective": {
            "type": "string"
          },
          "parameters": {
            "$ref": "#/components/schemas/FleetPlanParameters"
          },
          "planned_by": {
            "type": "string"
          },
          "progress": {
            "$ref": "#/components/schemas/FleetPlanProgress"
          },
          "snapshot_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "started_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "state": {
            "type": "string"
          },
          "total_exclusions": {
            "type": "integer"
          },
          "total_moves": {
            "type": "integer"
          },
          "version": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "FleetPlanExclusion": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "node_id": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "FleetPlanMove": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "applied_generation": {
            "nullable": true,
            "type": "integer"
          },
          "from_node_id": {
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "settled_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "skip_reason": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "to_node_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "FleetPlanParameters": {
        "additionalProperties": false,
        "properties": {
          "max_capacity_units": {
            "nullable": true,
            "type": "number"
          },
          "max_moves": {
            "type": "integer"
          },
          "utilization_ceiling": {
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "FleetPlanProgress": {
        "additionalProperties": false,
        "properties": {
          "applied": {
            "type": "integer"
          },
          "cancelled": {
            "type": "integer"
          },
          "pending": {
            "type": "integer"
          },
          "skipped": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FleetPlanRequest": {
        "additionalProperties": false,
        "properties": {
          "max_capacity_units": {
            "nullable": true,
            "type": "number"
          },
          "max_moves": {
            "type": "integer"
          },
          "node_id": {
            "type": "string"
          },
          "objective": {
            "type": "string"
          },
          "utilization_ceiling": {
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "FleetQuality": {
        "additionalProperties": false,
        "properties": {
          "active_replicas": {
            "type": "integer"
          },
          "assigned_units": {
            "type": "number"
          },
          "desired_replicas": {
            "type": "integer"
          },
          "down_nodes": {
            "type": "integer"
          },
          "eligible_nodes": {
            "type": "integer"
          },
          "headroom_units": {
            "type": "number"
          },
          "max_utilization": {
            "type": "number"
          },
          "mean_distinct_providers": {
            "type": "number"
          },
          "mean_distinct_regions": {
            "type": "number"
          },
          "mean_distinct_sites": {
            "type": "number"
          },
          "mean_utilization": {
            "type": "number"
          },
          "monitors_at_domain_risk": {
            "type": "integer"
          },
          "monitors_below_desired": {
            "type": "integer"
          },
          "monitors_below_quorum": {
            "type": "integer"
          },
          "nodes": {
            "type": "integer"
          },
          "serving_nodes": {
            "type": "integer"
          },
          "unknown_nodes": {
            "type": "integer"
          },
          "utilization_spread": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "FleetSnapshot": {
        "additionalProperties": false,
        "properties": {
          "fingerprint": {
            "type": "string"
          },
          "monitor_count": {
            "type": "integer"
          },
          "nodes": {
            "items": {
              "$ref": "#/components/schemas/FleetNode"
            },
            "type": "array"
          },
          "quality": {
            "$ref": "#/components/schemas/FleetQuality"
          },
          "taken_at": {
            "$ref": "#/components/schemas/Timestamp"
          }
        },
        "type": "object"
      },
      "ImportRequest": {
        "additionalProperties": false,
        "properties": {
          "document": {},
          "on_conflict": {
            "type": "string"
          },
          "plan_digest": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "Incident": {
        "additionalProperties": false,
        "properties": {
          "cause": {
            "type": "string"
          },
          "closed_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "duration_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "opened_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "status": {
            "type": "string"
          },
          "tenant_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "IncidentAssignRequest": {
        "additionalProperties": false,
        "properties": {
          "assignee": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "IncidentDetail": {
        "additionalProperties": false,
        "properties": {
          "acknowledged_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "acknowledged_by": {
            "type": "string"
          },
          "assigned_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "assigned_to": {
            "type": "string"
          },
          "assigned_to_user_id": {
            "type": "string"
          },
          "cause": {
            "type": "string"
          },
          "closed_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "duration_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "opened_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "resolved_by": {
            "type": "string"
          },
          "resolved_reason": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "tenant_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "IncidentNote": {
        "additionalProperties": false,
        "properties": {
          "author": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "id": {
            "type": "string"
          },
          "incident_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "IncidentNoteRequest": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Index": {
        "additionalProperties": false,
        "properties": {
          "limits": {
            "$ref": "#/components/schemas/IndexLimits"
          },
          "resources": {
            "items": {
              "$ref": "#/components/schemas/IndexResource"
            },
            "type": "array"
          },
          "version": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "IndexLimits": {
        "additionalProperties": false,
        "properties": {
          "default_page_limit": {
            "type": "integer"
          },
          "max_page_limit": {
            "type": "integer"
          },
          "max_request_bytes": {
            "type": "integer"
          },
          "request_timeout_ms": {
            "type": "integer"
          },
          "requests_per_minute": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "IndexOperation": {
        "additionalProperties": false,
        "properties": {
          "conditional": {
            "type": "boolean"
          },
          "idempotent": {
            "type": "boolean"
          },
          "method": {
            "type": "string"
          },
          "order_conditional": {
            "type": "boolean"
          },
          "path": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "IndexResource": {
        "additionalProperties": false,
        "properties": {
          "filters": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "max_page_limit": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "operations": {
            "items": {
              "$ref": "#/components/schemas/IndexOperation"
            },
            "type": "array"
          },
          "path": {
            "type": "string"
          },
          "sorts": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "MaintenanceRecurrence": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "dst_policy": {
            "type": "string"
          },
          "duration_seconds": {
            "type": "integer"
          },
          "horizon_days": {
            "type": "integer"
          },
          "interval_days": {
            "type": "integer"
          },
          "interval_months": {
            "type": "integer"
          },
          "interval_weeks": {
            "type": "integer"
          },
          "kind": {
            "type": "string"
          },
          "max_occurrences": {
            "type": "integer"
          },
          "month_day": {
            "type": "integer"
          },
          "start_time_minutes": {
            "type": "integer"
          },
          "starts_on": {
            "type": "string"
          },
          "until_on": {
            "nullable": true,
            "type": "string"
          },
          "weekdays": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "MaintenanceSeries": {
        "additionalProperties": false,
        "properties": {
          "archived_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "description": {
            "type": "string"
          },
          "display_timezone": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "next_occurrence_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "recurrence": {
            "$ref": "#/components/schemas/MaintenanceRecurrence"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MaintenanceWindow": {
        "additionalProperties": false,
        "properties": {
          "canceled_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "completed_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "description": {
            "type": "string"
          },
          "display_timezone": {
            "type": "string"
          },
          "ends_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "id": {
            "type": "string"
          },
          "started_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "starts_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Meta": {
        "additionalProperties": false,
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "limit": {
            "type": "integer"
          },
          "next_cursor": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "Monitor": {
        "additionalProperties": false,
        "properties": {
          "assurance_level": {
            "type": "string"
          },
          "consensus": {
            "$ref": "#/components/schemas/MonitorConsensus",
            "nullable": true
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "desired_replicas": {
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "etag": {
            "type": "string"
          },
          "generation": {
            "type": "integer"
          },
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "http": {
            "$ref": "#/components/schemas/MonitorHTTP",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "interval_seconds": {
            "type": "integer"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "org_etag": {
            "type": "string"
          },
          "org_version": {
            "type": "integer"
          },
          "target": {
            "type": "string"
          },
          "tcp": {
            "$ref": "#/components/schemas/MonitorTCP",
            "nullable": true
          },
          "timeout_seconds": {
            "type": "integer"
          },
          "tls": {
            "$ref": "#/components/schemas/MonitorTLS",
            "nullable": true
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          }
        },
        "type": "object"
      },
      "MonitorConsensus": {
        "additionalProperties": false,
        "properties": {
          "calculated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "down_votes": {
            "type": "integer"
          },
          "quorum": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "unknown_votes": {
            "type": "integer"
          },
          "up_votes": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorEscalationPolicy": {
        "additionalProperties": false,
        "properties": {
          "monitor_id": {
            "type": "string"
          },
          "policy_id": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MonitorEscalationPolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MonitorGroup": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "created_by": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "monitor_count": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorGroupAssignment": {
        "additionalProperties": false,
        "properties": {
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "monitor_id": {
            "type": "string"
          },
          "org_version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorGroupAssignmentRequest": {
        "additionalProperties": false,
        "properties": {
          "group_id": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MonitorGroupList": {
        "additionalProperties": false,
        "properties": {
          "groups": {
            "items": {
              "$ref": "#/components/schemas/MonitorGroup"
            },
            "type": "array"
          },
          "order_version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorGroupReorderRequest": {
        "additionalProperties": false,
        "properties": {
          "ordered_ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "MonitorGroupRequest": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MonitorHTTP": {
        "additionalProperties": false,
        "properties": {
          "expected_status": {
            "type": "integer"
          },
          "follow_redirects": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string"
          },
          "keyword_mode": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "verify_tls": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "MonitorHTTPRequest": {
        "additionalProperties": false,
        "properties": {
          "expected_status": {
            "nullable": true,
            "type": "integer"
          },
          "follow_redirects": {
            "nullable": true,
            "type": "boolean"
          },
          "keyword": {
            "nullable": true,
            "type": "string"
          },
          "keyword_mode": {
            "nullable": true,
            "type": "string"
          },
          "method": {
            "nullable": true,
            "type": "string"
          },
          "verify_tls": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "MonitorLabels": {
        "additionalProperties": false,
        "properties": {
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "monitor_id": {
            "type": "string"
          },
          "org_version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorLabelsRequest": {
        "additionalProperties": false,
        "properties": {
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "MonitorRequest": {
        "additionalProperties": false,
        "properties": {
          "assurance_level": {
            "nullable": true,
            "type": "string"
          },
          "enabled": {
            "nullable": true,
            "type": "boolean"
          },
          "http": {
            "$ref": "#/components/schemas/MonitorHTTPRequest",
            "nullable": true
          },
          "interval_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "target": {
            "nullable": true,
            "type": "string"
          },
          "tcp": {
            "$ref": "#/components/schemas/MonitorTCPRequest",
            "nullable": true
          },
          "timeout_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "tls": {
            "$ref": "#/components/schemas/MonitorTLSRequest",
            "nullable": true
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MonitorTCP": {
        "additionalProperties": false,
        "properties": {
          "port": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTCPRequest": {
        "additionalProperties": false,
        "properties": {
          "port": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTLS": {
        "additionalProperties": false,
        "properties": {
          "expiry_threshold_days": {
            "type": "integer"
          },
          "port": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTLSRequest": {
        "additionalProperties": false,
        "properties": {
          "expiry_threshold_days": {
            "nullable": true,
            "type": "integer"
          },
          "port": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTemplate": {
        "additionalProperties": false,
        "properties": {
          "archived_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "assurance_level": {
            "type": "string"
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "created_by": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "http": {
            "$ref": "#/components/schemas/MonitorHTTP",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "interval_seconds": {
            "type": "integer"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "timeout_seconds": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTemplateCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "template_version": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTemplateHTTPRequest": {
        "additionalProperties": false,
        "properties": {
          "expected_status": {
            "nullable": true,
            "type": "integer"
          },
          "follow_redirects": {
            "nullable": true,
            "type": "boolean"
          },
          "keyword": {
            "nullable": true,
            "type": "string"
          },
          "keyword_mode": {
            "nullable": true,
            "type": "string"
          },
          "method": {
            "nullable": true,
            "type": "string"
          },
          "verify_tls": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "MonitorTemplateProvenance": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "monitor_id": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          },
          "template_version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTemplateRequest": {
        "additionalProperties": false,
        "properties": {
          "assurance_level": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "http": {
            "$ref": "#/components/schemas/MonitorTemplateHTTPRequest",
            "nullable": true
          },
          "interval_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "tcp": {
            "$ref": "#/components/schemas/MonitorTemplateTCPRequest",
            "nullable": true
          },
          "timeout_seconds": {
            "nullable": true,
            "type": "integer"
          },
          "tls": {
            "$ref": "#/components/schemas/MonitorTemplateTLSRequest",
            "nullable": true
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MonitorTemplateTCPRequest": {
        "additionalProperties": false,
        "properties": {
          "port": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTemplateTLSRequest": {
        "additionalProperties": false,
        "properties": {
          "expiry_threshold_days": {
            "nullable": true,
            "type": "integer"
          },
          "port": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MonitorTemplateVersion": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "actor": {
            "type": "string"
          },
          "assurance_level": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "http": {
            "$ref": "#/components/schemas/MonitorHTTP",
            "nullable": true
          },
          "interval_seconds": {
            "type": "integer"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "occurred_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "template_id": {
            "type": "string"
          },
          "timeout_seconds": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Node": {
        "additionalProperties": false,
        "properties": {
          "administrative_state": {
            "type": "string"
          },
          "assigned_monitors": {
            "type": "integer"
          },
          "can_icmp": {
            "type": "boolean"
          },
          "enrolled_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "health": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "last_seen_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "max_capacity_units": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "revoked_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "site": {
            "type": "string"
          },
          "software_version": {
            "type": "string"
          },
          "utilization_ceiling": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "ParticipantDocument": {
        "additionalProperties": false,
        "properties": {
          "age_seconds": {
            "nullable": true,
            "type": "number"
          },
          "bound": {
            "$ref": "#/components/schemas/Bound"
          },
          "class": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortableAction": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "resource": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortableApplied": {
        "additionalProperties": false,
        "properties": {
          "atomicity": {
            "type": "string"
          },
          "document_digest": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "plan_digest": {
            "type": "string"
          },
          "policy": {
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/PortableSummary"
          }
        },
        "type": "object"
      },
      "PortableDocument": {
        "additionalProperties": false,
        "properties": {
          "format": {
            "type": "string"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/PortableGroup"
            },
            "type": "array"
          },
          "monitors": {
            "items": {
              "$ref": "#/components/schemas/PortableMonitor"
            },
            "type": "array"
          },
          "status_pages": {
            "items": {
              "$ref": "#/components/schemas/PortableStatusPage"
            },
            "type": "array"
          },
          "templates": {
            "items": {
              "$ref": "#/components/schemas/PortableTemplate"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "PortableGroup": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortableHTTPConfig": {
        "additionalProperties": false,
        "properties": {
          "expected_status": {
            "type": "integer"
          },
          "follow_redirects": {
            "type": "boolean"
          },
          "keyword": {
            "type": "string"
          },
          "keyword_mode": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "verify_tls": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "PortableMonitor": {
        "additionalProperties": false,
        "properties": {
          "assurance_level": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "group_key": {
            "type": "string"
          },
          "http": {
            "$ref": "#/components/schemas/PortableHTTPConfig",
            "nullable": true
          },
          "interval_seconds": {
            "type": "integer"
          },
          "key": {
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "tcp": {
            "$ref": "#/components/schemas/PortableTCPConfig",
            "nullable": true
          },
          "timeout_seconds": {
            "type": "integer"
          },
          "tls": {
            "$ref": "#/components/schemas/PortableTLSConfig",
            "nullable": true
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortablePlan": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "items": {
              "$ref": "#/components/schemas/PortableAction"
            },
            "type": "array"
          },
          "digest": {
            "type": "string"
          },
          "document_digest": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "policy": {
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/PortableSummary"
          }
        },
        "type": "object"
      },
      "PortableStatusPage": {
        "additionalProperties": false,
        "properties": {
          "display_timezone": {
            "type": "string"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/PortableStatusPageGroup"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "logo_url": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "theme_accent_color": {
            "type": "string"
          },
          "theme_mode": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortableStatusPageComponent": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "monitor_keys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortableStatusPageGroup": {
        "additionalProperties": false,
        "properties": {
          "components": {
            "items": {
              "$ref": "#/components/schemas/PortableStatusPageComponent"
            },
            "type": "array"
          },
          "description": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortableSummary": {
        "additionalProperties": false,
        "properties": {
          "conflicts": {
            "type": "integer"
          },
          "create": {
            "type": "integer"
          },
          "skip": {
            "type": "integer"
          },
          "update": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "PortableTCPConfig": {
        "additionalProperties": false,
        "properties": {
          "port": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "PortableTLSConfig": {
        "additionalProperties": false,
        "properties": {
          "expiry_threshold_days": {
            "type": "integer"
          },
          "port": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "PortableTemplate": {
        "additionalProperties": false,
        "properties": {
          "assurance_level": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "group_key": {
            "type": "string"
          },
          "http": {
            "$ref": "#/components/schemas/PortableHTTPConfig",
            "nullable": true
          },
          "interval_seconds": {
            "type": "integer"
          },
          "key": {
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "tcp": {
            "$ref": "#/components/schemas/PortableTCPConfig",
            "nullable": true
          },
          "timeout_seconds": {
            "type": "integer"
          },
          "tls": {
            "$ref": "#/components/schemas/PortableTLSConfig",
            "nullable": true
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PublicUpdate": {
        "additionalProperties": false,
        "properties": {
          "component_ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "id": {
            "type": "string"
          },
          "impact": {
            "type": "string"
          },
          "incident_ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "page_id": {
            "type": "string"
          },
          "published_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "reference": {
            "type": "string"
          },
          "resolved_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "started_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "status": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "underlying_open": {
            "type": "boolean"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/PublicUpdateEntry"
            },
            "type": "array"
          },
          "version": {
            "type": "integer"
          },
          "visibility": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PublicUpdateAppended": {
        "additionalProperties": false,
        "properties": {
          "communication": {
            "$ref": "#/components/schemas/PublicUpdateState"
          },
          "statement": {
            "$ref": "#/components/schemas/PublicUpdateEntry"
          }
        },
        "type": "object"
      },
      "PublicUpdateEntry": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "posted_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "revises_id": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PublicUpdateRequest": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "nullable": true,
            "type": "string"
          },
          "revises_id": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PublicUpdateState": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "page_id": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "resolved_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RoutingPreview": {
        "additionalProperties": false,
        "properties": {
          "channel_id": {
            "nullable": true,
            "type": "string"
          },
          "disabled_candidate": {
            "$ref": "#/components/schemas/RoutingPreviewRule",
            "nullable": true
          },
          "event_class": {
            "type": "string"
          },
          "match_reasons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "matched": {
            "type": "boolean"
          },
          "rule": {
            "$ref": "#/components/schemas/RoutingPreviewRule",
            "nullable": true
          },
          "subject_id": {
            "type": "string"
          },
          "subject_kind": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "RoutingPreviewRequest": {
        "additionalProperties": false,
        "properties": {
          "event_class": {
            "nullable": true,
            "type": "string"
          },
          "subject_id": {
            "nullable": true,
            "type": "string"
          },
          "subject_kind": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RoutingPreviewRule": {
        "additionalProperties": false,
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "priority": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RoutingRule": {
        "additionalProperties": false,
        "properties": {
          "channel_id": {
            "type": "string"
          },
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "enabled": {
            "type": "boolean"
          },
          "event_classes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "monitor_id": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "priority": {
            "type": "integer"
          },
          "tenant_id": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          }
        },
        "type": "object"
      },
      "RoutingRuleRequest": {
        "additionalProperties": false,
        "properties": {
          "channel_id": {
            "nullable": true,
            "type": "string"
          },
          "enabled": {
            "nullable": true,
            "type": "boolean"
          },
          "event_classes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "group_id": {
            "nullable": true,
            "type": "string"
          },
          "monitor_id": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "priority": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "StatusPage": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "display_timezone": {
            "type": "string"
          },
          "first_published_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "logo_url": {
            "type": "string"
          },
          "published_at": {
            "$ref": "#/components/schemas/Timestamp",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "theme_accent_color": {
            "type": "string"
          },
          "theme_mode": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "version": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Timestamp": {
        "additionalProperties": false,
        "properties": {},
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "pgy_\u003c16-hex-prefix\u003e_\u003c43-char-secret\u003e",
        "description": "A tenant automation credential (P6-01). A request presenting this and a browser session together is always refused. Only operations that explicitly declare sessionCookie read a browser session.",
        "scheme": "bearer",
        "type": "http"
      },
      "installationMachineBearer": {
        "bearerFormat": "pgym1_\u003c16-hex-prefix\u003e_\u003c43-char-secret\u003e",
        "description": "An installation machine credential (P18-02), disjoint in grammar from bearerAuth. It carries no tenant and reaches only operations that declare it and the installation scope they require (x-installation-scope).",
        "scheme": "bearer",
        "type": "http"
      },
      "sessionCookie": {
        "description": "An authenticated browser session. An operation marked x-installation-admin additionally requires the user-keyed InstallationAdmin grant.",
        "in": "cookie",
        "name": "pinggy_session",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "The stable, bearer-authenticated contract automation clients write code against. Every address, method, scope, conditional/idempotent flag, success status, request schema, and response schema here is generated from the same route table the router enforces (cmd/pinggy/apiv1.go): the router answers a success with exactly the status stated here, decodes a body into exactly the type described here, and serializes a response from exactly the type described here. See README.md sections \"P6 versioned automation API\" onward for authentication, scopes, pagination, ETags, idempotency, rate limits, the error code table, bulk operation lifecycle, the portable document format, fleet planning safety, and curl examples using placeholders rather than real secrets.",
    "title": "Pinggy versioned automation API",
    "version": "v1"
  },
  "openapi": "3.0.3",
  "paths": {
    "/api/v1": {
      "get": {
        "operationId": "get_index",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Index"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "The address space and bounds this version offers.",
        "tags": [
          "index"
        ],
        "x-scope": ""
      }
    },
    "/api/v1/bulk-operations": {
      "get": {
        "operationId": "get_bulk_operations",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "created_at"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "enum": [
                "pending",
                "running",
                "completed",
                "failed",
                "cancelled"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "monitors.pause",
                "monitors.resume",
                "monitors.set_group",
                "monitors.set_labels",
                "monitors.create_from_template",
                "monitors.delete"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/BulkOperation"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/bulk-operations",
        "tags": [
          "bulk-operations"
        ],
        "x-scope": "operations:read"
      },
      "post": {
        "operationId": "post_bulk_operations",
        "parameters": [
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/BulkOperation"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/bulk-operations",
        "tags": [
          "bulk-operations"
        ],
        "x-scope": "operations:write"
      }
    },
    "/api/v1/bulk-operations/{id}": {
      "get": {
        "operationId": "get_bulk_operationsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/BulkOperation"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/bulk-operations/{id}",
        "tags": [
          "bulk-operations"
        ],
        "x-scope": "operations:read"
      }
    },
    "/api/v1/bulk-operations/{id}/cancel": {
      "post": {
        "operationId": "post_bulk_operationsById_cancel",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/BulkOperation"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/bulk-operations/{id}/cancel",
        "tags": [
          "bulk-operations"
        ],
        "x-scope": "operations:write"
      }
    },
    "/api/v1/bulk-operations/{id}/items": {
      "get": {
        "operationId": "get_bulk_operationsById_items",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/BulkOperationItem"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/bulk-operations/{id}/items",
        "tags": [
          "bulk-operations"
        ],
        "x-scope": "operations:read"
      }
    },
    "/api/v1/dashboard": {
      "get": {
        "operationId": "get_dashboard",
        "parameters": [
          {
            "description": "Rows per panel. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 25,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Opaque. The attention panel's next position, from attention.next_cursor.",
            "in": "query",
            "name": "attention_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque. The recently-recovered panel's next position, from recently_recovered.next_cursor.",
            "in": "query",
            "name": "recovered_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Opaque. The activity feed's next position, from activity.next_cursor.",
            "in": "query",
            "name": "activity_cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Dashboard"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "sessionCookie": []
          }
        ],
        "summary": "GET /api/v1/dashboard",
        "tags": [
          "dashboard"
        ],
        "x-scope": "monitors:read",
        "x-session-cookie": true
      }
    },
    "/api/v1/escalation-policies": {
      "get": {
        "operationId": "get_escalation_policies",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "name"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/EscalationPolicy"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/escalation-policies",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:read"
      },
      "post": {
        "operationId": "post_escalation_policies",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EscalationPolicyRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EscalationPolicy"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/escalation-policies",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:write"
      }
    },
    "/api/v1/escalation-policies/{id}": {
      "delete": {
        "operationId": "delete_escalation_policiesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content - this operation answers with no body."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "DELETE /api/v1/escalation-policies/{id}",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:write"
      },
      "get": {
        "operationId": "get_escalation_policiesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EscalationPolicy"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/escalation-policies/{id}",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:read"
      },
      "put": {
        "operationId": "put_escalation_policiesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EscalationPolicyRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EscalationPolicy"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PUT /api/v1/escalation-policies/{id}",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:write"
      }
    },
    "/api/v1/escalation-policies/{id}/steps": {
      "get": {
        "operationId": "get_escalation_policiesById_steps",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EscalationLadder"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/escalation-policies/{id}/steps",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:read"
      },
      "put": {
        "operationId": "put_escalation_policiesById_steps",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EscalationStepsRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EscalationLadder"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PUT /api/v1/escalation-policies/{id}/steps",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:write"
      }
    },
    "/api/v1/export": {
      "get": {
        "operationId": "get_export",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/PortableDocument"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/export",
        "tags": [
          "portability"
        ],
        "x-scope": "operations:read"
      }
    },
    "/api/v1/fleet-plans": {
      "get": {
        "operationId": "get_fleet_plans",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "created_at"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "enum": [
                "planned",
                "applying",
                "applied",
                "cancelled",
                "superseded",
                "failed"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "objective",
            "required": false,
            "schema": {
              "enum": [
                "drain_node",
                "disable_node",
                "recover_node",
                "capacity_change",
                "rebalance"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/FleetPlan"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/fleet-plans",
        "tags": [
          "fleet-plans"
        ],
        "x-scope": "nodes:read"
      },
      "post": {
        "operationId": "post_fleet_plans",
        "parameters": [
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FleetPlanRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/FleetPlan"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/fleet-plans",
        "tags": [
          "fleet-plans"
        ],
        "x-scope": "nodes:admin"
      }
    },
    "/api/v1/fleet-plans/{id}": {
      "get": {
        "operationId": "get_fleet_plansById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/FleetPlan"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/fleet-plans/{id}",
        "tags": [
          "fleet-plans"
        ],
        "x-scope": "nodes:read"
      }
    },
    "/api/v1/fleet-plans/{id}/apply": {
      "post": {
        "operationId": "post_fleet_plansById_apply",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FleetApplyRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/FleetPlan"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/fleet-plans/{id}/apply",
        "tags": [
          "fleet-plans"
        ],
        "x-scope": "operations:write"
      }
    },
    "/api/v1/fleet-plans/{id}/cancel": {
      "post": {
        "operationId": "post_fleet_plansById_cancel",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/FleetPlan"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/fleet-plans/{id}/cancel",
        "tags": [
          "fleet-plans"
        ],
        "x-scope": "operations:write"
      }
    },
    "/api/v1/fleet-plans/{id}/exclusions": {
      "get": {
        "operationId": "get_fleet_plansById_exclusions",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/FleetPlanExclusion"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/fleet-plans/{id}/exclusions",
        "tags": [
          "fleet-plans"
        ],
        "x-scope": "nodes:read"
      }
    },
    "/api/v1/fleet-plans/{id}/moves": {
      "get": {
        "operationId": "get_fleet_plansById_moves",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/FleetPlanMove"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/fleet-plans/{id}/moves",
        "tags": [
          "fleet-plans"
        ],
        "x-scope": "nodes:read"
      }
    },
    "/api/v1/fleet/snapshot": {
      "get": {
        "operationId": "get_fleet_snapshot",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/FleetSnapshot"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/fleet/snapshot",
        "tags": [
          "fleet"
        ],
        "x-scope": "nodes:read"
      }
    },
    "/api/v1/import/apply": {
      "post": {
        "operationId": "post_import_apply",
        "parameters": [
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/PortableApplied"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/import/apply",
        "tags": [
          "portability"
        ],
        "x-scope": "operations:write"
      }
    },
    "/api/v1/import/plan": {
      "post": {
        "operationId": "post_import_plan",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/PortablePlan"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/import/plan",
        "tags": [
          "portability"
        ],
        "x-scope": "operations:read"
      }
    },
    "/api/v1/incidents": {
      "get": {
        "operationId": "get_incidents",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "opened_at"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "monitor_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "opened_after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "opened_before",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/Incident"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/incidents",
        "tags": [
          "incidents"
        ],
        "x-scope": "incidents:read"
      }
    },
    "/api/v1/incidents/{id}": {
      "get": {
        "operationId": "get_incidentsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/IncidentDetail"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/incidents/{id}",
        "tags": [
          "incidents"
        ],
        "x-scope": "incidents:read"
      }
    },
    "/api/v1/incidents/{id}/assign": {
      "post": {
        "operationId": "post_incidentsById_assign",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentAssignRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/IncidentDetail"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/incidents/{id}/assign",
        "tags": [
          "incidents"
        ],
        "x-scope": "incidents:write"
      }
    },
    "/api/v1/incidents/{id}/notes": {
      "get": {
        "operationId": "get_incidentsById_notes",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/IncidentNote"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/incidents/{id}/notes",
        "tags": [
          "incidents"
        ],
        "x-scope": "incidents:read"
      },
      "post": {
        "operationId": "post_incidentsById_notes",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentNoteRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/IncidentNote"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/incidents/{id}/notes",
        "tags": [
          "incidents"
        ],
        "x-scope": "incidents:write"
      }
    },
    "/api/v1/installation/health": {
      "get": {
        "operationId": "get_installation_health",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Document"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "installationMachineBearer": []
          }
        ],
        "summary": "GET /api/v1/installation/health",
        "tags": [
          "installation-health"
        ],
        "x-installation-admin": true,
        "x-installation-scope": "installation:health:read",
        "x-scope": "",
        "x-session-cookie": true
      }
    },
    "/api/v1/maintenance-series": {
      "get": {
        "operationId": "get_maintenance_series",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "created_at"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "active",
                "archived"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/MaintenanceSeries"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/maintenance-series",
        "tags": [
          "maintenance-series"
        ],
        "x-scope": "status:read"
      }
    },
    "/api/v1/maintenance-series/{id}": {
      "get": {
        "operationId": "get_maintenance_seriesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MaintenanceSeries"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/maintenance-series/{id}",
        "tags": [
          "maintenance-series"
        ],
        "x-scope": "status:read"
      }
    },
    "/api/v1/maintenance-windows": {
      "get": {
        "operationId": "get_maintenance_windows",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "starts_at"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "scheduled",
                "active",
                "completed",
                "canceled"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "starts_before",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/MaintenanceWindow"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/maintenance-windows",
        "tags": [
          "maintenance-windows"
        ],
        "x-scope": "status:read"
      }
    },
    "/api/v1/maintenance-windows/{id}": {
      "get": {
        "operationId": "get_maintenance_windowsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MaintenanceWindow"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/maintenance-windows/{id}",
        "tags": [
          "maintenance-windows"
        ],
        "x-scope": "status:read"
      }
    },
    "/api/v1/monitor-groups": {
      "get": {
        "operationId": "get_monitor_groups",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "position"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/MonitorGroup"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitor-groups",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:read"
      },
      "post": {
        "operationId": "post_monitor_groups",
        "parameters": [
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorGroupRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorGroup"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/monitor-groups",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:write"
      }
    },
    "/api/v1/monitor-groups/reorder": {
      "post": {
        "operationId": "post_monitor_groups_reorder",
        "parameters": [
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorGroupReorderRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorGroupList"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/monitor-groups/reorder",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:write"
      }
    },
    "/api/v1/monitor-groups/{id}": {
      "delete": {
        "operationId": "delete_monitor_groupsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag of the ordered set this resource belongs to, beside If-Match.",
            "in": "header",
            "name": "If-Match-Order",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content - this operation answers with no body."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "DELETE /api/v1/monitor-groups/{id}",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:write"
      },
      "get": {
        "operationId": "get_monitor_groupsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorGroup"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitor-groups/{id}",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:read"
      },
      "patch": {
        "operationId": "patch_monitor_groupsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorGroupRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorGroup"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PATCH /api/v1/monitor-groups/{id}",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:write"
      }
    },
    "/api/v1/monitor-templates": {
      "get": {
        "operationId": "get_monitor_templates",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "created_at",
                "name"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "http",
                "icmp"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/MonitorTemplate"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitor-templates",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "templates:read"
      },
      "post": {
        "operationId": "post_monitor_templates",
        "parameters": [
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorTemplateRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorTemplate"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/monitor-templates",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "templates:write"
      }
    },
    "/api/v1/monitor-templates/{id}": {
      "get": {
        "operationId": "get_monitor_templatesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorTemplate"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitor-templates/{id}",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "templates:read"
      },
      "patch": {
        "operationId": "patch_monitor_templatesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorTemplateRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorTemplate"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PATCH /api/v1/monitor-templates/{id}",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "templates:write"
      }
    },
    "/api/v1/monitor-templates/{id}/archive": {
      "post": {
        "operationId": "post_monitor_templatesById_archive",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorTemplate"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/monitor-templates/{id}/archive",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "templates:write"
      }
    },
    "/api/v1/monitor-templates/{id}/monitors": {
      "post": {
        "operationId": "post_monitor_templatesById_monitors",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorTemplateCreateRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Monitor"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/monitor-templates/{id}/monitors",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "monitors:write"
      }
    },
    "/api/v1/monitor-templates/{id}/versions/{id2}": {
      "get": {
        "operationId": "get_monitor_templatesById_versionsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id2",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorTemplateVersion"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitor-templates/{id}/versions/{id}",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "templates:read"
      }
    },
    "/api/v1/monitors": {
      "get": {
        "operationId": "get_monitors",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "created_at",
                "name"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "http",
                "icmp",
                "tcp",
                "tls"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "enabled",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "assurance_level",
            "required": false,
            "schema": {
              "enum": [
                "standard",
                "enhanced",
                "high_assurance"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "enum": [
                "UP",
                "DOWN",
                "DEGRADED",
                "UNKNOWN",
                "PAUSED"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "group_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/Monitor"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitors",
        "tags": [
          "monitors"
        ],
        "x-scope": "monitors:read"
      },
      "post": {
        "operationId": "post_monitors",
        "parameters": [
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Monitor"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/monitors",
        "tags": [
          "monitors"
        ],
        "x-scope": "monitors:write"
      }
    },
    "/api/v1/monitors/{id}": {
      "delete": {
        "operationId": "delete_monitorsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content - this operation answers with no body."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "DELETE /api/v1/monitors/{id}",
        "tags": [
          "monitors"
        ],
        "x-scope": "monitors:write"
      },
      "get": {
        "operationId": "get_monitorsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Monitor"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitors/{id}",
        "tags": [
          "monitors"
        ],
        "x-scope": "monitors:read"
      },
      "patch": {
        "operationId": "patch_monitorsById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Monitor"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PATCH /api/v1/monitors/{id}",
        "tags": [
          "monitors"
        ],
        "x-scope": "monitors:write"
      }
    },
    "/api/v1/monitors/{id}/escalation-policy": {
      "delete": {
        "operationId": "delete_monitorsById_escalation_policy",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content - this operation answers with no body."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "DELETE /api/v1/monitors/{id}/escalation-policy",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:write"
      },
      "get": {
        "operationId": "get_monitorsById_escalation_policy",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorEscalationPolicy"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitors/{id}/escalation-policy",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:read"
      },
      "put": {
        "operationId": "put_monitorsById_escalation_policy",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorEscalationPolicyRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorEscalationPolicy"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PUT /api/v1/monitors/{id}/escalation-policy",
        "tags": [
          "escalation-policies"
        ],
        "x-scope": "escalation:write"
      }
    },
    "/api/v1/monitors/{id}/group": {
      "patch": {
        "operationId": "patch_monitorsById_group",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorGroupAssignmentRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorGroupAssignment"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PATCH /api/v1/monitors/{id}/group",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:write"
      }
    },
    "/api/v1/monitors/{id}/labels": {
      "put": {
        "operationId": "put_monitorsById_labels",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorLabelsRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorLabels"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PUT /api/v1/monitors/{id}/labels",
        "tags": [
          "monitor-groups"
        ],
        "x-scope": "groups:write"
      }
    },
    "/api/v1/monitors/{id}/template-provenance": {
      "get": {
        "operationId": "get_monitorsById_template_provenance",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/MonitorTemplateProvenance"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/monitors/{id}/template-provenance",
        "tags": [
          "monitor-templates"
        ],
        "x-scope": "monitors:read"
      }
    },
    "/api/v1/nodes": {
      "get": {
        "operationId": "get_nodes",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "name"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "administrative_state",
            "required": false,
            "schema": {
              "enum": [
                "enabled",
                "disabled",
                "draining"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/Node"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/nodes",
        "tags": [
          "nodes"
        ],
        "x-scope": "nodes:read"
      }
    },
    "/api/v1/nodes/{id}": {
      "get": {
        "operationId": "get_nodesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Node"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/nodes/{id}",
        "tags": [
          "nodes"
        ],
        "x-scope": "nodes:read"
      }
    },
    "/api/v1/notification-routing": {
      "get": {
        "operationId": "get_notification_routing",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "priority"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/RoutingRule"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/notification-routing",
        "tags": [
          "notification-routing"
        ],
        "x-scope": "routing:read"
      },
      "post": {
        "operationId": "post_notification_routing",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingRuleRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RoutingRule"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/notification-routing",
        "tags": [
          "notification-routing"
        ],
        "x-scope": "routing:write"
      }
    },
    "/api/v1/notification-routing/preview": {
      "post": {
        "operationId": "post_notification_routing_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingPreviewRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RoutingPreview"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/notification-routing/preview",
        "tags": [
          "notification-routing"
        ],
        "x-scope": "routing:read"
      }
    },
    "/api/v1/notification-routing/{id}": {
      "delete": {
        "operationId": "delete_notification_routingById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content - this operation answers with no body."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "DELETE /api/v1/notification-routing/{id}",
        "tags": [
          "notification-routing"
        ],
        "x-scope": "routing:write"
      },
      "get": {
        "operationId": "get_notification_routingById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RoutingRule"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/notification-routing/{id}",
        "tags": [
          "notification-routing"
        ],
        "x-scope": "routing:read"
      },
      "put": {
        "operationId": "put_notification_routingById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingRuleRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RoutingRule"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "PUT /api/v1/notification-routing/{id}",
        "tags": [
          "notification-routing"
        ],
        "x-scope": "routing:write"
      }
    },
    "/api/v1/public-updates": {
      "get": {
        "operationId": "get_public_updates",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "started_at"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "investigating",
                "identified",
                "monitoring",
                "resolved"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "visibility",
            "required": false,
            "schema": {
              "enum": [
                "private",
                "public"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/PublicUpdate"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/public-updates",
        "tags": [
          "public-updates"
        ],
        "x-scope": "incidents:read"
      }
    },
    "/api/v1/public-updates/{id}": {
      "get": {
        "operationId": "get_public_updatesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/PublicUpdate"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/public-updates/{id}",
        "tags": [
          "public-updates"
        ],
        "x-scope": "incidents:read"
      }
    },
    "/api/v1/public-updates/{id}/updates": {
      "post": {
        "operationId": "post_public_updatesById_updates",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The entity tag this mutation was decided against. A request with none, or with \"*\", is refused (428).",
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Scoped to tenant, automation identity, and this route. A replay answers Idempotency-Replayed: true.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicUpdateRequest"
              }
            }
          },
          "description": "Unknown members are refused rather than ignored, and a body carrying anything after the one JSON object is refused.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/PublicUpdateAppended"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "POST /api/v1/public-updates/{id}/updates",
        "tags": [
          "public-updates"
        ],
        "x-scope": "incidents:write"
      }
    },
    "/api/v1/status-pages": {
      "get": {
        "operationId": "get_status_pages",
        "parameters": [
          {
            "description": "Default 50. An out-of-range value is refused, never clamped.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "created_at",
                "slug"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Opaque. Bound to this exact resource, sort, direction, and filter set; presenting it elsewhere is 400 invalid_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "draft",
                "published",
                "disabled"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/StatusPage"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/status-pages",
        "tags": [
          "status-pages"
        ],
        "x-scope": "status:read"
      }
    },
    "/api/v1/status-pages/{id}": {
      "get": {
        "operationId": "get_status_pagesById",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/StatusPage"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "A failure envelope. See README.md's \"Status and code policy\" table for the closed code vocabulary."
          }
        },
        "summary": "GET /api/v1/status-pages/{id}",
        "tags": [
          "status-pages"
        ],
        "x-scope": "status:read"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "description": "Every address in this document is relative to this prefix.",
      "url": "/api/v1"
    }
  ]
}
