{
  "components": {
    "responses": {
      "errors": {
        "content": {
          "application/vnd.api+json": {
            "schema": {
              "$ref": "#/components/schemas/errors"
            }
          }
        },
        "description": "General Error"
      }
    },
    "schemas": {
      "device-filter-is_available": {
        "additionalProperties": false,
        "description": "Current availability status",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "poll-job-filter-retry_count": {
        "additionalProperties": false,
        "description": "Number of retry attempts",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-if_name_pattern": {
        "additionalProperties": false,
        "description": "Regex pattern for interface name match",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_setting-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "and": {
            "items": {
              "$ref": "#/components/schemas/interface_setting-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "id": {
            "$ref": "#/components/schemas/interface_setting-filter-id"
          },
          "not": {
            "$ref": "#/components/schemas/interface_setting-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/interface_setting-filter"
            },
            "type": "array",
            "uniqueItems": true
          }
        },
        "type": "deepObject"
      },
      "device-filter-uid_alt": {
        "additionalProperties": false,
        "description": "Alternative unique identifier",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-sys_descr_pattern": {
        "additionalProperties": false,
        "description": "Regex pattern for device sysDescr match",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-enabled": {
        "additionalProperties": false,
        "description": "Whether the rule is active",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "service-check-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-error_code": {
        "additionalProperties": false,
        "description": "Error code for categorization",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "poll-job-filter-max_retries": {
        "additionalProperties": false,
        "description": "Maximum retry attempts before giving up",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "interface-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "agent_id": {
            "$ref": "#/components/schemas/interface-filter-agent_id"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/interface-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "classification_meta": {
            "$ref": "#/components/schemas/interface-filter-classification_meta"
          },
          "classification_source": {
            "$ref": "#/components/schemas/interface-filter-classification_source"
          },
          "created_at": {
            "$ref": "#/components/schemas/interface-filter-created_at"
          },
          "device": {
            "$ref": "#/components/schemas/device-filter"
          },
          "device_id": {
            "$ref": "#/components/schemas/interface-filter-device_id"
          },
          "device_ip": {
            "$ref": "#/components/schemas/interface-filter-device_ip"
          },
          "duplex": {
            "$ref": "#/components/schemas/interface-filter-duplex"
          },
          "gateway_id": {
            "$ref": "#/components/schemas/interface-filter-gateway_id"
          },
          "if_admin_status": {
            "$ref": "#/components/schemas/interface-filter-if_admin_status"
          },
          "if_alias": {
            "$ref": "#/components/schemas/interface-filter-if_alias"
          },
          "if_descr": {
            "$ref": "#/components/schemas/interface-filter-if_descr"
          },
          "if_index": {
            "$ref": "#/components/schemas/interface-filter-if_index"
          },
          "if_name": {
            "$ref": "#/components/schemas/interface-filter-if_name"
          },
          "if_oper_status": {
            "$ref": "#/components/schemas/interface-filter-if_oper_status"
          },
          "if_phys_address": {
            "$ref": "#/components/schemas/interface-filter-if_phys_address"
          },
          "if_speed": {
            "$ref": "#/components/schemas/interface-filter-if_speed"
          },
          "if_type": {
            "$ref": "#/components/schemas/interface-filter-if_type"
          },
          "if_type_name": {
            "$ref": "#/components/schemas/interface-filter-if_type_name"
          },
          "interface_kind": {
            "$ref": "#/components/schemas/interface-filter-interface_kind"
          },
          "interface_uid": {
            "$ref": "#/components/schemas/interface-filter-interface_uid"
          },
          "metadata": {
            "$ref": "#/components/schemas/interface-filter-metadata"
          },
          "mtu": {
            "$ref": "#/components/schemas/interface-filter-mtu"
          },
          "not": {
            "$ref": "#/components/schemas/interface-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/interface-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "partition": {
            "$ref": "#/components/schemas/interface-filter-partition"
          },
          "speed_bps": {
            "$ref": "#/components/schemas/interface-filter-speed_bps"
          },
          "timestamp": {
            "$ref": "#/components/schemas/interface-filter-timestamp"
          }
        },
        "type": "deepObject"
      },
      "poll-job-filter-failure_count": {
        "additionalProperties": false,
        "description": "Number of failed checks",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "alert-filter-description": {
        "additionalProperties": false,
        "description": "Detailed alert description",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-agent_id": {
        "additionalProperties": false,
        "description": "Agent that discovered this interface",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-classification_meta": {
        "additionalProperties": false,
        "description": "Classification metadata (matched rules, etc.)",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "interface-filter-timestamp": {
        "additionalProperties": false,
        "description": "When interface was discovered/updated",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-speed_bps": {
        "additionalProperties": false,
        "description": "Interface speed in bits per second",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "alert-filter-triggered_at": {
        "additionalProperties": false,
        "description": "When the alert was triggered",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_index": {
        "additionalProperties": false,
        "description": "Interface index (SNMP ifIndex)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-event_time": {
        "additionalProperties": false,
        "description": "Related OCSF event timestamp",
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "agent-filter-release_rollout_state": {
        "additionalProperties": false,
        "description": "Current release rollout state for this agent",
        "properties": {
          "eq": {
            "enum": [
              "pending",
              "dispatched",
              "downloading",
              "verifying",
              "staged",
              "restarting",
              "healthy",
              "failed",
              "rolled_back",
              "canceled"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "pending",
              "dispatched",
              "downloading",
              "verifying",
              "staged",
              "restarting",
              "healthy",
              "failed",
              "rolled_back",
              "canceled"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "pending",
              "dispatched",
              "downloading",
              "verifying",
              "staged",
              "restarting",
              "healthy",
              "failed",
              "rolled_back",
              "canceled"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "pending",
              "dispatched",
              "downloading",
              "verifying",
              "staged",
              "restarting",
              "healthy",
              "failed",
              "rolled_back",
              "canceled"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "pending",
              "dispatched",
              "downloading",
              "verifying",
              "staged",
              "restarting",
              "healthy",
              "failed",
              "rolled_back",
              "canceled"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "pending",
              "dispatched",
              "downloading",
              "verifying",
              "staged",
              "restarting",
              "healthy",
              "failed",
              "rolled_back",
              "canceled"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-interface_uid": {
        "additionalProperties": false,
        "description": "Interface unique identifier (ifindex or name-based)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-group-filter-parent_id": {
        "additionalProperties": false,
        "description": "Parent group ID for hierarchical grouping",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_setting-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-region": {
        "additionalProperties": false,
        "description": "Geographic region",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-agent_uid": {
        "additionalProperties": false,
        "description": "Agent assigned to execute this check",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a poll-job",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a poll-job",
            "properties": {
              "agent_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent executing the checks (if applicable). Field included by default."
              },
              "check_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of checks in this job. Field included by default."
              },
              "check_ids": {
                "anyOf": [
                  {
                    "items": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "IDs of service checks included in this job. Field included by default."
              },
              "completed_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When the job completed (success or failure). Field included by default."
              },
              "dispatched_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When the job was dispatched to a gateway. Field included by default."
              },
              "duration_ms": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Total execution duration in milliseconds. Field included by default."
              },
              "error_code": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Error code for categorization. Field included by default."
              },
              "error_message": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Error message if job failed. Field included by default."
              },
              "failure_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of failed checks. Field included by default."
              },
              "gateway_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Gateway assigned to execute this job. Field included by default."
              },
              "max_retries": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Maximum retry attempts before giving up. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional job metadata. Field included by default."
              },
              "priority": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Job priority (higher = more important). Field included by default."
              },
              "results": {
                "anyOf": [
                  {
                    "items": {
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Individual check results. Field included by default."
              },
              "retry_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of retry attempts. Field included by default."
              },
              "schedule_id": {
                "description": "The polling schedule this job belongs to. Field included by default.",
                "format": "uuid",
                "type": "string"
              },
              "schedule_name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Cached schedule name for display. Field included by default."
              },
              "started_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When job execution started. Field included by default."
              },
              "status": {
                "description": "Current job state (managed by state machine). Field included by default.",
                "enum": [
                  "pending",
                  "dispatching",
                  "running",
                  "completed",
                  "failed",
                  "timeout",
                  "cancelled"
                ],
                "type": "string"
              },
              "success_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of successful checks. Field included by default."
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Job timeout in seconds. Field included by default."
              }
            },
            "required": [
              "schedule_id",
              "status"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a poll-job",
            "properties": {},
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "service-check-filter-name": {
        "additionalProperties": false,
        "description": "Human-readable check name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device_cleanup_settings-filter-batch_size": {
        "additionalProperties": false,
        "description": "Batch size for device cleanup deletes",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-owner": {
        "additionalProperties": false,
        "description": "Device owner (OCSF User object)",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "alert-filter-source_type": {
        "additionalProperties": false,
        "description": "Type of source that generated this alert",
        "properties": {
          "eq": {
            "enum": [
              "service_check",
              "device",
              "gateway",
              "agent",
              "event",
              "system",
              "external"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "service_check",
              "device",
              "gateway",
              "agent",
              "event",
              "system",
              "external"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "service_check",
              "device",
              "gateway",
              "agent",
              "event",
              "system",
              "external"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "service_check",
              "device",
              "gateway",
              "agent",
              "event",
              "system",
              "external"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "service_check",
              "device",
              "gateway",
              "agent",
              "event",
              "system",
              "external"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "service_check",
              "device",
              "gateway",
              "agent",
              "event",
              "system",
              "external"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-description": {
        "additionalProperties": false,
        "description": "Check description",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-port": {
        "additionalProperties": false,
        "description": "Target port (for TCP/HTTP checks)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "agent-filter-modified_time": {
        "additionalProperties": false,
        "description": "Record modification time",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device_cleanup_settings-filter-retention_days": {
        "additionalProperties": false,
        "description": "Number of days to keep soft-deleted devices before purging",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-is_compliant": {
        "additionalProperties": false,
        "description": "Compliance status",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "poll-job-filter-success_count": {
        "additionalProperties": false,
        "description": "Number of successful checks",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "service-check-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "agent-filter-plugin_engine_max_open_connections": {
        "additionalProperties": false,
        "description": "Max total open connections for Wasm plugins on this agent",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "links": {
        "additionalProperties": {
          "$ref": "#/components/schemas/link"
        },
        "type": "object"
      },
      "interface-filter-if_alias": {
        "additionalProperties": false,
        "description": "Interface alias (user-configurable)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-last_response_time_ms": {
        "additionalProperties": false,
        "description": "Last response time in milliseconds",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "agent-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "or": {
            "items": {
              "$ref": "#/components/schemas/agent-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "host": {
            "$ref": "#/components/schemas/agent-filter-host"
          },
          "gateway_id": {
            "$ref": "#/components/schemas/agent-filter-gateway_id"
          },
          "uid": {
            "$ref": "#/components/schemas/agent-filter-uid"
          },
          "modified_time": {
            "$ref": "#/components/schemas/agent-filter-modified_time"
          },
          "port": {
            "$ref": "#/components/schemas/agent-filter-port"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/agent-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "last_update_at": {
            "$ref": "#/components/schemas/agent-filter-last_update_at"
          },
          "type": {
            "$ref": "#/components/schemas/agent-filter-type"
          },
          "plugin_engine_max_cpu_ms": {
            "$ref": "#/components/schemas/agent-filter-plugin_engine_max_cpu_ms"
          },
          "config_source": {
            "$ref": "#/components/schemas/agent-filter-config_source"
          },
          "first_seen_time": {
            "$ref": "#/components/schemas/agent-filter-first_seen_time"
          },
          "plugin_engine_max_concurrent": {
            "$ref": "#/components/schemas/agent-filter-plugin_engine_max_concurrent"
          },
          "spiffe_identity": {
            "$ref": "#/components/schemas/agent-filter-spiffe_identity"
          },
          "created_time": {
            "$ref": "#/components/schemas/agent-filter-created_time"
          },
          "not": {
            "$ref": "#/components/schemas/agent-filter"
          },
          "vendor_name": {
            "$ref": "#/components/schemas/agent-filter-vendor_name"
          },
          "status": {
            "$ref": "#/components/schemas/agent-filter-status"
          },
          "name": {
            "$ref": "#/components/schemas/agent-filter-name"
          },
          "uid_alt": {
            "$ref": "#/components/schemas/agent-filter-uid_alt"
          },
          "device_uid": {
            "$ref": "#/components/schemas/agent-filter-device_uid"
          },
          "plugin_engine_max_memory_mb": {
            "$ref": "#/components/schemas/agent-filter-plugin_engine_max_memory_mb"
          },
          "type_id": {
            "$ref": "#/components/schemas/agent-filter-type_id"
          },
          "last_seen_time": {
            "$ref": "#/components/schemas/agent-filter-last_seen_time"
          },
          "desired_version": {
            "$ref": "#/components/schemas/agent-filter-desired_version"
          },
          "release_rollout_state": {
            "$ref": "#/components/schemas/agent-filter-release_rollout_state"
          },
          "device": {
            "$ref": "#/components/schemas/device-filter"
          },
          "ip": {
            "$ref": "#/components/schemas/agent-filter-ip"
          },
          "metadata": {
            "$ref": "#/components/schemas/agent-filter-metadata"
          },
          "plugin_engine_max_open_connections": {
            "$ref": "#/components/schemas/agent-filter-plugin_engine_max_open_connections"
          },
          "last_update_error": {
            "$ref": "#/components/schemas/agent-filter-last_update_error"
          },
          "is_healthy": {
            "$ref": "#/components/schemas/agent-filter-is_healthy"
          },
          "gateway": {
            "$ref": "#/components/schemas/gateway-filter"
          },
          "version": {
            "$ref": "#/components/schemas/agent-filter-version"
          }
        },
        "type": "deepObject"
      },
      "interface-filter-classification_source": {
        "additionalProperties": false,
        "description": "Classification source (rules, manual, etc.)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-enabled": {
        "additionalProperties": false,
        "description": "Whether this check is active",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "gateway-filter-last_seen": {
        "additionalProperties": false,
        "description": "When gateway was last seen online",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-event_id": {
        "additionalProperties": false,
        "description": "Related OCSF event ID",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-last_check_at": {
        "additionalProperties": false,
        "description": "When the last check was executed",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-first_seen_time": {
        "additionalProperties": false,
        "description": "When device was first discovered",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-device_uid": {
        "additionalProperties": false,
        "description": "Related device",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-type": {
        "additionalProperties": false,
        "description": "OCSF device type name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-hostname": {
        "additionalProperties": false,
        "description": "Device hostname",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-vendor_name": {
        "additionalProperties": false,
        "description": "Device vendor/manufacturer",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_setting": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a interface_setting",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a interface_setting",
            "properties": {},
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a interface_setting",
            "properties": {},
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "gateway-filter-id": {
        "additionalProperties": false,
        "description": "Unique gateway identifier",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-last_update_at": {
        "additionalProperties": false,
        "description": "Last time a managed release update state changed",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-check_count": {
        "additionalProperties": false,
        "description": "Number of checks in this job",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "poll-job-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "agent_id": {
            "$ref": "#/components/schemas/poll-job-filter-agent_id"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/poll-job-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "check_count": {
            "$ref": "#/components/schemas/poll-job-filter-check_count"
          },
          "completed_at": {
            "$ref": "#/components/schemas/poll-job-filter-completed_at"
          },
          "dispatched_at": {
            "$ref": "#/components/schemas/poll-job-filter-dispatched_at"
          },
          "duration_ms": {
            "$ref": "#/components/schemas/poll-job-filter-duration_ms"
          },
          "error_code": {
            "$ref": "#/components/schemas/poll-job-filter-error_code"
          },
          "error_message": {
            "$ref": "#/components/schemas/poll-job-filter-error_message"
          },
          "failure_count": {
            "$ref": "#/components/schemas/poll-job-filter-failure_count"
          },
          "gateway_id": {
            "$ref": "#/components/schemas/poll-job-filter-gateway_id"
          },
          "id": {
            "$ref": "#/components/schemas/poll-job-filter-id"
          },
          "max_retries": {
            "$ref": "#/components/schemas/poll-job-filter-max_retries"
          },
          "metadata": {
            "$ref": "#/components/schemas/poll-job-filter-metadata"
          },
          "not": {
            "$ref": "#/components/schemas/poll-job-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/poll-job-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "priority": {
            "$ref": "#/components/schemas/poll-job-filter-priority"
          },
          "retry_count": {
            "$ref": "#/components/schemas/poll-job-filter-retry_count"
          },
          "schedule_id": {
            "$ref": "#/components/schemas/poll-job-filter-schedule_id"
          },
          "schedule_name": {
            "$ref": "#/components/schemas/poll-job-filter-schedule_name"
          },
          "started_at": {
            "$ref": "#/components/schemas/poll-job-filter-started_at"
          },
          "status": {
            "$ref": "#/components/schemas/poll-job-filter-status"
          },
          "success_count": {
            "$ref": "#/components/schemas/poll-job-filter-success_count"
          },
          "timeout_seconds": {
            "$ref": "#/components/schemas/poll-job-filter-timeout_seconds"
          }
        },
        "type": "deepObject"
      },
      "agent-filter-spiffe_identity": {
        "additionalProperties": false,
        "description": "SPIFFE ID for mTLS authentication",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-acknowledged_at": {
        "additionalProperties": false,
        "description": "When alert was acknowledged",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-zone": {
        "additionalProperties": false,
        "description": "Network zone",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-metric_name": {
        "additionalProperties": false,
        "description": "Name of the metric that triggered the alert",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-started_at": {
        "additionalProperties": false,
        "description": "When job execution started",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_descr": {
        "additionalProperties": false,
        "description": "Interface description",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-gateway_id": {
        "additionalProperties": false,
        "description": "Gateway assigned to execute this job",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-critical_threshold_ms": {
        "additionalProperties": false,
        "description": "Response time critical threshold (milliseconds)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "poll-job-filter-schedule_id": {
        "additionalProperties": false,
        "description": "The polling schedule this job belongs to",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-status": {
        "additionalProperties": false,
        "description": "Current job state (managed by state machine)",
        "properties": {
          "eq": {
            "enum": [
              "pending",
              "dispatching",
              "running",
              "completed",
              "failed",
              "timeout",
              "cancelled"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "pending",
              "dispatching",
              "running",
              "completed",
              "failed",
              "timeout",
              "cancelled"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "pending",
              "dispatching",
              "running",
              "completed",
              "failed",
              "timeout",
              "cancelled"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "pending",
              "dispatching",
              "running",
              "completed",
              "failed",
              "timeout",
              "cancelled"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "pending",
              "dispatching",
              "running",
              "completed",
              "failed",
              "timeout",
              "cancelled"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "pending",
              "dispatching",
              "running",
              "completed",
              "failed",
              "timeout",
              "cancelled"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "agent-filter-desired_version": {
        "additionalProperties": false,
        "description": "Desired version assigned by release management",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device_cleanup_settings-filter-cleanup_interval_minutes": {
        "additionalProperties": false,
        "description": "How often to run device cleanup (minutes)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "agent-filter-version": {
        "additionalProperties": false,
        "description": "Agent semantic version",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-model_pattern": {
        "additionalProperties": false,
        "description": "Regex pattern for device model match",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-updated_at": {
        "additionalProperties": false,
        "description": "Last update time",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-check_type": {
        "additionalProperties": false,
        "description": "Type of check to perform",
        "properties": {
          "eq": {
            "enum": [
              "ping",
              "http",
              "tcp",
              "snmp",
              "grpc",
              "dns",
              "mtr",
              "custom"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "ping",
              "http",
              "tcp",
              "snmp",
              "grpc",
              "dns",
              "mtr",
              "custom"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "ping",
              "http",
              "tcp",
              "snmp",
              "grpc",
              "dns",
              "mtr",
              "custom"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "ping",
              "http",
              "tcp",
              "snmp",
              "grpc",
              "dns",
              "mtr",
              "custom"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "ping",
              "http",
              "tcp",
              "snmp",
              "grpc",
              "dns",
              "mtr",
              "custom"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "ping",
              "http",
              "tcp",
              "snmp",
              "grpc",
              "dns",
              "mtr",
              "custom"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-device_uid": {
        "additionalProperties": false,
        "description": "Device being monitored",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-gateway_id": {
        "additionalProperties": false,
        "description": "Gateway this agent is connected to",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-group-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-error_message": {
        "additionalProperties": false,
        "description": "Error message if job failed",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-model": {
        "additionalProperties": false,
        "description": "Device model",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-name": {
        "additionalProperties": false,
        "description": "Rule name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a alert",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a alert",
            "properties": {
              "acknowledged_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When alert was acknowledged. Field included by default."
              },
              "acknowledged_by": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "User who acknowledged. Field included by default."
              },
              "agent_uid": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Related agent. Field included by default."
              },
              "comparison": {
                "anyOf": [
                  {
                    "enum": [
                      "greater_than",
                      "less_than",
                      "equals",
                      "not_equals"
                    ],
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "How value compared to threshold. Field included by default."
              },
              "description": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Detailed alert description. Field included by default."
              },
              "device_uid": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Related device. Field included by default."
              },
              "escalated_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When alert was escalated. Field included by default."
              },
              "escalation_level": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Current escalation level. Field included by default."
              },
              "escalation_reason": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Reason for escalation. Field included by default."
              },
              "event_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Related OCSF event ID. Field included by default."
              },
              "event_time": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ],
                "description": "Related OCSF event timestamp. Field included by default."
              },
              "last_notification_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When last notification was sent. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata. Field included by default."
              },
              "metric_name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Name of the metric that triggered the alert. Field included by default."
              },
              "metric_value": {
                "anyOf": [
                  {
                    "format": "float",
                    "nullable": true,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Value of the metric at alert time. Field included by default."
              },
              "notification_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of notifications sent. Field included by default."
              },
              "resolution_note": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Note about resolution. Field included by default."
              },
              "resolved_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When alert was resolved. Field included by default."
              },
              "resolved_by": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "User or system that resolved. Field included by default."
              },
              "service_check_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Related service check. Field included by default."
              },
              "severity": {
                "description": "Alert severity level. Field included by default.",
                "enum": [
                  "info",
                  "warning",
                  "critical",
                  "emergency"
                ],
                "type": "string"
              },
              "source_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "ID of the source entity. Field included by default."
              },
              "source_type": {
                "anyOf": [
                  {
                    "enum": [
                      "service_check",
                      "device",
                      "gateway",
                      "agent",
                      "event",
                      "system",
                      "external"
                    ],
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Type of source that generated this alert. Field included by default."
              },
              "status": {
                "description": "Current alert state (state machine managed). Field included by default.",
                "enum": [
                  "pending",
                  "acknowledged",
                  "resolved",
                  "escalated",
                  "suppressed"
                ],
                "type": "string"
              },
              "suppressed_until": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Suppress notifications until this time. Field included by default."
              },
              "tags": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Alert tags for filtering. Field included by default."
              },
              "threshold_value": {
                "anyOf": [
                  {
                    "format": "float",
                    "nullable": true,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Threshold that was exceeded. Field included by default."
              },
              "title": {
                "description": "Alert title/summary. Field included by default.",
                "type": "string"
              },
              "triggered_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When the alert was triggered. Field included by default."
              }
            },
            "required": [
              "title",
              "severity",
              "status"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a alert",
            "properties": {
              "agent": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for agent",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              },
              "device": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for device",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              },
              "service_check": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for service_check",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "service-check-filter-consecutive_failures": {
        "additionalProperties": false,
        "description": "Count of consecutive check failures",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "gateway-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "agent_count": {
            "$ref": "#/components/schemas/gateway-filter-agent_count"
          },
          "agents": {
            "$ref": "#/components/schemas/agent-filter"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/gateway-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "checker_count": {
            "$ref": "#/components/schemas/gateway-filter-checker_count"
          },
          "component_id": {
            "$ref": "#/components/schemas/gateway-filter-component_id"
          },
          "created_by": {
            "$ref": "#/components/schemas/gateway-filter-created_by"
          },
          "first_registered": {
            "$ref": "#/components/schemas/gateway-filter-first_registered"
          },
          "first_seen": {
            "$ref": "#/components/schemas/gateway-filter-first_seen"
          },
          "id": {
            "$ref": "#/components/schemas/gateway-filter-id"
          },
          "is_healthy": {
            "$ref": "#/components/schemas/gateway-filter-is_healthy"
          },
          "last_seen": {
            "$ref": "#/components/schemas/gateway-filter-last_seen"
          },
          "metadata": {
            "$ref": "#/components/schemas/gateway-filter-metadata"
          },
          "not": {
            "$ref": "#/components/schemas/gateway-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/gateway-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "partition_id": {
            "$ref": "#/components/schemas/gateway-filter-partition_id"
          },
          "registration_source": {
            "$ref": "#/components/schemas/gateway-filter-registration_source"
          },
          "spiffe_identity": {
            "$ref": "#/components/schemas/gateway-filter-spiffe_identity"
          },
          "status": {
            "$ref": "#/components/schemas/gateway-filter-status"
          },
          "updated_at": {
            "$ref": "#/components/schemas/gateway-filter-updated_at"
          }
        },
        "type": "deepObject"
      },
      "agent-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "interface-filter-device_ip": {
        "additionalProperties": false,
        "description": "Device IP address",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-agent_id": {
        "additionalProperties": false,
        "description": "Agent executing the checks (if applicable)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-acknowledged_by": {
        "additionalProperties": false,
        "description": "User who acknowledged",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-group-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "and": {
            "items": {
              "$ref": "#/components/schemas/device-group-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "children": {
            "$ref": "#/components/schemas/device-group-filter"
          },
          "desc": {
            "$ref": "#/components/schemas/device-group-filter-desc"
          },
          "device_count": {
            "$ref": "#/components/schemas/device-group-filter-device_count"
          },
          "devices": {
            "$ref": "#/components/schemas/device-filter"
          },
          "id": {
            "$ref": "#/components/schemas/device-group-filter-id"
          },
          "metadata": {
            "$ref": "#/components/schemas/device-group-filter-metadata"
          },
          "name": {
            "$ref": "#/components/schemas/device-group-filter-name"
          },
          "not": {
            "$ref": "#/components/schemas/device-group-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/device-group-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "parent": {
            "$ref": "#/components/schemas/device-group-filter"
          },
          "parent_id": {
            "$ref": "#/components/schemas/device-group-filter-parent_id"
          },
          "type": {
            "$ref": "#/components/schemas/device-group-filter-type"
          }
        },
        "type": "deepObject"
      },
      "gateway-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "device-filter-vlan_uid": {
        "additionalProperties": false,
        "description": "VLAN identifier",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-group_id": {
        "additionalProperties": false,
        "description": "Device group this device belongs to",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_phys_address": {
        "additionalProperties": false,
        "description": "MAC address",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-org": {
        "additionalProperties": false,
        "description": "Organization (OCSF Organization object)",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "link": {
        "description": "A link MUST be represented as either: a string containing the link's URL or a link object.",
        "type": "string"
      },
      "device-group-filter-desc": {
        "additionalProperties": false,
        "description": "Group description",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-threshold_value": {
        "additionalProperties": false,
        "description": "Threshold that was exceeded",
        "properties": {
          "eq": {
            "format": "float",
            "type": "number"
          },
          "greater_than": {
            "format": "float",
            "type": "number"
          },
          "greater_than_or_equal": {
            "format": "float",
            "type": "number"
          },
          "in": {
            "items": {
              "format": "float",
              "type": "number"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "float",
            "type": "number"
          },
          "less_than_or_equal": {
            "format": "float",
            "type": "number"
          },
          "not_eq": {
            "format": "float",
            "type": "number"
          }
        },
        "type": "object"
      },
      "device-group-filter-device_count": {
        "additionalProperties": false,
        "description": "Number of devices in this group",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-os": {
        "additionalProperties": false,
        "description": "Operating system info (OCSF OS object), including passive_fingerprint evidence",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "gateway-filter-status": {
        "additionalProperties": false,
        "description": "Current operational status (state machine managed)",
        "properties": {
          "eq": {
            "enum": [
              "inactive",
              "healthy",
              "degraded",
              "offline",
              "recovering",
              "maintenance",
              "draining"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "inactive",
              "healthy",
              "degraded",
              "offline",
              "recovering",
              "maintenance",
              "draining"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "inactive",
              "healthy",
              "degraded",
              "offline",
              "recovering",
              "maintenance",
              "draining"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "inactive",
              "healthy",
              "degraded",
              "offline",
              "recovering",
              "maintenance",
              "draining"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "inactive",
              "healthy",
              "degraded",
              "offline",
              "recovering",
              "maintenance",
              "draining"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "inactive",
              "healthy",
              "degraded",
              "offline",
              "recovering",
              "maintenance",
              "draining"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-last_update_error": {
        "additionalProperties": false,
        "description": "Last managed release update error",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-is_active": {
        "additionalProperties": false,
        "description": "Whether device is currently in service",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "alert-filter-escalated_at": {
        "additionalProperties": false,
        "description": "When alert was escalated",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-vendor_name": {
        "additionalProperties": false,
        "description": "Agent vendor/author",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-spiffe_identity": {
        "additionalProperties": false,
        "description": "SPIFFE ID for mTLS authentication",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-timeout_seconds": {
        "additionalProperties": false,
        "description": "Check timeout in seconds",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "agent-filter-uid": {
        "additionalProperties": false,
        "description": "Unique agent identifier (sensor ID)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-first_seen_time": {
        "additionalProperties": false,
        "description": "When agent was first seen",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_type_name": {
        "additionalProperties": false,
        "description": "Interface type name (human-readable)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-comparison": {
        "additionalProperties": false,
        "description": "How value compared to threshold",
        "properties": {
          "eq": {
            "enum": [
              "greater_than",
              "less_than",
              "equals",
              "not_equals"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "greater_than",
              "less_than",
              "equals",
              "not_equals"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "greater_than",
              "less_than",
              "equals",
              "not_equals"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "greater_than",
              "less_than",
              "equals",
              "not_equals"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "greater_than",
              "less_than",
              "equals",
              "not_equals"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "greater_than",
              "less_than",
              "equals",
              "not_equals"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-ip": {
        "additionalProperties": false,
        "description": "Primary IP address",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/agent-filter"
          },
          "agent_uid": {
            "$ref": "#/components/schemas/service-check-filter-agent_uid"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/service-check-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "check_type": {
            "$ref": "#/components/schemas/service-check-filter-check_type"
          },
          "config": {
            "$ref": "#/components/schemas/service-check-filter-config"
          },
          "consecutive_failures": {
            "$ref": "#/components/schemas/service-check-filter-consecutive_failures"
          },
          "critical_threshold_ms": {
            "$ref": "#/components/schemas/service-check-filter-critical_threshold_ms"
          },
          "description": {
            "$ref": "#/components/schemas/service-check-filter-description"
          },
          "device": {
            "$ref": "#/components/schemas/device-filter"
          },
          "device_uid": {
            "$ref": "#/components/schemas/service-check-filter-device_uid"
          },
          "enabled": {
            "$ref": "#/components/schemas/service-check-filter-enabled"
          },
          "id": {
            "$ref": "#/components/schemas/service-check-filter-id"
          },
          "interval_seconds": {
            "$ref": "#/components/schemas/service-check-filter-interval_seconds"
          },
          "last_check_at": {
            "$ref": "#/components/schemas/service-check-filter-last_check_at"
          },
          "last_error": {
            "$ref": "#/components/schemas/service-check-filter-last_error"
          },
          "last_response_time_ms": {
            "$ref": "#/components/schemas/service-check-filter-last_response_time_ms"
          },
          "last_result": {
            "$ref": "#/components/schemas/service-check-filter-last_result"
          },
          "metadata": {
            "$ref": "#/components/schemas/service-check-filter-metadata"
          },
          "name": {
            "$ref": "#/components/schemas/service-check-filter-name"
          },
          "not": {
            "$ref": "#/components/schemas/service-check-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/service-check-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "port": {
            "$ref": "#/components/schemas/service-check-filter-port"
          },
          "retries": {
            "$ref": "#/components/schemas/service-check-filter-retries"
          },
          "schedule_id": {
            "$ref": "#/components/schemas/service-check-filter-schedule_id"
          },
          "target": {
            "$ref": "#/components/schemas/service-check-filter-target"
          },
          "timeout_seconds": {
            "$ref": "#/components/schemas/service-check-filter-timeout_seconds"
          },
          "warning_threshold_ms": {
            "$ref": "#/components/schemas/service-check-filter-warning_threshold_ms"
          }
        },
        "type": "deepObject"
      },
      "agent-filter-plugin_engine_max_concurrent": {
        "additionalProperties": false,
        "description": "Max number of concurrent Wasm plugin executions on this agent",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-group": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a device-group",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a device-group",
            "properties": {
              "desc": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Group description. Field included by default."
              },
              "device_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of devices in this group. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata. Field included by default."
              },
              "name": {
                "description": "Group display name. Field included by default.",
                "type": "string"
              },
              "parent_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Parent group ID for hierarchical grouping. Field included by default."
              },
              "type": {
                "anyOf": [
                  {
                    "enum": [
                      "location",
                      "department",
                      "environment",
                      "function",
                      "custom"
                    ],
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Group type classification. Field included by default."
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a device-group",
            "properties": {
              "children": {
                "properties": {
                  "data": {
                    "description": "Relationship data for children",
                    "items": {
                      "additionalProperties": false,
                      "description": "Resource identifiers for children",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "meta": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "id"
                      ],
                      "type": "object"
                    },
                    "type": "array",
                    "uniqueItems": true
                  }
                }
              },
              "devices": {
                "properties": {
                  "data": {
                    "description": "Relationship data for devices",
                    "items": {
                      "additionalProperties": false,
                      "description": "Resource identifiers for devices",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "meta": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "id"
                      ],
                      "type": "object"
                    },
                    "type": "array",
                    "uniqueItems": true
                  }
                }
              },
              "parent": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for parent",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "device-filter-type_id": {
        "additionalProperties": false,
        "description": "OCSF device type ID",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "alert-filter-escalation_reason": {
        "additionalProperties": false,
        "description": "Reason for escalation",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-risk_score": {
        "additionalProperties": false,
        "description": "Numeric risk score",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-subnet_uid": {
        "additionalProperties": false,
        "description": "Subnet identifier",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_oper_status": {
        "additionalProperties": false,
        "description": "Operational status (1=up, 2=down, 3=testing)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-group-filter-name": {
        "additionalProperties": false,
        "description": "Group display name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_speed": {
        "additionalProperties": false,
        "description": "Interface speed in bits per second (legacy)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "alert-filter-last_notification_at": {
        "additionalProperties": false,
        "description": "When last notification was sent",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "and": {
            "items": {
              "$ref": "#/components/schemas/interface_classification_rule-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "enabled": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-enabled"
          },
          "id": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-id"
          },
          "if_alias_pattern": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-if_alias_pattern"
          },
          "if_descr_pattern": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-if_descr_pattern"
          },
          "if_name_pattern": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-if_name_pattern"
          },
          "metadata": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-metadata"
          },
          "model_pattern": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-model_pattern"
          },
          "name": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-name"
          },
          "not": {
            "$ref": "#/components/schemas/interface_classification_rule-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/interface_classification_rule-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "priority": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-priority"
          },
          "sys_descr_pattern": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-sys_descr_pattern"
          },
          "vendor_pattern": {
            "$ref": "#/components/schemas/interface_classification_rule-filter-vendor_pattern"
          }
        },
        "type": "deepObject"
      },
      "device-filter-created_time": {
        "additionalProperties": false,
        "description": "Record creation time",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-hw_info": {
        "additionalProperties": false,
        "description": "Hardware info (OCSF Hardware Info object)",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "agent-filter-created_time": {
        "additionalProperties": false,
        "description": "Record creation time",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "error": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "An application-specific error code, expressed as a string value.",
            "type": "string"
          },
          "detail": {
            "description": "A human-readable explanation specific to this occurrence of the problem.",
            "type": "string"
          },
          "id": {
            "description": "A unique identifier for this particular occurrence of the problem.",
            "type": "string"
          },
          "links": {
            "$ref": "#/components/schemas/links"
          },
          "source": {
            "properties": {
              "parameter": {
                "description": "A string indicating which query parameter caused the error.",
                "type": "string"
              },
              "pointer": {
                "description": "A JSON Pointer [RFC6901] to the associated entity in the request document [e.g. \"/data\" for a primary data object, or \"/data/attributes/title\" for a specific attribute].",
                "type": "string"
              }
            },
            "type": "object"
          },
          "status": {
            "description": "The HTTP status code applicable to this problem, expressed as a string value.",
            "type": "string"
          },
          "title": {
            "description": "A short, human-readable summary of the problem. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-domain": {
        "additionalProperties": false,
        "description": "Network domain",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-is_managed": {
        "additionalProperties": false,
        "description": "Whether device is managed",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "service-check-filter-warning_threshold_ms": {
        "additionalProperties": false,
        "description": "Response time warning threshold (milliseconds)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "interface-filter-if_name": {
        "additionalProperties": false,
        "description": "Interface name (e.g., eth0, GigabitEthernet0/1)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-retries": {
        "additionalProperties": false,
        "description": "Number of retries before marking failed",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "errors": {
        "items": {
          "$ref": "#/components/schemas/error"
        },
        "type": "array",
        "uniqueItems": true
      },
      "interface-filter-partition": {
        "additionalProperties": false,
        "description": "Discovery partition",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-plugin_engine_max_cpu_ms": {
        "additionalProperties": false,
        "description": "Max total CPU time window (ms) for Wasm plugins on this agent",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-tags": {
        "additionalProperties": false,
        "description": "User-defined tags (key/value map)",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "alert-filter-metric_value": {
        "additionalProperties": false,
        "description": "Value of the metric at alert time",
        "properties": {
          "eq": {
            "format": "float",
            "type": "number"
          },
          "greater_than": {
            "format": "float",
            "type": "number"
          },
          "greater_than_or_equal": {
            "format": "float",
            "type": "number"
          },
          "in": {
            "items": {
              "format": "float",
              "type": "number"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "float",
            "type": "number"
          },
          "less_than_or_equal": {
            "format": "float",
            "type": "number"
          },
          "not_eq": {
            "format": "float",
            "type": "number"
          }
        },
        "type": "object"
      },
      "alert-filter-resolution_note": {
        "additionalProperties": false,
        "description": "Note about resolution",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a interface",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a interface",
            "properties": {
              "agent_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent that discovered this interface. Field included by default."
              },
              "available_metrics": {
                "anyOf": [
                  {
                    "items": {
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Available SNMP metrics for this interface (discovered during SNMP walk). Field included by default."
              },
              "classification_meta": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Classification metadata (matched rules, etc.). Field included by default."
              },
              "classification_source": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Classification source (rules, manual, etc.). Field included by default."
              },
              "classifications": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface classification tags (management, wan, vpn, etc.). Field included by default."
              },
              "created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Record creation time. Field included by default."
              },
              "device_id": {
                "description": "Device unique identifier. Field included by default.",
                "type": "string"
              },
              "device_ip": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device IP address. Field included by default."
              },
              "duplex": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface duplex mode. Field included by default."
              },
              "gateway_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Gateway that discovered this interface. Field included by default."
              },
              "if_admin_status": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Administrative status (1=up, 2=down, 3=testing). Field included by default."
              },
              "if_alias": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface alias (user-configurable). Field included by default."
              },
              "if_descr": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface description. Field included by default."
              },
              "if_index": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface index (SNMP ifIndex). Field included by default."
              },
              "if_name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface name (e.g., eth0, GigabitEthernet0/1). Field included by default."
              },
              "if_oper_status": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Operational status (1=up, 2=down, 3=testing). Field included by default."
              },
              "if_phys_address": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "MAC address. Field included by default."
              },
              "if_speed": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface speed in bits per second (legacy). Field included by default."
              },
              "if_type": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface type identifier (ifType). Field included by default."
              },
              "if_type_name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface type name (human-readable). Field included by default."
              },
              "interface_kind": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface classification (physical, virtual, loopback, tunnel, etc.). Field included by default."
              },
              "interface_uid": {
                "description": "Interface unique identifier (ifindex or name-based). Field included by default.",
                "type": "string"
              },
              "ip_addresses": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "IP addresses assigned to interface. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata. Field included by default."
              },
              "mtu": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface MTU. Field included by default."
              },
              "partition": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Discovery partition. Field included by default."
              },
              "speed_bps": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface speed in bits per second. Field included by default."
              },
              "timestamp": {
                "description": "When interface was discovered/updated. Field included by default.",
                "format": "date-time",
                "type": "string"
              }
            },
            "required": [
              "timestamp",
              "device_id",
              "interface_uid"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a interface",
            "properties": {
              "device": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for device",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "device-group-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "service-check-filter-target": {
        "additionalProperties": false,
        "description": "Target host/IP/URL to check",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-schedule_id": {
        "additionalProperties": false,
        "description": "Polling schedule this check belongs to",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-is_healthy": {
        "additionalProperties": false,
        "description": "Current health status",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "device_cleanup_settings-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "and": {
            "items": {
              "$ref": "#/components/schemas/device_cleanup_settings-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "batch_size": {
            "$ref": "#/components/schemas/device_cleanup_settings-filter-batch_size"
          },
          "cleanup_interval_minutes": {
            "$ref": "#/components/schemas/device_cleanup_settings-filter-cleanup_interval_minutes"
          },
          "enabled": {
            "$ref": "#/components/schemas/device_cleanup_settings-filter-enabled"
          },
          "not": {
            "$ref": "#/components/schemas/device_cleanup_settings-filter"
          },
          "or": {
            "items": {
              "$ref": "#/components/schemas/device_cleanup_settings-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "retention_days": {
            "$ref": "#/components/schemas/device_cleanup_settings-filter-retention_days"
          }
        },
        "type": "deepObject"
      },
      "alert-filter-severity": {
        "additionalProperties": false,
        "description": "Alert severity level",
        "properties": {
          "eq": {
            "enum": [
              "info",
              "warning",
              "critical",
              "emergency"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "info",
              "warning",
              "critical",
              "emergency"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "info",
              "warning",
              "critical",
              "emergency"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "info",
              "warning",
              "critical",
              "emergency"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "info",
              "warning",
              "critical",
              "emergency"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "info",
              "warning",
              "critical",
              "emergency"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-mtu": {
        "additionalProperties": false,
        "description": "Interface MTU",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-availability_source_profile_id": {
        "additionalProperties": false,
        "description": "Availability source profile that assigned the canonical source; nil means manual override or legacy fallback",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "alert-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "or": {
            "items": {
              "$ref": "#/components/schemas/alert-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "agent_uid": {
            "$ref": "#/components/schemas/alert-filter-agent_uid"
          },
          "escalation_level": {
            "$ref": "#/components/schemas/alert-filter-escalation_level"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/alert-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "source_type": {
            "$ref": "#/components/schemas/alert-filter-source_type"
          },
          "not": {
            "$ref": "#/components/schemas/alert-filter"
          },
          "triggered_at": {
            "$ref": "#/components/schemas/alert-filter-triggered_at"
          },
          "source_id": {
            "$ref": "#/components/schemas/alert-filter-source_id"
          },
          "resolution_note": {
            "$ref": "#/components/schemas/alert-filter-resolution_note"
          },
          "status": {
            "$ref": "#/components/schemas/alert-filter-status"
          },
          "description": {
            "$ref": "#/components/schemas/alert-filter-description"
          },
          "id": {
            "$ref": "#/components/schemas/alert-filter-id"
          },
          "metric_name": {
            "$ref": "#/components/schemas/alert-filter-metric_name"
          },
          "service_check_id": {
            "$ref": "#/components/schemas/alert-filter-service_check_id"
          },
          "service_check": {
            "$ref": "#/components/schemas/service-check-filter"
          },
          "device_uid": {
            "$ref": "#/components/schemas/alert-filter-device_uid"
          },
          "event_time": {
            "$ref": "#/components/schemas/alert-filter-event_time"
          },
          "resolved_by": {
            "$ref": "#/components/schemas/alert-filter-resolved_by"
          },
          "metric_value": {
            "$ref": "#/components/schemas/alert-filter-metric_value"
          },
          "comparison": {
            "$ref": "#/components/schemas/alert-filter-comparison"
          },
          "resolved_at": {
            "$ref": "#/components/schemas/alert-filter-resolved_at"
          },
          "last_notification_at": {
            "$ref": "#/components/schemas/alert-filter-last_notification_at"
          },
          "escalation_reason": {
            "$ref": "#/components/schemas/alert-filter-escalation_reason"
          },
          "escalated_at": {
            "$ref": "#/components/schemas/alert-filter-escalated_at"
          },
          "device": {
            "$ref": "#/components/schemas/device-filter"
          },
          "severity": {
            "$ref": "#/components/schemas/alert-filter-severity"
          },
          "acknowledged_by": {
            "$ref": "#/components/schemas/alert-filter-acknowledged_by"
          },
          "suppressed_until": {
            "$ref": "#/components/schemas/alert-filter-suppressed_until"
          },
          "event_id": {
            "$ref": "#/components/schemas/alert-filter-event_id"
          },
          "notification_count": {
            "$ref": "#/components/schemas/alert-filter-notification_count"
          },
          "threshold_value": {
            "$ref": "#/components/schemas/alert-filter-threshold_value"
          },
          "agent": {
            "$ref": "#/components/schemas/agent-filter"
          },
          "metadata": {
            "$ref": "#/components/schemas/alert-filter-metadata"
          },
          "title": {
            "$ref": "#/components/schemas/alert-filter-title"
          },
          "acknowledged_at": {
            "$ref": "#/components/schemas/alert-filter-acknowledged_at"
          }
        },
        "type": "deepObject"
      },
      "device-filter-mac": {
        "additionalProperties": false,
        "description": "Primary MAC address",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_type": {
        "additionalProperties": false,
        "description": "Interface type identifier (ifType)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-agent_id": {
        "additionalProperties": false,
        "description": "Agent reporting this device",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-config_source": {
        "additionalProperties": false,
        "description": "Source of sysmon config: remote (from backend), local (file override), cached, or unassigned",
        "properties": {
          "eq": {
            "enum": [
              "remote",
              "local",
              "cached",
              "unassigned"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "remote",
              "local",
              "cached",
              "unassigned"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "remote",
              "local",
              "cached",
              "unassigned"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "remote",
              "local",
              "cached",
              "unassigned"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "remote",
              "local",
              "cached",
              "unassigned"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "remote",
              "local",
              "cached",
              "unassigned"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-risk_level": {
        "additionalProperties": false,
        "description": "Risk level name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-service_check_id": {
        "additionalProperties": false,
        "description": "Related service check",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-id": {
        "additionalProperties": false,
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-suppressed_until": {
        "additionalProperties": false,
        "description": "Suppress notifications until this time",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-config": {
        "additionalProperties": false,
        "description": "Type-specific configuration (headers, SNMP OIDs, etc.)",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "interface-filter-gateway_id": {
        "additionalProperties": false,
        "description": "Gateway that discovered this interface",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-gateway_id": {
        "additionalProperties": false,
        "description": "Gateway that discovered this device",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a service-check",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a service-check",
            "properties": {
              "agent_uid": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent assigned to execute this check. Field included by default."
              },
              "check_type": {
                "description": "Type of check to perform. Field included by default.",
                "enum": [
                  "ping",
                  "http",
                  "tcp",
                  "snmp",
                  "grpc",
                  "dns",
                  "mtr",
                  "custom"
                ],
                "type": "string"
              },
              "config": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Type-specific configuration (headers, SNMP OIDs, etc.). Field included by default."
              },
              "consecutive_failures": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Count of consecutive check failures. Field included by default."
              },
              "critical_threshold_ms": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Response time critical threshold (milliseconds). Field included by default."
              },
              "description": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Check description. Field included by default."
              },
              "device_uid": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device being monitored. Field included by default."
              },
              "enabled": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Whether this check is active. Field included by default."
              },
              "interval_seconds": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Check interval in seconds. Field included by default."
              },
              "last_check_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When the last check was executed. Field included by default."
              },
              "last_error": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Last error message (if failed). Field included by default."
              },
              "last_response_time_ms": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Last response time in milliseconds. Field included by default."
              },
              "last_result": {
                "anyOf": [
                  {
                    "enum": [
                      "success",
                      "warning",
                      "critical",
                      "unknown",
                      "error"
                    ],
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Result of last check. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata. Field included by default."
              },
              "name": {
                "description": "Human-readable check name. Field included by default.",
                "type": "string"
              },
              "port": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Target port (for TCP/HTTP checks). Field included by default."
              },
              "retries": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of retries before marking failed. Field included by default."
              },
              "schedule_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Polling schedule this check belongs to. Field included by default."
              },
              "target": {
                "description": "Target host/IP/URL to check. Field included by default.",
                "type": "string"
              },
              "timeout_seconds": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Check timeout in seconds. Field included by default."
              },
              "warning_threshold_ms": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Response time warning threshold (milliseconds). Field included by default."
              }
            },
            "required": [
              "name",
              "check_type",
              "target"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a service-check",
            "properties": {
              "agent": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for agent",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              },
              "device": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for device",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "agent-filter-ip": {
        "additionalProperties": false,
        "description": "Source IP address for the agent connection when known",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-is_healthy": {
        "additionalProperties": false,
        "description": "Current health status",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "interface-filter-duplex": {
        "additionalProperties": false,
        "description": "Interface duplex mode",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-management_device_id": {
        "additionalProperties": false,
        "description": "UID of the device used to reach this device for management (e.g. SNMP polling)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-uid": {
        "additionalProperties": false,
        "description": "Unique device identifier",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-source_id": {
        "additionalProperties": false,
        "description": "ID of the source entity",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-timeout_seconds": {
        "additionalProperties": false,
        "description": "Job timeout in seconds",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-is_trusted": {
        "additionalProperties": false,
        "description": "Trust status",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "agent-filter-port": {
        "additionalProperties": false,
        "description": "Port the agent listens on for gRPC",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-group-filter-type": {
        "additionalProperties": false,
        "description": "Group type classification",
        "properties": {
          "eq": {
            "enum": [
              "location",
              "department",
              "environment",
              "function",
              "custom"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "location",
              "department",
              "environment",
              "function",
              "custom"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "location",
              "department",
              "environment",
              "function",
              "custom"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "location",
              "department",
              "environment",
              "function",
              "custom"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "location",
              "department",
              "environment",
              "function",
              "custom"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "location",
              "department",
              "environment",
              "function",
              "custom"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a interface_classification_rule",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a interface_classification_rule",
            "properties": {
              "classifications": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Classification tags to apply. Field included by default."
              },
              "enabled": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Whether the rule is active. Field included by default."
              },
              "if_alias_pattern": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Regex pattern for interface alias match. Field included by default."
              },
              "if_descr_pattern": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Regex pattern for interface description match. Field included by default."
              },
              "if_name_pattern": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Regex pattern for interface name match. Field included by default."
              },
              "if_type_ids": {
                "anyOf": [
                  {
                    "items": {
                      "type": "integer"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Interface type IDs (ifType) to match. Field included by default."
              },
              "ip_cidr_allow": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "CIDR ranges to allow for IP match. Field included by default."
              },
              "ip_cidr_deny": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "CIDR ranges to deny for IP match. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata. Field included by default."
              },
              "model_pattern": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Regex pattern for device model match. Field included by default."
              },
              "name": {
                "description": "Rule name. Field included by default.",
                "type": "string"
              },
              "priority": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Rule priority (higher wins). Field included by default."
              },
              "sys_descr_pattern": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Regex pattern for device sysDescr match. Field included by default."
              },
              "vendor_pattern": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Regex pattern for device vendor match. Field included by default."
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a interface_classification_rule",
            "properties": {},
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "poll-job-filter-priority": {
        "additionalProperties": false,
        "description": "Job priority (higher = more important)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "interface-filter-interface_kind": {
        "additionalProperties": false,
        "description": "Interface classification (physical, virtual, loopback, tunnel, etc.)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-first_registered": {
        "additionalProperties": false,
        "description": "When gateway first registered",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-duration_ms": {
        "additionalProperties": false,
        "description": "Total execution duration in milliseconds",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device-filter-deleted_reason": {
        "additionalProperties": false,
        "description": "Optional reason for device deletion",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-title": {
        "additionalProperties": false,
        "description": "Alert title/summary",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a device",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a device",
            "properties": {
              "region": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Geographic region. Field included by default."
              },
              "gateway_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Gateway that discovered this device. Field included by default."
              },
              "group_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device group this device belongs to. Field included by default."
              },
              "modified_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Record modification time. Field included by default."
              },
              "os": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Operating system info (OCSF OS object), including passive_fingerprint evidence. Field included by default."
              },
              "deleted_reason": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Optional reason for device deletion. Field included by default."
              },
              "type": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "OCSF device type name. Field included by default."
              },
              "first_seen_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When device was first discovered. Field included by default."
              },
              "mac": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Primary MAC address. Field included by default."
              },
              "org": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Organization (OCSF Organization object). Field included by default."
              },
              "deleted_at": {
                "anyOf": [
                  {},
                  {
                    "type": "null"
                  }
                ],
                "description": "Soft delete tombstone timestamp. Field included by default."
              },
              "risk_level": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Risk level name. Field included by default."
              },
              "created_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Record creation time. Field included by default."
              },
              "subnet_uid": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Subnet identifier. Field included by default."
              },
              "availability_source_agent_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent whose sweep results drive canonical device availability; nil keeps legacy fallback behavior. Field included by default."
              },
              "vendor_name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device vendor/manufacturer. Field included by default."
              },
              "zone": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Network zone. Field included by default."
              },
              "groups": {
                "anyOf": [
                  {
                    "items": {
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device groups (OCSF Group objects). Field included by default."
              },
              "risk_score": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Numeric risk score. Field included by default."
              },
              "name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device display name. Field included by default."
              },
              "hw_info": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Hardware info (OCSF Hardware Info object). Field included by default."
              },
              "uid_alt": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Alternative unique identifier. Field included by default."
              },
              "tags": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "User-defined tags (key/value map). Field included by default."
              },
              "model": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device model. Field included by default."
              },
              "type_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "OCSF device type ID. Field included by default."
              },
              "last_seen_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When device was last seen. Field included by default."
              },
              "owner": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device owner (OCSF User object). Field included by default."
              },
              "is_managed": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Whether device is managed. Field included by default."
              },
              "discovery_sources": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "List of discovery source types. Field included by default."
              },
              "risk_level_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "OCSF risk level ID (0-4). Field included by default."
              },
              "is_trusted": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Trust status. Field included by default."
              },
              "availability_source_profile_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Availability source profile that assigned the canonical source; nil means manual override or legacy fallback. Field included by default."
              },
              "network_interfaces": {
                "anyOf": [
                  {
                    "items": {
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Network interfaces (OCSF Network Interface objects). Field included by default."
              },
              "is_active": {
                "description": "Whether device is currently in service. Field included by default.",
                "type": "boolean"
              },
              "deleted_by": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Actor identifier that deleted the device. Field included by default."
              },
              "management_device_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "UID of the device used to reach this device for management (e.g. SNMP polling). Field included by default."
              },
              "domain": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Network domain. Field included by default."
              },
              "agent_list": {
                "anyOf": [
                  {
                    "items": {
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Associated agents (OCSF Agent objects). Field included by default."
              },
              "ip": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Primary IP address. Field included by default."
              },
              "hostname": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device hostname. Field included by default."
              },
              "is_available": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Current availability status. Field included by default."
              },
              "vlan_uid": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "VLAN identifier. Field included by default."
              },
              "agent_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent reporting this device. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata, including protocol-specific passive_fingerprint evidence. Field included by default."
              },
              "is_compliant": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Compliance status. Field included by default."
              }
            },
            "required": [
              "is_active"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a device",
            "properties": {
              "group": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for group",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              },
              "interfaces": {
                "properties": {
                  "data": {
                    "description": "Relationship data for interfaces",
                    "items": {
                      "additionalProperties": false,
                      "description": "Resource identifiers for interfaces",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "meta": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "id"
                      ],
                      "type": "object"
                    },
                    "type": "array",
                    "uniqueItems": true
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "alert-filter-status": {
        "additionalProperties": false,
        "description": "Current alert state (state machine managed)",
        "properties": {
          "eq": {
            "enum": [
              "pending",
              "acknowledged",
              "resolved",
              "escalated",
              "suppressed"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "pending",
              "acknowledged",
              "resolved",
              "escalated",
              "suppressed"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "pending",
              "acknowledged",
              "resolved",
              "escalated",
              "suppressed"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "pending",
              "acknowledged",
              "resolved",
              "escalated",
              "suppressed"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "pending",
              "acknowledged",
              "resolved",
              "escalated",
              "suppressed"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "pending",
              "acknowledged",
              "resolved",
              "escalated",
              "suppressed"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-priority": {
        "additionalProperties": false,
        "description": "Rule priority (higher wins)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "alert-filter-resolved_at": {
        "additionalProperties": false,
        "description": "When alert was resolved",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-status": {
        "additionalProperties": false,
        "description": "Current lifecycle state (state machine managed)",
        "properties": {
          "eq": {
            "enum": [
              "connecting",
              "connected",
              "degraded",
              "disconnected",
              "unavailable"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "connecting",
              "connected",
              "degraded",
              "disconnected",
              "unavailable"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "connecting",
              "connected",
              "degraded",
              "disconnected",
              "unavailable"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "connecting",
              "connected",
              "degraded",
              "disconnected",
              "unavailable"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "connecting",
              "connected",
              "degraded",
              "disconnected",
              "unavailable"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "connecting",
              "connected",
              "degraded",
              "disconnected",
              "unavailable"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-last_result": {
        "additionalProperties": false,
        "description": "Result of last check",
        "properties": {
          "eq": {
            "enum": [
              "success",
              "warning",
              "critical",
              "unknown",
              "error"
            ],
            "type": "string"
          },
          "greater_than": {
            "enum": [
              "success",
              "warning",
              "critical",
              "unknown",
              "error"
            ],
            "type": "string"
          },
          "greater_than_or_equal": {
            "enum": [
              "success",
              "warning",
              "critical",
              "unknown",
              "error"
            ],
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "enum": [
              "success",
              "warning",
              "critical",
              "unknown",
              "error"
            ],
            "type": "string"
          },
          "less_than_or_equal": {
            "enum": [
              "success",
              "warning",
              "critical",
              "unknown",
              "error"
            ],
            "type": "string"
          },
          "not_eq": {
            "enum": [
              "success",
              "warning",
              "critical",
              "unknown",
              "error"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-created_by": {
        "additionalProperties": false,
        "description": "User or system that created this gateway",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-deleted_by": {
        "additionalProperties": false,
        "description": "Actor identifier that deleted the device",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device_cleanup_settings": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a device_cleanup_settings",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a device_cleanup_settings",
            "properties": {
              "batch_size": {
                "description": "Batch size for device cleanup deletes. Field included by default.",
                "type": "integer"
              },
              "cleanup_interval_minutes": {
                "description": "How often to run device cleanup (minutes). Field included by default.",
                "type": "integer"
              },
              "enabled": {
                "description": "Whether device cleanup scheduling is enabled. Field included by default.",
                "type": "boolean"
              },
              "retention_days": {
                "description": "Number of days to keep soft-deleted devices before purging. Field included by default.",
                "type": "integer"
              }
            },
            "required": [
              "retention_days",
              "cleanup_interval_minutes",
              "batch_size",
              "enabled"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a device_cleanup_settings",
            "properties": {},
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "agent-filter-type": {
        "additionalProperties": false,
        "description": "OCSF agent type name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-host": {
        "additionalProperties": false,
        "description": "Hostname or host the agent reports",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-dispatched_at": {
        "additionalProperties": false,
        "description": "When the job was dispatched to a gateway",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-type_id": {
        "additionalProperties": false,
        "description": "OCSF agent type ID",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "gateway-filter-partition_id": {
        "additionalProperties": false,
        "description": "Partition this gateway is assigned to",
        "properties": {
          "eq": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than": {
            "format": "uuid",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "uuid",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "uuid",
            "type": "string"
          },
          "not_eq": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-last_seen_time": {
        "additionalProperties": false,
        "description": "When device was last seen",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-name": {
        "additionalProperties": false,
        "description": "Device display name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-last_error": {
        "additionalProperties": false,
        "description": "Last error message (if failed)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter": {
        "additionalProperties": false,
        "description": "Filters the query to results matching the given filter object",
        "example": "",
        "properties": {
          "or": {
            "items": {
              "$ref": "#/components/schemas/device-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "region": {
            "$ref": "#/components/schemas/device-filter-region"
          },
          "gateway_id": {
            "$ref": "#/components/schemas/device-filter-gateway_id"
          },
          "group_id": {
            "$ref": "#/components/schemas/device-filter-group_id"
          },
          "uid": {
            "$ref": "#/components/schemas/device-filter-uid"
          },
          "modified_time": {
            "$ref": "#/components/schemas/device-filter-modified_time"
          },
          "os": {
            "$ref": "#/components/schemas/device-filter-os"
          },
          "and": {
            "items": {
              "$ref": "#/components/schemas/device-filter"
            },
            "type": "array",
            "uniqueItems": true
          },
          "deleted_reason": {
            "$ref": "#/components/schemas/device-filter-deleted_reason"
          },
          "type": {
            "$ref": "#/components/schemas/device-filter-type"
          },
          "first_seen_time": {
            "$ref": "#/components/schemas/device-filter-first_seen_time"
          },
          "mac": {
            "$ref": "#/components/schemas/device-filter-mac"
          },
          "org": {
            "$ref": "#/components/schemas/device-filter-org"
          },
          "deleted_at": {
            "$ref": "#/components/schemas/device-filter-deleted_at"
          },
          "risk_level": {
            "$ref": "#/components/schemas/device-filter-risk_level"
          },
          "created_time": {
            "$ref": "#/components/schemas/device-filter-created_time"
          },
          "not": {
            "$ref": "#/components/schemas/device-filter"
          },
          "subnet_uid": {
            "$ref": "#/components/schemas/device-filter-subnet_uid"
          },
          "availability_source_agent_id": {
            "$ref": "#/components/schemas/device-filter-availability_source_agent_id"
          },
          "vendor_name": {
            "$ref": "#/components/schemas/device-filter-vendor_name"
          },
          "interfaces": {
            "$ref": "#/components/schemas/interface-filter"
          },
          "zone": {
            "$ref": "#/components/schemas/device-filter-zone"
          },
          "risk_score": {
            "$ref": "#/components/schemas/device-filter-risk_score"
          },
          "name": {
            "$ref": "#/components/schemas/device-filter-name"
          },
          "hw_info": {
            "$ref": "#/components/schemas/device-filter-hw_info"
          },
          "uid_alt": {
            "$ref": "#/components/schemas/device-filter-uid_alt"
          },
          "tags": {
            "$ref": "#/components/schemas/device-filter-tags"
          },
          "model": {
            "$ref": "#/components/schemas/device-filter-model"
          },
          "type_id": {
            "$ref": "#/components/schemas/device-filter-type_id"
          },
          "last_seen_time": {
            "$ref": "#/components/schemas/device-filter-last_seen_time"
          },
          "owner": {
            "$ref": "#/components/schemas/device-filter-owner"
          },
          "is_managed": {
            "$ref": "#/components/schemas/device-filter-is_managed"
          },
          "risk_level_id": {
            "$ref": "#/components/schemas/device-filter-risk_level_id"
          },
          "group": {
            "$ref": "#/components/schemas/device-group-filter"
          },
          "is_trusted": {
            "$ref": "#/components/schemas/device-filter-is_trusted"
          },
          "availability_source_profile_id": {
            "$ref": "#/components/schemas/device-filter-availability_source_profile_id"
          },
          "is_active": {
            "$ref": "#/components/schemas/device-filter-is_active"
          },
          "deleted_by": {
            "$ref": "#/components/schemas/device-filter-deleted_by"
          },
          "management_device_id": {
            "$ref": "#/components/schemas/device-filter-management_device_id"
          },
          "domain": {
            "$ref": "#/components/schemas/device-filter-domain"
          },
          "ip": {
            "$ref": "#/components/schemas/device-filter-ip"
          },
          "hostname": {
            "$ref": "#/components/schemas/device-filter-hostname"
          },
          "is_available": {
            "$ref": "#/components/schemas/device-filter-is_available"
          },
          "vlan_uid": {
            "$ref": "#/components/schemas/device-filter-vlan_uid"
          },
          "agent_id": {
            "$ref": "#/components/schemas/device-filter-agent_id"
          },
          "metadata": {
            "$ref": "#/components/schemas/device-filter-metadata"
          },
          "is_compliant": {
            "$ref": "#/components/schemas/device-filter-is_compliant"
          }
        },
        "type": "deepObject"
      },
      "alert-filter-notification_count": {
        "additionalProperties": false,
        "description": "Number of notifications sent",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "device_cleanup_settings-filter-enabled": {
        "additionalProperties": false,
        "description": "Whether device cleanup scheduling is enabled",
        "properties": {
          "eq": {
            "type": "boolean"
          },
          "greater_than": {
            "type": "boolean"
          },
          "greater_than_or_equal": {
            "type": "boolean"
          },
          "in": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "boolean"
          },
          "less_than_or_equal": {
            "type": "boolean"
          },
          "not_eq": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "device-filter-availability_source_agent_id": {
        "additionalProperties": false,
        "description": "Agent whose sweep results drive canonical device availability; nil keeps legacy fallback behavior",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-name": {
        "additionalProperties": false,
        "description": "Agent display name",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-device_id": {
        "additionalProperties": false,
        "description": "Device unique identifier",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "service-check-filter-interval_seconds": {
        "additionalProperties": false,
        "description": "Check interval in seconds",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "gateway-filter-checker_count": {
        "additionalProperties": false,
        "description": "Number of active checkers",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "poll-job-filter-schedule_name": {
        "additionalProperties": false,
        "description": "Cached schedule name for display",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-if_descr_pattern": {
        "additionalProperties": false,
        "description": "Regex pattern for interface description match",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-agent_uid": {
        "additionalProperties": false,
        "description": "Related agent",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface-filter-if_admin_status": {
        "additionalProperties": false,
        "description": "Administrative status (1=up, 2=down, 3=testing)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "agent-filter-uid_alt": {
        "additionalProperties": false,
        "description": "Alternative unique identifier",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional metadata, including protocol-specific passive_fingerprint evidence",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "agent": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a agent",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a agent",
            "properties": {
              "capabilities": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent capabilities (e.g., 'ping', 'snmp', 'http'). Field included by default."
              },
              "config_source": {
                "anyOf": [
                  {
                    "enum": [
                      "remote",
                      "local",
                      "cached",
                      "unassigned"
                    ],
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Source of sysmon config: remote (from backend), local (file override), cached, or unassigned. Field included by default."
              },
              "created_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Record creation time. Field included by default."
              },
              "desired_version": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Desired version assigned by release management. Field included by default."
              },
              "device_uid": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Device this agent runs on. Field included by default."
              },
              "first_seen_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When agent was first seen. Field included by default."
              },
              "gateway_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Gateway this agent is connected to. Field included by default."
              },
              "host": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Hostname or host the agent reports. Field included by default."
              },
              "ip": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Source IP address for the agent connection when known. Field included by default."
              },
              "is_healthy": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Current health status. Field included by default."
              },
              "last_seen_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When agent was last seen. Field included by default."
              },
              "last_update_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Last time a managed release update state changed. Field included by default."
              },
              "last_update_error": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Last managed release update error. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata. Field included by default."
              },
              "modified_time": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Record modification time. Field included by default."
              },
              "name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent display name. Field included by default."
              },
              "plugin_engine_max_concurrent": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Max number of concurrent Wasm plugin executions on this agent. Field included by default."
              },
              "plugin_engine_max_cpu_ms": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Max total CPU time window (ms) for Wasm plugins on this agent. Field included by default."
              },
              "plugin_engine_max_memory_mb": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Max total memory (MB) for Wasm plugins on this agent. Field included by default."
              },
              "plugin_engine_max_open_connections": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Max total open connections for Wasm plugins on this agent. Field included by default."
              },
              "policies": {
                "anyOf": [
                  {
                    "items": {
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Policies applied to this agent (OCSF Policy objects). Field included by default."
              },
              "port": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Port the agent listens on for gRPC. Field included by default."
              },
              "release_rollout_state": {
                "anyOf": [
                  {
                    "enum": [
                      "pending",
                      "dispatched",
                      "downloading",
                      "verifying",
                      "staged",
                      "restarting",
                      "healthy",
                      "failed",
                      "rolled_back",
                      "canceled"
                    ],
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Current release rollout state for this agent. Field included by default."
              },
              "spiffe_identity": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SPIFFE ID for mTLS authentication. Field included by default."
              },
              "status": {
                "description": "Current lifecycle state (state machine managed). Field included by default.",
                "enum": [
                  "connecting",
                  "connected",
                  "degraded",
                  "disconnected",
                  "unavailable"
                ],
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "OCSF agent type name. Field included by default."
              },
              "type_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "OCSF agent type ID. Field included by default."
              },
              "uid_alt": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Alternative unique identifier. Field included by default."
              },
              "vendor_name": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent vendor/author. Field included by default."
              },
              "version": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Agent semantic version. Field included by default."
              }
            },
            "required": [
              "status"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a agent",
            "properties": {
              "device": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for device",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              },
              "gateway": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "description": "An identifier for gateway",
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "meta": {
                        "additionalProperties": true,
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "gateway-filter-first_seen": {
        "additionalProperties": false,
        "description": "When gateway was first seen online",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-metadata": {
        "additionalProperties": false,
        "description": "Additional job metadata",
        "properties": {
          "eq": {
            "type": "object"
          },
          "greater_than": {
            "type": "object"
          },
          "greater_than_or_equal": {
            "type": "object"
          },
          "in": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "object"
          },
          "less_than_or_equal": {
            "type": "object"
          },
          "not_eq": {
            "type": "object"
          }
        },
        "type": "object"
      },
      "agent-filter-last_seen_time": {
        "additionalProperties": false,
        "description": "When agent was last seen",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "agent-filter-plugin_engine_max_memory_mb": {
        "additionalProperties": false,
        "description": "Max total memory (MB) for Wasm plugins on this agent",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "alert-filter-resolved_by": {
        "additionalProperties": false,
        "description": "User or system that resolved",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "poll-job-filter-completed_at": {
        "additionalProperties": false,
        "description": "When the job completed (success or failure)",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-registration_source": {
        "additionalProperties": false,
        "description": "How the gateway was registered (auto, manual, kubernetes)",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "alert-filter-escalation_level": {
        "additionalProperties": false,
        "description": "Current escalation level",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-if_alias_pattern": {
        "additionalProperties": false,
        "description": "Regex pattern for interface alias match",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-component_id": {
        "additionalProperties": false,
        "description": "Component identifier for hierarchical organization",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway-filter-agent_count": {
        "additionalProperties": false,
        "description": "Number of connected agents",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "agent-filter-device_uid": {
        "additionalProperties": false,
        "description": "Device this agent runs on",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-modified_time": {
        "additionalProperties": false,
        "description": "Record modification time",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "device-filter-deleted_at": {
        "additionalProperties": false,
        "description": "Soft delete tombstone timestamp",
        "properties": {
          "eq": {},
          "greater_than": {},
          "greater_than_or_equal": {},
          "in": {
            "items": {},
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {},
          "less_than_or_equal": {},
          "not_eq": {}
        },
        "type": "object"
      },
      "interface-filter-created_at": {
        "additionalProperties": false,
        "description": "Record creation time",
        "properties": {
          "eq": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than": {
            "format": "date-time",
            "type": "string"
          },
          "greater_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "in": {
            "items": {
              "format": "date-time",
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "format": "date-time",
            "type": "string"
          },
          "less_than_or_equal": {
            "format": "date-time",
            "type": "string"
          },
          "not_eq": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "interface_classification_rule-filter-vendor_pattern": {
        "additionalProperties": false,
        "description": "Regex pattern for device vendor match",
        "properties": {
          "contains": {
            "type": "string"
          },
          "eq": {
            "type": "string"
          },
          "greater_than": {
            "type": "string"
          },
          "greater_than_or_equal": {
            "type": "string"
          },
          "ilike": {
            "type": "string"
          },
          "in": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "string"
          },
          "less_than_or_equal": {
            "type": "string"
          },
          "like": {
            "type": "string"
          },
          "not_eq": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "gateway": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a gateway",
        "properties": {
          "attributes": {
            "additionalProperties": false,
            "description": "An attributes object for a gateway",
            "properties": {
              "agent_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of connected agents. Field included by default."
              },
              "checker_count": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Number of active checkers. Field included by default."
              },
              "component_id": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Component identifier for hierarchical organization. Field included by default."
              },
              "created_by": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "User or system that created this gateway. Field included by default."
              },
              "first_registered": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When gateway first registered. Field included by default."
              },
              "first_seen": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When gateway was first seen online. Field included by default."
              },
              "is_healthy": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Current health status. Field included by default."
              },
              "last_seen": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "When gateway was last seen online. Field included by default."
              },
              "metadata": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Additional metadata. Field included by default."
              },
              "partition_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Partition this gateway is assigned to. Field included by default."
              },
              "registration_source": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "How the gateway was registered (auto, manual, kubernetes). Field included by default."
              },
              "spiffe_identity": {
                "anyOf": [
                  {
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SPIFFE ID for mTLS authentication. Field included by default."
              },
              "status": {
                "description": "Current operational status (state machine managed). Field included by default.",
                "enum": [
                  "inactive",
                  "healthy",
                  "degraded",
                  "offline",
                  "recovering",
                  "maintenance",
                  "draining"
                ],
                "type": "string"
              },
              "updated_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "nullable": true,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Last update time. Field included by default."
              }
            },
            "required": [
              "status"
            ],
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "additionalProperties": false,
            "description": "A relationships object for a gateway",
            "properties": {
              "agents": {
                "properties": {
                  "data": {
                    "description": "Relationship data for agents",
                    "items": {
                      "additionalProperties": false,
                      "description": "Resource identifiers for agents",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "meta": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "id"
                      ],
                      "type": "object"
                    },
                    "type": "array",
                    "uniqueItems": true
                  }
                }
              }
            },
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "device-filter-risk_level_id": {
        "additionalProperties": false,
        "description": "OCSF risk level ID (0-4)",
        "properties": {
          "eq": {
            "type": "integer"
          },
          "greater_than": {
            "type": "integer"
          },
          "greater_than_or_equal": {
            "type": "integer"
          },
          "in": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_distinct_from": {
            "type": "string"
          },
          "is_nil": {
            "type": "boolean"
          },
          "is_not_distinct_from": {
            "type": "string"
          },
          "less_than": {
            "type": "integer"
          },
          "less_than_or_equal": {
            "type": "integer"
          },
          "not_eq": {
            "type": "integer"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "description": "JWT for bearer authentication",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "ServiceRadar API",
    "version": "2.0.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/v2/agents/by-gateway/{gateway_id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/agents/by-gateway/:gateway_id operation on agent resource",
        "parameters": [
          {
            "in": "path",
            "name": "gateway_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/agent-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(uid|-uid|\\+\\+uid|--uid|name|-name|\\+\\+name|--name|type_id|-type_id|\\+\\+type_id|--type_id|type|-type|\\+\\+type|--type|uid_alt|-uid_alt|\\+\\+uid_alt|--uid_alt|vendor_name|-vendor_name|\\+\\+vendor_name|--vendor_name|version|-version|\\+\\+version|--version|desired_version|-desired_version|\\+\\+desired_version|--desired_version|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|host|-host|\\+\\+host|--host|ip|-ip|\\+\\+ip|--ip|port|-port|\\+\\+port|--port|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|status|-status|\\+\\+status|--status|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|first_seen_time|-first_seen_time|\\+\\+first_seen_time|--first_seen_time|last_seen_time|-last_seen_time|\\+\\+last_seen_time|--last_seen_time|created_time|-created_time|\\+\\+created_time|--created_time|modified_time|-modified_time|\\+\\+modified_time|--modified_time|metadata|-metadata|\\+\\+metadata|--metadata|release_rollout_state|-release_rollout_state|\\+\\+release_rollout_state|--release_rollout_state|last_update_at|-last_update_at|\\+\\+last_update_at|--last_update_at|last_update_error|-last_update_error|\\+\\+last_update_error|--last_update_error|config_source|-config_source|\\+\\+config_source|--config_source|plugin_engine_max_memory_mb|-plugin_engine_max_memory_mb|\\+\\+plugin_engine_max_memory_mb|--plugin_engine_max_memory_mb|plugin_engine_max_cpu_ms|-plugin_engine_max_cpu_ms|\\+\\+plugin_engine_max_cpu_ms|--plugin_engine_max_cpu_ms|plugin_engine_max_concurrent|-plugin_engine_max_concurrent|\\+\\+plugin_engine_max_concurrent|--plugin_engine_max_concurrent|plugin_engine_max_open_connections|-plugin_engine_max_open_connections|\\+\\+plugin_engine_max_open_connections|--plugin_engine_max_open_connections)(,(uid|-uid|\\+\\+uid|--uid|name|-name|\\+\\+name|--name|type_id|-type_id|\\+\\+type_id|--type_id|type|-type|\\+\\+type|--type|uid_alt|-uid_alt|\\+\\+uid_alt|--uid_alt|vendor_name|-vendor_name|\\+\\+vendor_name|--vendor_name|version|-version|\\+\\+version|--version|desired_version|-desired_version|\\+\\+desired_version|--desired_version|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|host|-host|\\+\\+host|--host|ip|-ip|\\+\\+ip|--ip|port|-port|\\+\\+port|--port|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|status|-status|\\+\\+status|--status|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|first_seen_time|-first_seen_time|\\+\\+first_seen_time|--first_seen_time|last_seen_time|-last_seen_time|\\+\\+last_seen_time|--last_seen_time|created_time|-created_time|\\+\\+created_time|--created_time|modified_time|-modified_time|\\+\\+modified_time|--modified_time|metadata|-metadata|\\+\\+metadata|--metadata|release_rollout_state|-release_rollout_state|\\+\\+release_rollout_state|--release_rollout_state|last_update_at|-last_update_at|\\+\\+last_update_at|--last_update_at|last_update_error|-last_update_error|\\+\\+last_update_error|--last_update_error|config_source|-config_source|\\+\\+config_source|--config_source|plugin_engine_max_memory_mb|-plugin_engine_max_memory_mb|\\+\\+plugin_engine_max_memory_mb|--plugin_engine_max_memory_mb|plugin_engine_max_cpu_ms|-plugin_engine_max_cpu_ms|\\+\\+plugin_engine_max_cpu_ms|--plugin_engine_max_cpu_ms|plugin_engine_max_concurrent|-plugin_engine_max_concurrent|\\+\\+plugin_engine_max_concurrent|--plugin_engine_max_concurrent|plugin_engine_max_open_connections|-plugin_engine_max_open_connections|\\+\\+plugin_engine_max_open_connections|--plugin_engine_max_open_connections))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a agent",
                      "items": {
                        "$ref": "#/components/schemas/agent"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      }
    },
    "/api/v2/gateways/{id}/deactivate": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Deactivate a gateway (admin action)",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/deactivate operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/device-cleanup-settings/{id}": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Update device cleanup settings",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device_cleanup_settings": "retention_days,cleanup_interval_minutes,batch_size,enabled"
              },
              "properties": {
                "device_cleanup_settings": {
                  "description": "Comma separated field names for device_cleanup_settings",
                  "example": "retention_days,cleanup_interval_minutes,batch_size,enabled",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "batch_size": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Batch size for device cleanup deletes"
                          },
                          "cleanup_interval_minutes": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "How often to run device cleanup (minutes)"
                          },
                          "enabled": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether device cleanup scheduling is enabled"
                          },
                          "retention_days": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Number of days to keep soft-deleted devices before purging"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "device_cleanup_settings"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /device-cleanup-settings/:id operation on device_cleanup_settings resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/device_cleanup_settings"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device_cleanup_settings"
        ]
      }
    },
    "/api/v2/service-checks": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/service-checks operation on service-check resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/service-check-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|description|-description|\\+\\+description|--description|check_type|-check_type|\\+\\+check_type|--check_type|target|-target|\\+\\+target|--target|port|-port|\\+\\+port|--port|interval_seconds|-interval_seconds|\\+\\+interval_seconds|--interval_seconds|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|retries|-retries|\\+\\+retries|--retries|enabled|-enabled|\\+\\+enabled|--enabled|config|-config|\\+\\+config|--config|warning_threshold_ms|-warning_threshold_ms|\\+\\+warning_threshold_ms|--warning_threshold_ms|critical_threshold_ms|-critical_threshold_ms|\\+\\+critical_threshold_ms|--critical_threshold_ms|last_check_at|-last_check_at|\\+\\+last_check_at|--last_check_at|last_result|-last_result|\\+\\+last_result|--last_result|last_response_time_ms|-last_response_time_ms|\\+\\+last_response_time_ms|--last_response_time_ms|last_error|-last_error|\\+\\+last_error|--last_error|consecutive_failures|-consecutive_failures|\\+\\+consecutive_failures|--consecutive_failures|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|device_uid|-device_uid|\\+\\+device_uid|--device_uid|metadata|-metadata|\\+\\+metadata|--metadata|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id)(,(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|description|-description|\\+\\+description|--description|check_type|-check_type|\\+\\+check_type|--check_type|target|-target|\\+\\+target|--target|port|-port|\\+\\+port|--port|interval_seconds|-interval_seconds|\\+\\+interval_seconds|--interval_seconds|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|retries|-retries|\\+\\+retries|--retries|enabled|-enabled|\\+\\+enabled|--enabled|config|-config|\\+\\+config|--config|warning_threshold_ms|-warning_threshold_ms|\\+\\+warning_threshold_ms|--warning_threshold_ms|critical_threshold_ms|-critical_threshold_ms|\\+\\+critical_threshold_ms|--critical_threshold_ms|last_check_at|-last_check_at|\\+\\+last_check_at|--last_check_at|last_result|-last_result|\\+\\+last_result|--last_result|last_response_time_ms|-last_response_time_ms|\\+\\+last_response_time_ms|--last_response_time_ms|last_error|-last_error|\\+\\+last_error|--last_error|consecutive_failures|-consecutive_failures|\\+\\+consecutive_failures|--consecutive_failures|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|device_uid|-device_uid|\\+\\+device_uid|--device_uid|metadata|-metadata|\\+\\+metadata|--metadata|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "service-check": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id"
              },
              "properties": {
                "service-check": {
                  "description": "Comma separated field names for service-check",
                  "example": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a service-check",
                      "items": {
                        "$ref": "#/components/schemas/service-check"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "service-check"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "/service-checks operation on service-check resource",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "service-check": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id"
              },
              "properties": {
                "service-check": {
                  "description": "Comma separated field names for service-check",
                  "example": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "agent_uid": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent assigned to execute this check"
                          },
                          "check_type": {
                            "description": "Type of check to perform",
                            "enum": [
                              "ping",
                              "http",
                              "tcp",
                              "snmp",
                              "grpc",
                              "dns",
                              "mtr",
                              "custom"
                            ],
                            "type": "string"
                          },
                          "config": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Type-specific configuration (headers, SNMP OIDs, etc.)"
                          },
                          "critical_threshold_ms": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Response time critical threshold (milliseconds)"
                          },
                          "description": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Check description"
                          },
                          "device_uid": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Device being monitored"
                          },
                          "interval_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Check interval in seconds"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "name": {
                            "description": "Human-readable check name",
                            "type": "string"
                          },
                          "port": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Target port (for TCP/HTTP checks)"
                          },
                          "retries": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Number of retries before marking failed"
                          },
                          "target": {
                            "description": "Target host/IP/URL to check",
                            "type": "string"
                          },
                          "timeout_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Check timeout in seconds"
                          },
                          "warning_threshold_ms": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Response time warning threshold (milliseconds)"
                          }
                        },
                        "required": [
                          "name",
                          "check_type",
                          "target"
                        ],
                        "type": "object"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "service-check"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /service-checks operation on service-check resource",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/service-check"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "service-check"
        ]
      }
    },
    "/api/v2/gateways/{id}/maintenance/start": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Put gateway into maintenance mode",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/maintenance/start operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/devices": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/devices operation on device resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/device-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(uid|-uid|\\+\\+uid|--uid|type_id|-type_id|\\+\\+type_id|--type_id|type|-type|\\+\\+type|--type|name|-name|\\+\\+name|--name|hostname|-hostname|\\+\\+hostname|--hostname|ip|-ip|\\+\\+ip|--ip|mac|-mac|\\+\\+mac|--mac|uid_alt|-uid_alt|\\+\\+uid_alt|--uid_alt|vendor_name|-vendor_name|\\+\\+vendor_name|--vendor_name|model|-model|\\+\\+model|--model|domain|-domain|\\+\\+domain|--domain|zone|-zone|\\+\\+zone|--zone|subnet_uid|-subnet_uid|\\+\\+subnet_uid|--subnet_uid|vlan_uid|-vlan_uid|\\+\\+vlan_uid|--vlan_uid|region|-region|\\+\\+region|--region|first_seen_time|-first_seen_time|\\+\\+first_seen_time|--first_seen_time|last_seen_time|-last_seen_time|\\+\\+last_seen_time|--last_seen_time|created_time|-created_time|\\+\\+created_time|--created_time|modified_time|-modified_time|\\+\\+modified_time|--modified_time|risk_level_id|-risk_level_id|\\+\\+risk_level_id|--risk_level_id|risk_level|-risk_level|\\+\\+risk_level|--risk_level|risk_score|-risk_score|\\+\\+risk_score|--risk_score|is_managed|-is_managed|\\+\\+is_managed|--is_managed|is_compliant|-is_compliant|\\+\\+is_compliant|--is_compliant|is_trusted|-is_trusted|\\+\\+is_trusted|--is_trusted|is_active|-is_active|\\+\\+is_active|--is_active|os|-os|\\+\\+os|--os|hw_info|-hw_info|\\+\\+hw_info|--hw_info|owner|-owner|\\+\\+owner|--owner|org|-org|\\+\\+org|--org|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|management_device_id|-management_device_id|\\+\\+management_device_id|--management_device_id|deleted_at|-deleted_at|\\+\\+deleted_at|--deleted_at|deleted_by|-deleted_by|\\+\\+deleted_by|--deleted_by|deleted_reason|-deleted_reason|\\+\\+deleted_reason|--deleted_reason|tags|-tags|\\+\\+tags|--tags|is_available|-is_available|\\+\\+is_available|--is_available|availability_source_agent_id|-availability_source_agent_id|\\+\\+availability_source_agent_id|--availability_source_agent_id|availability_source_profile_id|-availability_source_profile_id|\\+\\+availability_source_profile_id|--availability_source_profile_id|metadata|-metadata|\\+\\+metadata|--metadata|group_id|-group_id|\\+\\+group_id|--group_id)(,(uid|-uid|\\+\\+uid|--uid|type_id|-type_id|\\+\\+type_id|--type_id|type|-type|\\+\\+type|--type|name|-name|\\+\\+name|--name|hostname|-hostname|\\+\\+hostname|--hostname|ip|-ip|\\+\\+ip|--ip|mac|-mac|\\+\\+mac|--mac|uid_alt|-uid_alt|\\+\\+uid_alt|--uid_alt|vendor_name|-vendor_name|\\+\\+vendor_name|--vendor_name|model|-model|\\+\\+model|--model|domain|-domain|\\+\\+domain|--domain|zone|-zone|\\+\\+zone|--zone|subnet_uid|-subnet_uid|\\+\\+subnet_uid|--subnet_uid|vlan_uid|-vlan_uid|\\+\\+vlan_uid|--vlan_uid|region|-region|\\+\\+region|--region|first_seen_time|-first_seen_time|\\+\\+first_seen_time|--first_seen_time|last_seen_time|-last_seen_time|\\+\\+last_seen_time|--last_seen_time|created_time|-created_time|\\+\\+created_time|--created_time|modified_time|-modified_time|\\+\\+modified_time|--modified_time|risk_level_id|-risk_level_id|\\+\\+risk_level_id|--risk_level_id|risk_level|-risk_level|\\+\\+risk_level|--risk_level|risk_score|-risk_score|\\+\\+risk_score|--risk_score|is_managed|-is_managed|\\+\\+is_managed|--is_managed|is_compliant|-is_compliant|\\+\\+is_compliant|--is_compliant|is_trusted|-is_trusted|\\+\\+is_trusted|--is_trusted|is_active|-is_active|\\+\\+is_active|--is_active|os|-os|\\+\\+os|--os|hw_info|-hw_info|\\+\\+hw_info|--hw_info|owner|-owner|\\+\\+owner|--owner|org|-org|\\+\\+org|--org|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|management_device_id|-management_device_id|\\+\\+management_device_id|--management_device_id|deleted_at|-deleted_at|\\+\\+deleted_at|--deleted_at|deleted_by|-deleted_by|\\+\\+deleted_by|--deleted_by|deleted_reason|-deleted_reason|\\+\\+deleted_reason|--deleted_reason|tags|-tags|\\+\\+tags|--tags|is_available|-is_available|\\+\\+is_available|--is_available|availability_source_agent_id|-availability_source_agent_id|\\+\\+availability_source_agent_id|--availability_source_agent_id|availability_source_profile_id|-availability_source_profile_id|\\+\\+availability_source_profile_id|--availability_source_profile_id|metadata|-metadata|\\+\\+metadata|--metadata|group_id|-group_id|\\+\\+group_id|--group_id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 5000
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device": "uid,type_id,type,name,hostname,ip,mac,uid_alt,vendor_name,model,domain,zone,subnet_uid,vlan_uid,region,first_seen_time,last_seen_time,created_time,modified_time,risk_level_id,risk_level,risk_score,is_managed,is_compliant,is_trusted,is_active,os,hw_info,network_interfaces,owner,org,groups,agent_list,gateway_id,agent_id,management_device_id,discovery_sources,deleted_at,deleted_by,deleted_reason,tags,is_available,availability_source_agent_id,availability_source_profile_id,metadata,group_id"
              },
              "properties": {
                "device": {
                  "description": "Comma separated field names for device",
                  "example": "uid,type_id,type,name,hostname,ip,mac,uid_alt,vendor_name,model,domain,zone,subnet_uid,vlan_uid,region,first_seen_time,last_seen_time,created_time,modified_time,risk_level_id,risk_level,risk_score,is_managed,is_compliant,is_trusted,is_active,os,hw_info,network_interfaces,owner,org,groups,agent_list,gateway_id,agent_id,management_device_id,discovery_sources,deleted_at,deleted_by,deleted_reason,tags,is_available,availability_source_agent_id,availability_source_profile_id,metadata,group_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "in": "query",
            "name": "include_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a device",
                      "items": {
                        "$ref": "#/components/schemas/device"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device"
        ]
      }
    },
    "/api/v2/gateways/{id}/offline": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Mark gateway as offline",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "reason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/offline operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/service-checks/enabled": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "All enabled checks",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/service-check-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|description|-description|\\+\\+description|--description|check_type|-check_type|\\+\\+check_type|--check_type|target|-target|\\+\\+target|--target|port|-port|\\+\\+port|--port|interval_seconds|-interval_seconds|\\+\\+interval_seconds|--interval_seconds|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|retries|-retries|\\+\\+retries|--retries|enabled|-enabled|\\+\\+enabled|--enabled|config|-config|\\+\\+config|--config|warning_threshold_ms|-warning_threshold_ms|\\+\\+warning_threshold_ms|--warning_threshold_ms|critical_threshold_ms|-critical_threshold_ms|\\+\\+critical_threshold_ms|--critical_threshold_ms|last_check_at|-last_check_at|\\+\\+last_check_at|--last_check_at|last_result|-last_result|\\+\\+last_result|--last_result|last_response_time_ms|-last_response_time_ms|\\+\\+last_response_time_ms|--last_response_time_ms|last_error|-last_error|\\+\\+last_error|--last_error|consecutive_failures|-consecutive_failures|\\+\\+consecutive_failures|--consecutive_failures|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|device_uid|-device_uid|\\+\\+device_uid|--device_uid|metadata|-metadata|\\+\\+metadata|--metadata|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id)(,(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|description|-description|\\+\\+description|--description|check_type|-check_type|\\+\\+check_type|--check_type|target|-target|\\+\\+target|--target|port|-port|\\+\\+port|--port|interval_seconds|-interval_seconds|\\+\\+interval_seconds|--interval_seconds|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|retries|-retries|\\+\\+retries|--retries|enabled|-enabled|\\+\\+enabled|--enabled|config|-config|\\+\\+config|--config|warning_threshold_ms|-warning_threshold_ms|\\+\\+warning_threshold_ms|--warning_threshold_ms|critical_threshold_ms|-critical_threshold_ms|\\+\\+critical_threshold_ms|--critical_threshold_ms|last_check_at|-last_check_at|\\+\\+last_check_at|--last_check_at|last_result|-last_result|\\+\\+last_result|--last_result|last_response_time_ms|-last_response_time_ms|\\+\\+last_response_time_ms|--last_response_time_ms|last_error|-last_error|\\+\\+last_error|--last_error|consecutive_failures|-consecutive_failures|\\+\\+consecutive_failures|--consecutive_failures|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|device_uid|-device_uid|\\+\\+device_uid|--device_uid|metadata|-metadata|\\+\\+metadata|--metadata|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "service-check": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id"
              },
              "properties": {
                "service-check": {
                  "description": "Comma separated field names for service-check",
                  "example": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a service-check",
                      "items": {
                        "$ref": "#/components/schemas/service-check"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "service-check"
        ]
      }
    },
    "/api/v2/agents": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/agents operation on agent resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/agent-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(uid|-uid|\\+\\+uid|--uid|name|-name|\\+\\+name|--name|type_id|-type_id|\\+\\+type_id|--type_id|type|-type|\\+\\+type|--type|uid_alt|-uid_alt|\\+\\+uid_alt|--uid_alt|vendor_name|-vendor_name|\\+\\+vendor_name|--vendor_name|version|-version|\\+\\+version|--version|desired_version|-desired_version|\\+\\+desired_version|--desired_version|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|host|-host|\\+\\+host|--host|ip|-ip|\\+\\+ip|--ip|port|-port|\\+\\+port|--port|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|status|-status|\\+\\+status|--status|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|first_seen_time|-first_seen_time|\\+\\+first_seen_time|--first_seen_time|last_seen_time|-last_seen_time|\\+\\+last_seen_time|--last_seen_time|created_time|-created_time|\\+\\+created_time|--created_time|modified_time|-modified_time|\\+\\+modified_time|--modified_time|metadata|-metadata|\\+\\+metadata|--metadata|release_rollout_state|-release_rollout_state|\\+\\+release_rollout_state|--release_rollout_state|last_update_at|-last_update_at|\\+\\+last_update_at|--last_update_at|last_update_error|-last_update_error|\\+\\+last_update_error|--last_update_error|config_source|-config_source|\\+\\+config_source|--config_source|plugin_engine_max_memory_mb|-plugin_engine_max_memory_mb|\\+\\+plugin_engine_max_memory_mb|--plugin_engine_max_memory_mb|plugin_engine_max_cpu_ms|-plugin_engine_max_cpu_ms|\\+\\+plugin_engine_max_cpu_ms|--plugin_engine_max_cpu_ms|plugin_engine_max_concurrent|-plugin_engine_max_concurrent|\\+\\+plugin_engine_max_concurrent|--plugin_engine_max_concurrent|plugin_engine_max_open_connections|-plugin_engine_max_open_connections|\\+\\+plugin_engine_max_open_connections|--plugin_engine_max_open_connections)(,(uid|-uid|\\+\\+uid|--uid|name|-name|\\+\\+name|--name|type_id|-type_id|\\+\\+type_id|--type_id|type|-type|\\+\\+type|--type|uid_alt|-uid_alt|\\+\\+uid_alt|--uid_alt|vendor_name|-vendor_name|\\+\\+vendor_name|--vendor_name|version|-version|\\+\\+version|--version|desired_version|-desired_version|\\+\\+desired_version|--desired_version|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|host|-host|\\+\\+host|--host|ip|-ip|\\+\\+ip|--ip|port|-port|\\+\\+port|--port|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|status|-status|\\+\\+status|--status|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|first_seen_time|-first_seen_time|\\+\\+first_seen_time|--first_seen_time|last_seen_time|-last_seen_time|\\+\\+last_seen_time|--last_seen_time|created_time|-created_time|\\+\\+created_time|--created_time|modified_time|-modified_time|\\+\\+modified_time|--modified_time|metadata|-metadata|\\+\\+metadata|--metadata|release_rollout_state|-release_rollout_state|\\+\\+release_rollout_state|--release_rollout_state|last_update_at|-last_update_at|\\+\\+last_update_at|--last_update_at|last_update_error|-last_update_error|\\+\\+last_update_error|--last_update_error|config_source|-config_source|\\+\\+config_source|--config_source|plugin_engine_max_memory_mb|-plugin_engine_max_memory_mb|\\+\\+plugin_engine_max_memory_mb|--plugin_engine_max_memory_mb|plugin_engine_max_cpu_ms|-plugin_engine_max_cpu_ms|\\+\\+plugin_engine_max_cpu_ms|--plugin_engine_max_cpu_ms|plugin_engine_max_concurrent|-plugin_engine_max_concurrent|\\+\\+plugin_engine_max_concurrent|--plugin_engine_max_concurrent|plugin_engine_max_open_connections|-plugin_engine_max_open_connections|\\+\\+plugin_engine_max_open_connections|--plugin_engine_max_open_connections))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a agent",
                      "items": {
                        "$ref": "#/components/schemas/agent"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Register a new agent (starts in connecting state)",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "capabilities": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Agent capabilities (e.g., 'ping', 'snmp', 'http')",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent capabilities (e.g., 'ping', 'snmp', 'http')"
                          },
                          "device_uid": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Device this agent runs on"
                          },
                          "gateway_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Gateway this agent is connected to"
                          },
                          "host": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Hostname or host the agent reports"
                          },
                          "ip": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Source IP address for the agent connection when known"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent display name"
                          },
                          "policies": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Policies applied to this agent (OCSF Policy objects)",
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Policies applied to this agent (OCSF Policy objects)"
                          },
                          "port": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Port the agent listens on for gRPC"
                          },
                          "spiffe_identity": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "SPIFFE ID for mTLS authentication"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "OCSF agent type name"
                          },
                          "type_id": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "OCSF agent type ID"
                          },
                          "uid": {
                            "description": "Unique agent identifier (sensor ID)",
                            "type": "string"
                          },
                          "uid_alt": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Alternative unique identifier"
                          },
                          "vendor_name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent vendor/author"
                          },
                          "version": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent semantic version"
                          }
                        },
                        "required": [
                          "uid"
                        ],
                        "type": "object"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "agent"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /agents operation on agent resource",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/agent"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      }
    },
    "/api/v2/device-cleanup-settings": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Get the singleton cleanup settings",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device_cleanup_settings": "retention_days,cleanup_interval_minutes,batch_size,enabled"
              },
              "properties": {
                "device_cleanup_settings": {
                  "description": "Comma separated field names for device_cleanup_settings",
                  "example": "retention_days,cleanup_interval_minutes,batch_size,enabled",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/device_cleanup_settings"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device_cleanup_settings"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Create device cleanup settings",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device_cleanup_settings": "retention_days,cleanup_interval_minutes,batch_size,enabled"
              },
              "properties": {
                "device_cleanup_settings": {
                  "description": "Comma separated field names for device_cleanup_settings",
                  "example": "retention_days,cleanup_interval_minutes,batch_size,enabled",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "batch_size": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Batch size for device cleanup deletes"
                          },
                          "cleanup_interval_minutes": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "How often to run device cleanup (minutes)"
                          },
                          "enabled": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether device cleanup scheduling is enabled"
                          },
                          "retention_days": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Number of days to keep soft-deleted devices before purging"
                          }
                        },
                        "type": "object"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "device_cleanup_settings"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /device-cleanup-settings operation on device_cleanup_settings resource",
          "required": false
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/device_cleanup_settings"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device_cleanup_settings"
        ]
      }
    },
    "/api/v2/gateways/{id}/drain/finish": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Finish draining, go offline",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/drain/finish operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/gateways/{id}/degrade": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Mark gateway as degraded (having issues)",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "reason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/degrade operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/gateways/{id}/recover": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Start recovery process for degraded/offline gateway",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/recover operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/interface-classification-rules/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/interface-classification-rules/:id operation on interface_classification_rule resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "interface_classification_rule": "id,name,enabled,priority,vendor_pattern,model_pattern,sys_descr_pattern,if_name_pattern,if_descr_pattern,if_alias_pattern,if_type_ids,ip_cidr_allow,ip_cidr_deny,classifications,metadata"
              },
              "properties": {
                "interface_classification_rule": {
                  "description": "Comma separated field names for interface_classification_rule",
                  "example": "id,name,enabled,priority,vendor_pattern,model_pattern,sys_descr_pattern,if_name_pattern,if_descr_pattern,if_alias_pattern,if_type_ids,ip_cidr_allow,ip_cidr_deny,classifications,metadata",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/interface_classification_rule"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "interface_classification_rule"
        ]
      }
    },
    "/api/v2/device-groups/{id}": {
      "delete": {
        "callbacks": {},
        "deprecated": false,
        "description": "/device-groups/:id operation on device-group resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device-group": "id,name,desc,type,parent_id,metadata,device_count"
              },
              "properties": {
                "device-group": {
                  "description": "Comma separated field names for device-group",
                  "example": "id,name,desc,type,parent_id,metadata,device_count",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "description": "Deleted successfully"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device-group"
        ]
      },
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/device-groups/:id operation on device-group resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device-group": "id,name,desc,type,parent_id,metadata,device_count"
              },
              "properties": {
                "device-group": {
                  "description": "Comma separated field names for device-group",
                  "example": "id,name,desc,type,parent_id,metadata,device_count",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/device-group"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device-group"
        ]
      },
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "/device-groups/:id operation on device-group resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device-group": "id,name,desc,type,parent_id,metadata,device_count"
              },
              "properties": {
                "device-group": {
                  "description": "Comma separated field names for device-group",
                  "example": "id,name,desc,type,parent_id,metadata,device_count",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "desc": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Group description"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Group display name"
                          },
                          "parent_id": {
                            "anyOf": [
                              {
                                "format": "uuid",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Parent group ID for hierarchical grouping"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "enum": [
                                  "location",
                                  "department",
                                  "environment",
                                  "function",
                                  "custom"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Group type classification"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "device-group"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /device-groups/:id operation on device-group resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/device-group"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device-group"
        ]
      }
    },
    "/api/v2/service-checks/failing": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Checks with consecutive failures",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/service-check-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|description|-description|\\+\\+description|--description|check_type|-check_type|\\+\\+check_type|--check_type|target|-target|\\+\\+target|--target|port|-port|\\+\\+port|--port|interval_seconds|-interval_seconds|\\+\\+interval_seconds|--interval_seconds|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|retries|-retries|\\+\\+retries|--retries|enabled|-enabled|\\+\\+enabled|--enabled|config|-config|\\+\\+config|--config|warning_threshold_ms|-warning_threshold_ms|\\+\\+warning_threshold_ms|--warning_threshold_ms|critical_threshold_ms|-critical_threshold_ms|\\+\\+critical_threshold_ms|--critical_threshold_ms|last_check_at|-last_check_at|\\+\\+last_check_at|--last_check_at|last_result|-last_result|\\+\\+last_result|--last_result|last_response_time_ms|-last_response_time_ms|\\+\\+last_response_time_ms|--last_response_time_ms|last_error|-last_error|\\+\\+last_error|--last_error|consecutive_failures|-consecutive_failures|\\+\\+consecutive_failures|--consecutive_failures|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|device_uid|-device_uid|\\+\\+device_uid|--device_uid|metadata|-metadata|\\+\\+metadata|--metadata|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id)(,(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|description|-description|\\+\\+description|--description|check_type|-check_type|\\+\\+check_type|--check_type|target|-target|\\+\\+target|--target|port|-port|\\+\\+port|--port|interval_seconds|-interval_seconds|\\+\\+interval_seconds|--interval_seconds|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|retries|-retries|\\+\\+retries|--retries|enabled|-enabled|\\+\\+enabled|--enabled|config|-config|\\+\\+config|--config|warning_threshold_ms|-warning_threshold_ms|\\+\\+warning_threshold_ms|--warning_threshold_ms|critical_threshold_ms|-critical_threshold_ms|\\+\\+critical_threshold_ms|--critical_threshold_ms|last_check_at|-last_check_at|\\+\\+last_check_at|--last_check_at|last_result|-last_result|\\+\\+last_result|--last_result|last_response_time_ms|-last_response_time_ms|\\+\\+last_response_time_ms|--last_response_time_ms|last_error|-last_error|\\+\\+last_error|--last_error|consecutive_failures|-consecutive_failures|\\+\\+consecutive_failures|--consecutive_failures|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|device_uid|-device_uid|\\+\\+device_uid|--device_uid|metadata|-metadata|\\+\\+metadata|--metadata|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "service-check": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id"
              },
              "properties": {
                "service-check": {
                  "description": "Comma separated field names for service-check",
                  "example": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a service-check",
                      "items": {
                        "$ref": "#/components/schemas/service-check"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "service-check"
        ]
      }
    },
    "/api/v2/alerts/{id}/resolve": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Resolve an alert",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "alert": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags"
              },
              "properties": {
                "alert": {
                  "description": "Comma separated field names for alert",
                  "example": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "resolution_note": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "resolved_by": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "alert"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /alerts/:id/resolve operation on alert resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/alert"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "alert"
        ]
      }
    },
    "/api/v2/device-groups": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/device-groups operation on device-group resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/device-group-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|desc|-desc|\\+\\+desc|--desc|type|-type|\\+\\+type|--type|parent_id|-parent_id|\\+\\+parent_id|--parent_id|metadata|-metadata|\\+\\+metadata|--metadata|device_count|-device_count|\\+\\+device_count|--device_count)(,(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|desc|-desc|\\+\\+desc|--desc|type|-type|\\+\\+type|--type|parent_id|-parent_id|\\+\\+parent_id|--parent_id|metadata|-metadata|\\+\\+metadata|--metadata|device_count|-device_count|\\+\\+device_count|--device_count))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device-group": "id,name,desc,type,parent_id,metadata,device_count"
              },
              "properties": {
                "device-group": {
                  "description": "Comma separated field names for device-group",
                  "example": "id,name,desc,type,parent_id,metadata,device_count",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a device-group",
                      "items": {
                        "$ref": "#/components/schemas/device-group"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device-group"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "/device-groups operation on device-group resource",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device-group": "id,name,desc,type,parent_id,metadata,device_count"
              },
              "properties": {
                "device-group": {
                  "description": "Comma separated field names for device-group",
                  "example": "id,name,desc,type,parent_id,metadata,device_count",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "desc": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Group description"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "name": {
                            "description": "Group display name",
                            "type": "string"
                          },
                          "parent_id": {
                            "anyOf": [
                              {
                                "format": "uuid",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Parent group ID for hierarchical grouping"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "enum": [
                                  "location",
                                  "department",
                                  "environment",
                                  "function",
                                  "custom"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Group type classification"
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "type": "object"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "device-group"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /device-groups operation on device-group resource",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/device-group"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device-group"
        ]
      }
    },
    "/api/v2/gateways/{id}/drain/start": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Start graceful shutdown (draining)",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/drain/start operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/agents/{id}/disconnect": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Mark agent as disconnected (connection lost)",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "agent"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /agents/:id/disconnect operation on agent resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/agent"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      }
    },
    "/api/v2/poll-jobs/pending": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "All pending jobs",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/poll-job-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "poll-job": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata"
              },
              "properties": {
                "poll-job": {
                  "description": "Comma separated field names for poll-job",
                  "example": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a poll-job",
                      "items": {
                        "$ref": "#/components/schemas/poll-job"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "poll-job"
        ]
      }
    },
    "/api/v2/interface-settings/by-interface/{device_id}/{interface_uid}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Get settings for a specific interface",
        "parameters": [
          {
            "in": "path",
            "name": "device_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "path",
            "name": "interface_uid",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "interface_setting": "id"
              },
              "properties": {
                "interface_setting": {
                  "description": "Comma separated field names for interface_setting",
                  "example": "id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/interface_setting"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "interface_setting"
        ]
      }
    },
    "/api/v2/service-checks/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/service-checks/:id operation on service-check resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "service-check": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id"
              },
              "properties": {
                "service-check": {
                  "description": "Comma separated field names for service-check",
                  "example": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/service-check"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "service-check"
        ]
      },
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "/service-checks/:id operation on service-check resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "service-check": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id"
              },
              "properties": {
                "service-check": {
                  "description": "Comma separated field names for service-check",
                  "example": "id,name,description,check_type,target,port,interval_seconds,timeout_seconds,retries,enabled,config,warning_threshold_ms,critical_threshold_ms,last_check_at,last_result,last_response_time_ms,last_error,consecutive_failures,agent_uid,device_uid,metadata,schedule_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "agent_uid": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent assigned to execute this check"
                          },
                          "config": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Type-specific configuration (headers, SNMP OIDs, etc.)"
                          },
                          "critical_threshold_ms": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Response time critical threshold (milliseconds)"
                          },
                          "description": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Check description"
                          },
                          "interval_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Check interval in seconds"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Human-readable check name"
                          },
                          "port": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Target port (for TCP/HTTP checks)"
                          },
                          "retries": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Number of retries before marking failed"
                          },
                          "target": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Target host/IP/URL to check"
                          },
                          "timeout_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Check timeout in seconds"
                          },
                          "warning_threshold_ms": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Response time warning threshold (milliseconds)"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "service-check"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /service-checks/:id operation on service-check resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/service-check"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "service-check"
        ]
      }
    },
    "/api/v2/gateways/active": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "All active gateways",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/gateway-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|component_id|-component_id|\\+\\+component_id|--component_id|registration_source|-registration_source|\\+\\+registration_source|--registration_source|status|-status|\\+\\+status|--status|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|first_registered|-first_registered|\\+\\+first_registered|--first_registered|first_seen|-first_seen|\\+\\+first_seen|--first_seen|last_seen|-last_seen|\\+\\+last_seen|--last_seen|metadata|-metadata|\\+\\+metadata|--metadata|created_by|-created_by|\\+\\+created_by|--created_by|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|agent_count|-agent_count|\\+\\+agent_count|--agent_count|checker_count|-checker_count|\\+\\+checker_count|--checker_count|updated_at|-updated_at|\\+\\+updated_at|--updated_at|partition_id|-partition_id|\\+\\+partition_id|--partition_id)(,(id|-id|\\+\\+id|--id|component_id|-component_id|\\+\\+component_id|--component_id|registration_source|-registration_source|\\+\\+registration_source|--registration_source|status|-status|\\+\\+status|--status|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|first_registered|-first_registered|\\+\\+first_registered|--first_registered|first_seen|-first_seen|\\+\\+first_seen|--first_seen|last_seen|-last_seen|\\+\\+last_seen|--last_seen|metadata|-metadata|\\+\\+metadata|--metadata|created_by|-created_by|\\+\\+created_by|--created_by|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|agent_count|-agent_count|\\+\\+agent_count|--agent_count|checker_count|-checker_count|\\+\\+checker_count|--checker_count|updated_at|-updated_at|\\+\\+updated_at|--updated_at|partition_id|-partition_id|\\+\\+partition_id|--partition_id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a gateway",
                      "items": {
                        "$ref": "#/components/schemas/gateway"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/agents/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/agents/:id operation on agent resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "in": "query",
            "name": "uid",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/agent"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      },
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "/agents/:id operation on agent resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "capabilities": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Agent capabilities (e.g., 'ping', 'snmp', 'http')",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent capabilities (e.g., 'ping', 'snmp', 'http')"
                          },
                          "host": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Hostname or host the agent reports"
                          },
                          "ip": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Source IP address for the agent connection when known"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent display name"
                          },
                          "plugin_engine_max_concurrent": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Max number of concurrent Wasm plugin executions on this agent"
                          },
                          "plugin_engine_max_cpu_ms": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Max total CPU time window (ms) for Wasm plugins on this agent"
                          },
                          "plugin_engine_max_memory_mb": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Max total memory (MB) for Wasm plugins on this agent"
                          },
                          "plugin_engine_max_open_connections": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Max total open connections for Wasm plugins on this agent"
                          },
                          "policies": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Policies applied to this agent (OCSF Policy objects)",
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Policies applied to this agent (OCSF Policy objects)"
                          },
                          "port": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Port the agent listens on for gRPC"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "agent"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /agents/:id operation on agent resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/agent"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      }
    },
    "/api/v2/alerts/{id}/acknowledge": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Acknowledge an alert",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "alert": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags"
              },
              "properties": {
                "alert": {
                  "description": "Comma separated field names for alert",
                  "example": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "acknowledged_by": {
                            "type": "string"
                          },
                          "note": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "acknowledged_by"
                        ],
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "alert"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /alerts/:id/acknowledge operation on alert resource",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/alert"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "alert"
        ]
      }
    },
    "/api/v2/alerts/pending": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "Alerts awaiting acknowledgement",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/alert-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|title|-title|\\+\\+title|--title|description|-description|\\+\\+description|--description|severity|-severity|\\+\\+severity|--severity|status|-status|\\+\\+status|--status|source_type|-source_type|\\+\\+source_type|--source_type|source_id|-source_id|\\+\\+source_id|--source_id|service_check_id|-service_check_id|\\+\\+service_check_id|--service_check_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|event_id|-event_id|\\+\\+event_id|--event_id|event_time|-event_time|\\+\\+event_time|--event_time|metric_name|-metric_name|\\+\\+metric_name|--metric_name|metric_value|-metric_value|\\+\\+metric_value|--metric_value|threshold_value|-threshold_value|\\+\\+threshold_value|--threshold_value|comparison|-comparison|\\+\\+comparison|--comparison|triggered_at|-triggered_at|\\+\\+triggered_at|--triggered_at|acknowledged_at|-acknowledged_at|\\+\\+acknowledged_at|--acknowledged_at|acknowledged_by|-acknowledged_by|\\+\\+acknowledged_by|--acknowledged_by|resolved_at|-resolved_at|\\+\\+resolved_at|--resolved_at|resolved_by|-resolved_by|\\+\\+resolved_by|--resolved_by|resolution_note|-resolution_note|\\+\\+resolution_note|--resolution_note|escalated_at|-escalated_at|\\+\\+escalated_at|--escalated_at|escalation_level|-escalation_level|\\+\\+escalation_level|--escalation_level|escalation_reason|-escalation_reason|\\+\\+escalation_reason|--escalation_reason|notification_count|-notification_count|\\+\\+notification_count|--notification_count|last_notification_at|-last_notification_at|\\+\\+last_notification_at|--last_notification_at|suppressed_until|-suppressed_until|\\+\\+suppressed_until|--suppressed_until|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|title|-title|\\+\\+title|--title|description|-description|\\+\\+description|--description|severity|-severity|\\+\\+severity|--severity|status|-status|\\+\\+status|--status|source_type|-source_type|\\+\\+source_type|--source_type|source_id|-source_id|\\+\\+source_id|--source_id|service_check_id|-service_check_id|\\+\\+service_check_id|--service_check_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|event_id|-event_id|\\+\\+event_id|--event_id|event_time|-event_time|\\+\\+event_time|--event_time|metric_name|-metric_name|\\+\\+metric_name|--metric_name|metric_value|-metric_value|\\+\\+metric_value|--metric_value|threshold_value|-threshold_value|\\+\\+threshold_value|--threshold_value|comparison|-comparison|\\+\\+comparison|--comparison|triggered_at|-triggered_at|\\+\\+triggered_at|--triggered_at|acknowledged_at|-acknowledged_at|\\+\\+acknowledged_at|--acknowledged_at|acknowledged_by|-acknowledged_by|\\+\\+acknowledged_by|--acknowledged_by|resolved_at|-resolved_at|\\+\\+resolved_at|--resolved_at|resolved_by|-resolved_by|\\+\\+resolved_by|--resolved_by|resolution_note|-resolution_note|\\+\\+resolution_note|--resolution_note|escalated_at|-escalated_at|\\+\\+escalated_at|--escalated_at|escalation_level|-escalation_level|\\+\\+escalation_level|--escalation_level|escalation_reason|-escalation_reason|\\+\\+escalation_reason|--escalation_reason|notification_count|-notification_count|\\+\\+notification_count|--notification_count|last_notification_at|-last_notification_at|\\+\\+last_notification_at|--last_notification_at|suppressed_until|-suppressed_until|\\+\\+suppressed_until|--suppressed_until|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 100
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "alert": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags"
              },
              "properties": {
                "alert": {
                  "description": "Comma separated field names for alert",
                  "example": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a alert",
                      "items": {
                        "$ref": "#/components/schemas/alert"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "alert"
        ]
      }
    },
    "/api/v2/gateways": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/gateways operation on gateway resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/gateway-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|component_id|-component_id|\\+\\+component_id|--component_id|registration_source|-registration_source|\\+\\+registration_source|--registration_source|status|-status|\\+\\+status|--status|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|first_registered|-first_registered|\\+\\+first_registered|--first_registered|first_seen|-first_seen|\\+\\+first_seen|--first_seen|last_seen|-last_seen|\\+\\+last_seen|--last_seen|metadata|-metadata|\\+\\+metadata|--metadata|created_by|-created_by|\\+\\+created_by|--created_by|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|agent_count|-agent_count|\\+\\+agent_count|--agent_count|checker_count|-checker_count|\\+\\+checker_count|--checker_count|updated_at|-updated_at|\\+\\+updated_at|--updated_at|partition_id|-partition_id|\\+\\+partition_id|--partition_id)(,(id|-id|\\+\\+id|--id|component_id|-component_id|\\+\\+component_id|--component_id|registration_source|-registration_source|\\+\\+registration_source|--registration_source|status|-status|\\+\\+status|--status|spiffe_identity|-spiffe_identity|\\+\\+spiffe_identity|--spiffe_identity|first_registered|-first_registered|\\+\\+first_registered|--first_registered|first_seen|-first_seen|\\+\\+first_seen|--first_seen|last_seen|-last_seen|\\+\\+last_seen|--last_seen|metadata|-metadata|\\+\\+metadata|--metadata|created_by|-created_by|\\+\\+created_by|--created_by|is_healthy|-is_healthy|\\+\\+is_healthy|--is_healthy|agent_count|-agent_count|\\+\\+agent_count|--agent_count|checker_count|-checker_count|\\+\\+checker_count|--checker_count|updated_at|-updated_at|\\+\\+updated_at|--updated_at|partition_id|-partition_id|\\+\\+partition_id|--partition_id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a gateway",
                      "items": {
                        "$ref": "#/components/schemas/gateway"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Register a new gateway (starts in healthy state)",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "component_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Component identifier for hierarchical organization"
                          },
                          "created_by": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "User or system that created this gateway"
                          },
                          "id": {
                            "description": "Unique gateway identifier",
                            "type": "string"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "partition_id": {
                            "anyOf": [
                              {
                                "format": "uuid",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Partition this gateway is assigned to"
                          },
                          "registration_source": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "How the gateway was registered (auto, manual, kubernetes)"
                          },
                          "spiffe_identity": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "SPIFFE ID for mTLS authentication"
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "type": "object"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways operation on gateway resource",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/gateways/{id}/activate": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Activate an inactive gateway",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/activate operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/poll-jobs/by-schedule/{schedule_id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/poll-jobs/by-schedule/:schedule_id operation on poll-job resource",
        "parameters": [
          {
            "in": "path",
            "name": "schedule_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/poll-job-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "poll-job": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata"
              },
              "properties": {
                "poll-job": {
                  "description": "Comma separated field names for poll-job",
                  "example": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a poll-job",
                      "items": {
                        "$ref": "#/components/schemas/poll-job"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "poll-job"
        ]
      }
    },
    "/api/v2/interface-classification-rules": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/interface-classification-rules operation on interface_classification_rule resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/interface_classification_rule-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|enabled|-enabled|\\+\\+enabled|--enabled|priority|-priority|\\+\\+priority|--priority|vendor_pattern|-vendor_pattern|\\+\\+vendor_pattern|--vendor_pattern|model_pattern|-model_pattern|\\+\\+model_pattern|--model_pattern|sys_descr_pattern|-sys_descr_pattern|\\+\\+sys_descr_pattern|--sys_descr_pattern|if_name_pattern|-if_name_pattern|\\+\\+if_name_pattern|--if_name_pattern|if_descr_pattern|-if_descr_pattern|\\+\\+if_descr_pattern|--if_descr_pattern|if_alias_pattern|-if_alias_pattern|\\+\\+if_alias_pattern|--if_alias_pattern|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|name|-name|\\+\\+name|--name|enabled|-enabled|\\+\\+enabled|--enabled|priority|-priority|\\+\\+priority|--priority|vendor_pattern|-vendor_pattern|\\+\\+vendor_pattern|--vendor_pattern|model_pattern|-model_pattern|\\+\\+model_pattern|--model_pattern|sys_descr_pattern|-sys_descr_pattern|\\+\\+sys_descr_pattern|--sys_descr_pattern|if_name_pattern|-if_name_pattern|\\+\\+if_name_pattern|--if_name_pattern|if_descr_pattern|-if_descr_pattern|\\+\\+if_descr_pattern|--if_descr_pattern|if_alias_pattern|-if_alias_pattern|\\+\\+if_alias_pattern|--if_alias_pattern|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "interface_classification_rule": "id,name,enabled,priority,vendor_pattern,model_pattern,sys_descr_pattern,if_name_pattern,if_descr_pattern,if_alias_pattern,if_type_ids,ip_cidr_allow,ip_cidr_deny,classifications,metadata"
              },
              "properties": {
                "interface_classification_rule": {
                  "description": "Comma separated field names for interface_classification_rule",
                  "example": "id,name,enabled,priority,vendor_pattern,model_pattern,sys_descr_pattern,if_name_pattern,if_descr_pattern,if_alias_pattern,if_type_ids,ip_cidr_allow,ip_cidr_deny,classifications,metadata",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a interface_classification_rule",
                      "items": {
                        "$ref": "#/components/schemas/interface_classification_rule"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "interface_classification_rule"
        ]
      }
    },
    "/api/v2/poll-jobs/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/poll-jobs/:id operation on poll-job resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "poll-job": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata"
              },
              "properties": {
                "poll-job": {
                  "description": "Comma separated field names for poll-job",
                  "example": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/poll-job"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "poll-job"
        ]
      }
    },
    "/api/v2/poll-jobs": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/poll-jobs operation on poll-job resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/poll-job-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "poll-job": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata"
              },
              "properties": {
                "poll-job": {
                  "description": "Comma separated field names for poll-job",
                  "example": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a poll-job",
                      "items": {
                        "$ref": "#/components/schemas/poll-job"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "poll-job"
        ]
      }
    },
    "/api/v2/alerts": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/alerts operation on alert resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/alert-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|title|-title|\\+\\+title|--title|description|-description|\\+\\+description|--description|severity|-severity|\\+\\+severity|--severity|status|-status|\\+\\+status|--status|source_type|-source_type|\\+\\+source_type|--source_type|source_id|-source_id|\\+\\+source_id|--source_id|service_check_id|-service_check_id|\\+\\+service_check_id|--service_check_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|event_id|-event_id|\\+\\+event_id|--event_id|event_time|-event_time|\\+\\+event_time|--event_time|metric_name|-metric_name|\\+\\+metric_name|--metric_name|metric_value|-metric_value|\\+\\+metric_value|--metric_value|threshold_value|-threshold_value|\\+\\+threshold_value|--threshold_value|comparison|-comparison|\\+\\+comparison|--comparison|triggered_at|-triggered_at|\\+\\+triggered_at|--triggered_at|acknowledged_at|-acknowledged_at|\\+\\+acknowledged_at|--acknowledged_at|acknowledged_by|-acknowledged_by|\\+\\+acknowledged_by|--acknowledged_by|resolved_at|-resolved_at|\\+\\+resolved_at|--resolved_at|resolved_by|-resolved_by|\\+\\+resolved_by|--resolved_by|resolution_note|-resolution_note|\\+\\+resolution_note|--resolution_note|escalated_at|-escalated_at|\\+\\+escalated_at|--escalated_at|escalation_level|-escalation_level|\\+\\+escalation_level|--escalation_level|escalation_reason|-escalation_reason|\\+\\+escalation_reason|--escalation_reason|notification_count|-notification_count|\\+\\+notification_count|--notification_count|last_notification_at|-last_notification_at|\\+\\+last_notification_at|--last_notification_at|suppressed_until|-suppressed_until|\\+\\+suppressed_until|--suppressed_until|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|title|-title|\\+\\+title|--title|description|-description|\\+\\+description|--description|severity|-severity|\\+\\+severity|--severity|status|-status|\\+\\+status|--status|source_type|-source_type|\\+\\+source_type|--source_type|source_id|-source_id|\\+\\+source_id|--source_id|service_check_id|-service_check_id|\\+\\+service_check_id|--service_check_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|event_id|-event_id|\\+\\+event_id|--event_id|event_time|-event_time|\\+\\+event_time|--event_time|metric_name|-metric_name|\\+\\+metric_name|--metric_name|metric_value|-metric_value|\\+\\+metric_value|--metric_value|threshold_value|-threshold_value|\\+\\+threshold_value|--threshold_value|comparison|-comparison|\\+\\+comparison|--comparison|triggered_at|-triggered_at|\\+\\+triggered_at|--triggered_at|acknowledged_at|-acknowledged_at|\\+\\+acknowledged_at|--acknowledged_at|acknowledged_by|-acknowledged_by|\\+\\+acknowledged_by|--acknowledged_by|resolved_at|-resolved_at|\\+\\+resolved_at|--resolved_at|resolved_by|-resolved_by|\\+\\+resolved_by|--resolved_by|resolution_note|-resolution_note|\\+\\+resolution_note|--resolution_note|escalated_at|-escalated_at|\\+\\+escalated_at|--escalated_at|escalation_level|-escalation_level|\\+\\+escalation_level|--escalation_level|escalation_reason|-escalation_reason|\\+\\+escalation_reason|--escalation_reason|notification_count|-notification_count|\\+\\+notification_count|--notification_count|last_notification_at|-last_notification_at|\\+\\+last_notification_at|--last_notification_at|suppressed_until|-suppressed_until|\\+\\+suppressed_until|--suppressed_until|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "alert": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags"
              },
              "properties": {
                "alert": {
                  "description": "Comma separated field names for alert",
                  "example": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a alert",
                      "items": {
                        "$ref": "#/components/schemas/alert"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "alert"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Trigger a new alert",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "alert": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags"
              },
              "properties": {
                "alert": {
                  "description": "Comma separated field names for alert",
                  "example": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "agent_uid": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Related agent"
                          },
                          "comparison": {
                            "anyOf": [
                              {
                                "enum": [
                                  "greater_than",
                                  "less_than",
                                  "equals",
                                  "not_equals"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "How value compared to threshold"
                          },
                          "description": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Detailed alert description"
                          },
                          "device_uid": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Related device"
                          },
                          "event_id": {
                            "anyOf": [
                              {
                                "format": "uuid",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Related OCSF event ID"
                          },
                          "event_time": {
                            "anyOf": [
                              {},
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Related OCSF event timestamp"
                          },
                          "metadata": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Additional metadata"
                          },
                          "metric_name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Name of the metric that triggered the alert"
                          },
                          "metric_value": {
                            "anyOf": [
                              {
                                "format": "float",
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Value of the metric at alert time"
                          },
                          "service_check_id": {
                            "anyOf": [
                              {
                                "format": "uuid",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Related service check"
                          },
                          "severity": {
                            "anyOf": [
                              {
                                "enum": [
                                  "info",
                                  "warning",
                                  "critical",
                                  "emergency"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Alert severity level"
                          },
                          "source_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "ID of the source entity"
                          },
                          "source_type": {
                            "anyOf": [
                              {
                                "enum": [
                                  "service_check",
                                  "device",
                                  "gateway",
                                  "agent",
                                  "event",
                                  "system",
                                  "external"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Type of source that generated this alert"
                          },
                          "tags": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Alert tags for filtering",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Alert tags for filtering"
                          },
                          "threshold_value": {
                            "anyOf": [
                              {
                                "format": "float",
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Threshold that was exceeded"
                          },
                          "title": {
                            "description": "Alert title/summary",
                            "type": "string"
                          }
                        },
                        "required": [
                          "title"
                        ],
                        "type": "object"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "alert"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /alerts operation on alert resource",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/alert"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "alert"
        ]
      }
    },
    "/api/v2/gateways/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/gateways/:id operation on gateway resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/agents/{id}/degrade": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Mark agent as degraded (connected but unhealthy)",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "agent"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /agents/:id/degrade operation on agent resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/agent"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      }
    },
    "/api/v2/interfaces": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/interfaces operation on interface resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/interface-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(timestamp|-timestamp|\\+\\+timestamp|--timestamp|device_id|-device_id|\\+\\+device_id|--device_id|interface_uid|-interface_uid|\\+\\+interface_uid|--interface_uid|if_index|-if_index|\\+\\+if_index|--if_index|agent_id|-agent_id|\\+\\+agent_id|--agent_id|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|partition|-partition|\\+\\+partition|--partition|device_ip|-device_ip|\\+\\+device_ip|--device_ip|if_name|-if_name|\\+\\+if_name|--if_name|if_descr|-if_descr|\\+\\+if_descr|--if_descr|if_alias|-if_alias|\\+\\+if_alias|--if_alias|if_speed|-if_speed|\\+\\+if_speed|--if_speed|speed_bps|-speed_bps|\\+\\+speed_bps|--speed_bps|if_phys_address|-if_phys_address|\\+\\+if_phys_address|--if_phys_address|if_admin_status|-if_admin_status|\\+\\+if_admin_status|--if_admin_status|if_oper_status|-if_oper_status|\\+\\+if_oper_status|--if_oper_status|if_type|-if_type|\\+\\+if_type|--if_type|if_type_name|-if_type_name|\\+\\+if_type_name|--if_type_name|interface_kind|-interface_kind|\\+\\+interface_kind|--interface_kind|classification_meta|-classification_meta|\\+\\+classification_meta|--classification_meta|classification_source|-classification_source|\\+\\+classification_source|--classification_source|mtu|-mtu|\\+\\+mtu|--mtu|duplex|-duplex|\\+\\+duplex|--duplex|metadata|-metadata|\\+\\+metadata|--metadata|created_at|-created_at|\\+\\+created_at|--created_at)(,(timestamp|-timestamp|\\+\\+timestamp|--timestamp|device_id|-device_id|\\+\\+device_id|--device_id|interface_uid|-interface_uid|\\+\\+interface_uid|--interface_uid|if_index|-if_index|\\+\\+if_index|--if_index|agent_id|-agent_id|\\+\\+agent_id|--agent_id|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|partition|-partition|\\+\\+partition|--partition|device_ip|-device_ip|\\+\\+device_ip|--device_ip|if_name|-if_name|\\+\\+if_name|--if_name|if_descr|-if_descr|\\+\\+if_descr|--if_descr|if_alias|-if_alias|\\+\\+if_alias|--if_alias|if_speed|-if_speed|\\+\\+if_speed|--if_speed|speed_bps|-speed_bps|\\+\\+speed_bps|--speed_bps|if_phys_address|-if_phys_address|\\+\\+if_phys_address|--if_phys_address|if_admin_status|-if_admin_status|\\+\\+if_admin_status|--if_admin_status|if_oper_status|-if_oper_status|\\+\\+if_oper_status|--if_oper_status|if_type|-if_type|\\+\\+if_type|--if_type|if_type_name|-if_type_name|\\+\\+if_type_name|--if_type_name|interface_kind|-interface_kind|\\+\\+interface_kind|--interface_kind|classification_meta|-classification_meta|\\+\\+classification_meta|--classification_meta|classification_source|-classification_source|\\+\\+classification_source|--classification_source|mtu|-mtu|\\+\\+mtu|--mtu|duplex|-duplex|\\+\\+duplex|--duplex|metadata|-metadata|\\+\\+metadata|--metadata|created_at|-created_at|\\+\\+created_at|--created_at))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "interface": "timestamp,device_id,interface_uid,if_index,agent_id,gateway_id,partition,device_ip,if_name,if_descr,if_alias,if_speed,speed_bps,if_phys_address,ip_addresses,if_admin_status,if_oper_status,if_type,if_type_name,interface_kind,classifications,classification_meta,classification_source,mtu,duplex,metadata,available_metrics,created_at"
              },
              "properties": {
                "interface": {
                  "description": "Comma separated field names for interface",
                  "example": "timestamp,device_id,interface_uid,if_index,agent_id,gateway_id,partition,device_ip,if_name,if_descr,if_alias,if_speed,speed_bps,if_phys_address,ip_addresses,if_admin_status,if_oper_status,if_type,if_type_name,interface_kind,classifications,classification_meta,classification_source,mtu,duplex,metadata,available_metrics,created_at",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a interface",
                      "items": {
                        "$ref": "#/components/schemas/interface"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "interface"
        ]
      }
    },
    "/api/v2/gateways/{id}/maintenance/end": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "End maintenance mode, return to healthy",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/maintenance/end operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/poll-jobs/running": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "All running jobs",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/poll-job-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|schedule_id|-schedule_id|\\+\\+schedule_id|--schedule_id|schedule_name|-schedule_name|\\+\\+schedule_name|--schedule_name|check_count|-check_count|\\+\\+check_count|--check_count|gateway_id|-gateway_id|\\+\\+gateway_id|--gateway_id|agent_id|-agent_id|\\+\\+agent_id|--agent_id|priority|-priority|\\+\\+priority|--priority|timeout_seconds|-timeout_seconds|\\+\\+timeout_seconds|--timeout_seconds|status|-status|\\+\\+status|--status|dispatched_at|-dispatched_at|\\+\\+dispatched_at|--dispatched_at|started_at|-started_at|\\+\\+started_at|--started_at|completed_at|-completed_at|\\+\\+completed_at|--completed_at|duration_ms|-duration_ms|\\+\\+duration_ms|--duration_ms|success_count|-success_count|\\+\\+success_count|--success_count|failure_count|-failure_count|\\+\\+failure_count|--failure_count|error_message|-error_message|\\+\\+error_message|--error_message|error_code|-error_code|\\+\\+error_code|--error_code|retry_count|-retry_count|\\+\\+retry_count|--retry_count|max_retries|-max_retries|\\+\\+max_retries|--max_retries|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "poll-job": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata"
              },
              "properties": {
                "poll-job": {
                  "description": "Comma separated field names for poll-job",
                  "example": "id,schedule_id,schedule_name,check_count,check_ids,gateway_id,agent_id,priority,timeout_seconds,status,dispatched_at,started_at,completed_at,duration_ms,success_count,failure_count,results,error_message,error_code,retry_count,max_retries,metadata",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a poll-job",
                      "items": {
                        "$ref": "#/components/schemas/poll-job"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "poll-job"
        ]
      }
    },
    "/api/v2/gateways/{id}/restore": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Restore gateway to healthy state",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/restore operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/gateways/{id}/heartbeat": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Update last_seen and health status",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "gateway": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id"
              },
              "properties": {
                "gateway": {
                  "description": "Comma separated field names for gateway",
                  "example": "id,component_id,registration_source,status,spiffe_identity,first_registered,first_seen,last_seen,metadata,created_by,is_healthy,agent_count,checker_count,updated_at,partition_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "agent_count": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Number of connected agents"
                          },
                          "checker_count": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Number of active checkers"
                          },
                          "is_healthy": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Current health status"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "gateway"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /gateways/:id/heartbeat operation on gateway resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/gateway"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "gateway"
        ]
      }
    },
    "/api/v2/interface-settings": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/interface-settings operation on interface_setting resource",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/interface_setting-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id)(,(id|-id|\\+\\+id|--id))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Paginates the response with the limit and offset or keyset pagination.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "example": {
                "limit": 25
              },
              "properties": {
                "after": {
                  "type": "string"
                },
                "before": {
                  "type": "string"
                },
                "count": {
                  "default": false,
                  "type": "boolean"
                },
                "limit": {
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "interface_setting": "id"
              },
              "properties": {
                "interface_setting": {
                  "description": "Comma separated field names for interface_setting",
                  "example": "id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a interface_setting",
                      "items": {
                        "$ref": "#/components/schemas/interface_setting"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "interface_setting"
        ]
      },
      "post": {
        "callbacks": {},
        "deprecated": false,
        "description": "Create or update interface settings",
        "parameters": [
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "interface_setting": "id"
              },
              "properties": {
                "interface_setting": {
                  "description": "Comma separated field names for interface_setting",
                  "example": "id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "device_id": {
                            "type": "string"
                          },
                          "favorited": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether this interface is marked as a favorite"
                          },
                          "interface_uid": {
                            "type": "string"
                          },
                          "metric_groups": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "User-defined metric groupings for composite charts.\nEach group is a map with:\n  - id: UUID for the group\n  - name: Display name for the group\n  - metrics: List of metric names to combine in this chart\n",
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "User-defined metric groupings for composite charts.\nEach group is a map with:\n  - id: UUID for the group\n  - name: Display name for the group\n  - metrics: List of metric names to combine in this chart\n"
                          },
                          "metric_thresholds": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Per-metric threshold settings keyed by metric name"
                          },
                          "metrics_enabled": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether metrics collection is enabled for this interface"
                          },
                          "metrics_interval_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Interval for metrics collection in seconds"
                          },
                          "metrics_selected": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Selected interface metrics to collect",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Selected interface metrics to collect"
                          },
                          "tags": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "User-defined tags for this interface",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "User-defined tags for this interface"
                          },
                          "threshold_comparison": {
                            "anyOf": [
                              {
                                "enum": [
                                  "gt",
                                  "lt",
                                  "gte",
                                  "lte",
                                  "eq"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Comparison operator: gt, lt, gte, lte, eq"
                          },
                          "threshold_duration_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "How long the threshold must be exceeded before alerting (0 = immediate)"
                          },
                          "threshold_enabled": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether threshold alerting is enabled"
                          },
                          "threshold_metric": {
                            "anyOf": [
                              {
                                "enum": [
                                  "bandwidth_in",
                                  "bandwidth_out",
                                  "utilization",
                                  "errors"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Metric to apply threshold to: bandwidth_in, bandwidth_out, utilization, errors"
                          },
                          "threshold_severity": {
                            "anyOf": [
                              {
                                "enum": [
                                  "info",
                                  "warning",
                                  "critical",
                                  "emergency"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Severity of alerts generated when threshold is exceeded"
                          },
                          "threshold_value": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Threshold value (e.g., utilization percentage)"
                          }
                        },
                        "required": [
                          "device_id",
                          "interface_uid"
                        ],
                        "type": "object"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "interface_setting"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /interface-settings operation on interface_setting resource",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/interface_setting"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "interface_setting"
        ]
      }
    },
    "/api/v2/alerts/active": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "All active (non-resolved) alerts",
        "parameters": [
          {
            "description": "Filters the query to results with attributes matching the given filter object",
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/alert-filter"
            },
            "style": "deepObject"
          },
          {
            "description": "Sort order to apply to the results",
            "explode": false,
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "pattern": "^(id|-id|\\+\\+id|--id|title|-title|\\+\\+title|--title|description|-description|\\+\\+description|--description|severity|-severity|\\+\\+severity|--severity|status|-status|\\+\\+status|--status|source_type|-source_type|\\+\\+source_type|--source_type|source_id|-source_id|\\+\\+source_id|--source_id|service_check_id|-service_check_id|\\+\\+service_check_id|--service_check_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|event_id|-event_id|\\+\\+event_id|--event_id|event_time|-event_time|\\+\\+event_time|--event_time|metric_name|-metric_name|\\+\\+metric_name|--metric_name|metric_value|-metric_value|\\+\\+metric_value|--metric_value|threshold_value|-threshold_value|\\+\\+threshold_value|--threshold_value|comparison|-comparison|\\+\\+comparison|--comparison|triggered_at|-triggered_at|\\+\\+triggered_at|--triggered_at|acknowledged_at|-acknowledged_at|\\+\\+acknowledged_at|--acknowledged_at|acknowledged_by|-acknowledged_by|\\+\\+acknowledged_by|--acknowledged_by|resolved_at|-resolved_at|\\+\\+resolved_at|--resolved_at|resolved_by|-resolved_by|\\+\\+resolved_by|--resolved_by|resolution_note|-resolution_note|\\+\\+resolution_note|--resolution_note|escalated_at|-escalated_at|\\+\\+escalated_at|--escalated_at|escalation_level|-escalation_level|\\+\\+escalation_level|--escalation_level|escalation_reason|-escalation_reason|\\+\\+escalation_reason|--escalation_reason|notification_count|-notification_count|\\+\\+notification_count|--notification_count|last_notification_at|-last_notification_at|\\+\\+last_notification_at|--last_notification_at|suppressed_until|-suppressed_until|\\+\\+suppressed_until|--suppressed_until|metadata|-metadata|\\+\\+metadata|--metadata)(,(id|-id|\\+\\+id|--id|title|-title|\\+\\+title|--title|description|-description|\\+\\+description|--description|severity|-severity|\\+\\+severity|--severity|status|-status|\\+\\+status|--status|source_type|-source_type|\\+\\+source_type|--source_type|source_id|-source_id|\\+\\+source_id|--source_id|service_check_id|-service_check_id|\\+\\+service_check_id|--service_check_id|device_uid|-device_uid|\\+\\+device_uid|--device_uid|agent_uid|-agent_uid|\\+\\+agent_uid|--agent_uid|event_id|-event_id|\\+\\+event_id|--event_id|event_time|-event_time|\\+\\+event_time|--event_time|metric_name|-metric_name|\\+\\+metric_name|--metric_name|metric_value|-metric_value|\\+\\+metric_value|--metric_value|threshold_value|-threshold_value|\\+\\+threshold_value|--threshold_value|comparison|-comparison|\\+\\+comparison|--comparison|triggered_at|-triggered_at|\\+\\+triggered_at|--triggered_at|acknowledged_at|-acknowledged_at|\\+\\+acknowledged_at|--acknowledged_at|acknowledged_by|-acknowledged_by|\\+\\+acknowledged_by|--acknowledged_by|resolved_at|-resolved_at|\\+\\+resolved_at|--resolved_at|resolved_by|-resolved_by|\\+\\+resolved_by|--resolved_by|resolution_note|-resolution_note|\\+\\+resolution_note|--resolution_note|escalated_at|-escalated_at|\\+\\+escalated_at|--escalated_at|escalation_level|-escalation_level|\\+\\+escalation_level|--escalation_level|escalation_reason|-escalation_reason|\\+\\+escalation_reason|--escalation_reason|notification_count|-notification_count|\\+\\+notification_count|--notification_count|last_notification_at|-last_notification_at|\\+\\+last_notification_at|--last_notification_at|suppressed_until|-suppressed_until|\\+\\+suppressed_until|--suppressed_until|metadata|-metadata|\\+\\+metadata|--metadata))*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "alert": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags"
              },
              "properties": {
                "alert": {
                  "description": "Comma separated field names for alert",
                  "example": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "description": "An array of resource objects representing a alert",
                      "items": {
                        "$ref": "#/components/schemas/alert"
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "alert"
        ]
      }
    },
    "/api/v2/devices/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/devices/:id operation on device resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "device": "uid,type_id,type,name,hostname,ip,mac,uid_alt,vendor_name,model,domain,zone,subnet_uid,vlan_uid,region,first_seen_time,last_seen_time,created_time,modified_time,risk_level_id,risk_level,risk_score,is_managed,is_compliant,is_trusted,is_active,os,hw_info,network_interfaces,owner,org,groups,agent_list,gateway_id,agent_id,management_device_id,discovery_sources,deleted_at,deleted_by,deleted_reason,tags,is_available,availability_source_agent_id,availability_source_profile_id,metadata,group_id"
              },
              "properties": {
                "device": {
                  "description": "Comma separated field names for device",
                  "example": "uid,type_id,type,name,hostname,ip,mac,uid_alt,vendor_name,model,domain,zone,subnet_uid,vlan_uid,region,first_seen_time,last_seen_time,created_time,modified_time,risk_level_id,risk_level,risk_score,is_managed,is_compliant,is_trusted,is_active,os,hw_info,network_interfaces,owner,org,groups,agent_list,gateway_id,agent_id,management_device_id,discovery_sources,deleted_at,deleted_by,deleted_reason,tags,is_available,availability_source_agent_id,availability_source_profile_id,metadata,group_id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          },
          {
            "in": "query",
            "name": "uid",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "include_deleted",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/device"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "device"
        ]
      }
    },
    "/api/v2/agents/{id}/heartbeat": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Update last_seen_time and health status (for connected agents)",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "capabilities": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Agent capabilities (e.g., 'ping', 'snmp', 'http')",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Agent capabilities (e.g., 'ping', 'snmp', 'http')"
                          },
                          "config_source": {
                            "anyOf": [
                              {
                                "enum": [
                                  "remote",
                                  "local",
                                  "cached",
                                  "unassigned"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Source of sysmon config: remote (from backend), local (file override), cached, or unassigned"
                          },
                          "gateway_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Gateway this agent is connected to"
                          },
                          "host": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Hostname or host the agent reports"
                          },
                          "ip": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Source IP address for the agent connection when known"
                          },
                          "is_healthy": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Current health status"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "agent"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /agents/:id/heartbeat operation on agent resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/agent"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      }
    },
    "/api/v2/agents/{id}/connect": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "Mark agent as connected (from connecting state)",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "agent": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections"
              },
              "properties": {
                "agent": {
                  "description": "Comma separated field names for agent",
                  "example": "uid,name,type_id,type,uid_alt,vendor_name,version,desired_version,policies,gateway_id,device_uid,capabilities,host,ip,port,spiffe_identity,status,is_healthy,first_seen_time,last_seen_time,created_time,modified_time,metadata,release_rollout_state,last_update_at,last_update_error,config_source,plugin_engine_max_memory_mb,plugin_engine_max_cpu_ms,plugin_engine_max_concurrent,plugin_engine_max_open_connections",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "gateway_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Gateway this agent is connected to"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "agent"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /agents/:id/connect operation on agent resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/agent"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "agent"
        ]
      }
    },
    "/api/v2/alerts/{id}": {
      "get": {
        "callbacks": {},
        "deprecated": false,
        "description": "/alerts/:id operation on alert resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "alert": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags"
              },
              "properties": {
                "alert": {
                  "description": "Comma separated field names for alert",
                  "example": "id,title,description,severity,status,source_type,source_id,service_check_id,device_uid,agent_uid,event_id,event_time,metric_name,metric_value,threshold_value,comparison,triggered_at,acknowledged_at,acknowledged_by,resolved_at,resolved_by,resolution_note,escalated_at,escalation_level,escalation_reason,notification_count,last_notification_at,suppressed_until,metadata,tags",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/alert"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "alert"
        ]
      }
    },
    "/api/v2/interface-settings/{id}": {
      "patch": {
        "callbacks": {},
        "deprecated": false,
        "description": "/interface-settings/:id operation on interface_setting resource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Relationship paths to include in the response",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "pattern": "^()(,())*$",
              "type": "string"
            },
            "style": "form"
          },
          {
            "description": "Limits the response fields to only those listed for each type",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "additionalProperties": true,
              "example": {
                "interface_setting": "id"
              },
              "properties": {
                "interface_setting": {
                  "description": "Comma separated field names for interface_setting",
                  "example": "id",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "style": "deepObject"
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.api+json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "attributes": {
                        "additionalProperties": false,
                        "properties": {
                          "favorited": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether this interface is marked as a favorite"
                          },
                          "metric_groups": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "User-defined metric groupings for composite charts.\nEach group is a map with:\n  - id: UUID for the group\n  - name: Display name for the group\n  - metrics: List of metric names to combine in this chart\n",
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "User-defined metric groupings for composite charts.\nEach group is a map with:\n  - id: UUID for the group\n  - name: Display name for the group\n  - metrics: List of metric names to combine in this chart\n"
                          },
                          "metric_thresholds": {
                            "anyOf": [
                              {
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Per-metric threshold settings keyed by metric name"
                          },
                          "metrics_enabled": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether metrics collection is enabled for this interface"
                          },
                          "metrics_interval_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Interval for metrics collection in seconds"
                          },
                          "metrics_selected": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "Selected interface metrics to collect",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Selected interface metrics to collect"
                          },
                          "tags": {
                            "anyOf": [
                              {
                                "items": {
                                  "description": "User-defined tags for this interface",
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "User-defined tags for this interface"
                          },
                          "threshold_comparison": {
                            "anyOf": [
                              {
                                "enum": [
                                  "gt",
                                  "lt",
                                  "gte",
                                  "lte",
                                  "eq"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Comparison operator: gt, lt, gte, lte, eq"
                          },
                          "threshold_duration_seconds": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "How long the threshold must be exceeded before alerting (0 = immediate)"
                          },
                          "threshold_enabled": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Whether threshold alerting is enabled"
                          },
                          "threshold_metric": {
                            "anyOf": [
                              {
                                "enum": [
                                  "bandwidth_in",
                                  "bandwidth_out",
                                  "utilization",
                                  "errors"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Metric to apply threshold to: bandwidth_in, bandwidth_out, utilization, errors"
                          },
                          "threshold_severity": {
                            "anyOf": [
                              {
                                "enum": [
                                  "info",
                                  "warning",
                                  "critical",
                                  "emergency"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Severity of alerts generated when threshold is exceeded"
                          },
                          "threshold_value": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Threshold value (e.g., utilization percentage)"
                          }
                        },
                        "type": "object"
                      },
                      "id": {
                        "type": "string"
                      },
                      "relationships": {
                        "additionalProperties": false,
                        "properties": {},
                        "type": "object"
                      },
                      "type": {
                        "enum": [
                          "interface_setting"
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "description": "Request body for the /interface-settings/:id operation on interface_setting resource",
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/interface_setting"
                    },
                    "included": {
                      "items": {
                        "oneOf": []
                      },
                      "type": "array",
                      "uniqueItems": true
                    },
                    "meta": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  }
                }
              }
            },
            "description": "Success"
          },
          "default": {
            "$ref": "#/components/responses/errors"
          }
        },
        "tags": [
          "interface_setting"
        ]
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://demo.serviceradar.cloud",
      "variables": {}
    }
  ],
  "tags": []
}