{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-endpoint-agents-api-endpoint-agent-log-items-response-schema.json",
  "title": "Endpoint_Agents_API_EndpointAgentLogItemsResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-endpoint-agent-log-items-api-openapi.yml#/components/schemas/Endpoint_Agents_API_EndpointAgentLogItemsResponse",
  "type": "object",
  "required": [
    "logs"
  ],
  "properties": {
    "logs": {
      "x-paginated-items": true,
      "type": "array",
      "description": "Log items for the endpoint agent.",
      "items": {
        "$ref": "#/$defs/Endpoint_Agents_API_EndpointAgentLogItem"
      }
    },
    "_links": {
      "$ref": "#/$defs/Endpoint_Agents_API_PaginationNextAndSelfLink"
    }
  },
  "$defs": {
    "Endpoint_Agents_API_EndpointAgentLogItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique ID of the log item.",
          "readOnly": true
        },
        "agentLogItemType": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointAgentLogItemType"
        },
        "timestampMs": {
          "type": "integer",
          "format": "int64",
          "description": "Time when the log item was recorded, in milliseconds since the Unix epoch.",
          "readOnly": true
        },
        "wifiLogItem": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointWifiLogItem"
        },
        "vpnLogItem": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointVpnLogItem"
        },
        "onlineOfflineLogItem": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointOnlineOfflineLogItem"
        },
        "stateChangesLogItem": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointStateChangesLogItem"
        }
      }
    },
    "Endpoint_Agents_API_EndpointAgentLogItemType": {
      "type": "string",
      "description": "Agent log item category.",
      "enum": [
        "wifi",
        "vpn",
        "online-offline",
        "state-changes"
      ],
      "readOnly": true
    },
    "Endpoint_Agents_API_EndpointOnlineOfflineLogItem": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "logItemType": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointOnlineOfflineLogItemType"
        }
      }
    },
    "Endpoint_Agents_API_EndpointOnlineOfflineLogItemType": {
      "type": "string",
      "description": "Online/offline log item type.",
      "enum": [
        "online",
        "offline",
        "unknown"
      ],
      "readOnly": true
    },
    "Endpoint_Agents_API_EndpointStateChangesLogItem": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "logItemType": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointStateChangesLogItemType"
        }
      }
    },
    "Endpoint_Agents_API_EndpointStateChangesLogItemType": {
      "type": "string",
      "description": "State change log item type.",
      "enum": [
        "recover",
        "enabled",
        "deleted",
        "disabled"
      ],
      "readOnly": true
    },
    "Endpoint_Agents_API_EndpointVpnLogItem": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "logItemType": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointVpnLogItemType"
        },
        "vpnType": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointVpnType"
        },
        "vpnServerName": {
          "type": [
            "string",
            "null"
          ],
          "description": "VPN server name.",
          "readOnly": true
        },
        "vpnServerAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "VPN server address.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Agents_API_EndpointVpnLogItemType": {
      "type": "string",
      "description": "VPN log item type.",
      "enum": [
        "vpn-connect",
        "vpn-disconnect",
        "unknown"
      ],
      "readOnly": true
    },
    "Endpoint_Agents_API_EndpointVpnType": {
      "type": "string",
      "description": "VPN vendor or type.",
      "enum": [
        "openvpn",
        "cisco-anyconnect",
        "palo-alto-globalprotect",
        "viscosity",
        "ivanti-connect-secure",
        "zscaler-internet-access",
        "f5-big-ip",
        "pptp",
        "l2tp",
        "sstp",
        "ikev2",
        "auto",
        "unknown"
      ],
      "readOnly": true
    },
    "Endpoint_Agents_API_EndpointWifiLogItem": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "logItemType": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointWifiLogItemType"
        },
        "ssid": {
          "type": [
            "string",
            "null"
          ],
          "description": "Wireless network SSID.",
          "readOnly": true
        },
        "bssid": {
          "type": [
            "string",
            "null"
          ],
          "description": "Wireless access point BSSID.",
          "readOnly": true
        },
        "bssidFrom": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous wireless access point BSSID.",
          "readOnly": true
        },
        "channel": {
          "type": [
            "string",
            "null"
          ],
          "description": "Wireless channel.",
          "readOnly": true
        },
        "channelFrom": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous wireless channel.",
          "readOnly": true
        },
        "physicalMode": {
          "type": [
            "string",
            "null"
          ],
          "description": "Wireless physical mode.",
          "readOnly": true
        },
        "physicalModeFrom": {
          "type": [
            "string",
            "null"
          ],
          "description": "Previous wireless physical mode.",
          "readOnly": true
        },
        "failure": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointWirelessConnectionFailure"
        }
      }
    },
    "Endpoint_Agents_API_EndpointWifiLogItemType": {
      "type": "string",
      "description": "Wi-Fi log item type.",
      "enum": [
        "wifi-change",
        "wifi-connect",
        "wifi-disconnect",
        "wifi-connection-failure",
        "unknown"
      ],
      "readOnly": true
    },
    "Endpoint_Agents_API_EndpointWirelessConnectionFailure": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "type": {
          "$ref": "#/$defs/Endpoint_Agents_API_EndpointWirelessConnectionFailureType"
        },
        "context": {
          "type": [
            "string",
            "null"
          ],
          "description": "Additional context for the wireless connection failure.",
          "readOnly": true
        },
        "code": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64",
          "description": "Wireless connection failure code.",
          "readOnly": true
        }
      }
    },
    "Endpoint_Agents_API_EndpointWirelessConnectionFailureType": {
      "type": "string",
      "description": "Wireless connection failure phase.",
      "enum": [
        "init",
        "auth",
        "assoc",
        "eap",
        "dhcp",
        "unknown"
      ],
      "readOnly": true
    },
    "Endpoint_Agents_API_Link": {
      "type": "object",
      "description": "A hyperlink from the containing resource to a URI.",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "Its value is either a URI [RFC3986] or a URI template [RFC6570]."
        },
        "templated": {
          "type": "boolean",
          "description": "Should be true when the link object's \"href\" property is a URI template."
        },
        "type": {
          "type": "string",
          "description": "Used as a hint to indicate the media type expected when dereferencing the target resource."
        },
        "deprecation": {
          "type": "string",
          "description": "Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation."
        },
        "name": {
          "type": "string",
          "description": "Its value may be used as a secondary key for selecting link objects that share the same relation type."
        },
        "profile": {
          "type": "string",
          "description": "A URI that hints about the profile of the target resource."
        },
        "title": {
          "type": "string",
          "description": "Intended for labelling the link with a human-readable identifier"
        },
        "hreflang": {
          "type": "string",
          "description": "Indicates the language of the target resource"
        }
      }
    },
    "Endpoint_Agents_API_PaginationNextAndSelfLink": {
      "type": "object",
      "description": "A links object containing a related link for forward pagination.",
      "properties": {
        "next": {
          "$ref": "#/$defs/Endpoint_Agents_API_Link"
        },
        "self": {
          "$ref": "#/$defs/Endpoint_Agents_API_Link"
        }
      }
    }
  }
}