You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <logevents lestart="2024-03-29T04:40:23Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1499" ns="0" title="ansible notes" pageid="615" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-04-19T04:05:43Z" comment="">
        <patrol cur="1487" prev="1469" auto="1" />
      </item>
      <item logid="1498" ns="0" title="sed delete newline" pageid="618" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-04-02T18:53:36Z" comment="">
        <patrol cur="1486" prev="0" auto="1" />
      </item>
      <item logid="1497" ns="0" title="openvpn OpenSSL error digital envelope routines unsupported" pageid="616" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-04-01T13:59:56Z" comment="">
        <patrol cur="1485" prev="1484" auto="1" />
      </item>
      <item logid="1496" ns="0" title="openvpn OpenSSL error digital envelope routines unsupported" pageid="616" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-04-01T13:59:13Z" comment="">
        <patrol cur="1484" prev="1483" auto="1" />
      </item>
      <item logid="1495" ns="0" title="openvpn OpenSSL error digital envelope routines unsupported" pageid="616" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-04-01T13:58:18Z" comment="">
        <patrol cur="1483" prev="1480" auto="1" />
      </item>
      <item logid="1494" ns="0" title="openvpn TLS handshake failed" pageid="617" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-03-29T04:54:48Z" comment="">
        <patrol cur="1482" prev="1481" auto="1" />
      </item>
      <item logid="1493" ns="0" title="openvpn TLS handshake failed" pageid="617" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-03-29T04:54:14Z" comment="">
        <patrol cur="1481" prev="0" auto="1" />
      </item>
      <item logid="1492" ns="0" title="openvpn legacy bf-cbc usage" pageid="0" type="move" action="move" user="Nighthawk" timestamp="2024-03-29T04:43:45Z" comment="">
        <move new_ns="0" new_title="openvpn OpenSSL error digital envelope routines unsupported" suppressedredirect="" />
      </item>
      <item logid="1491" ns="0" title="openvpn legacy bf-cbc usage" pageid="0" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-03-29T04:41:44Z" comment="">
        <patrol cur="1479" prev="1478" auto="1" />
      </item>
      <item logid="1490" ns="0" title="openvpn legacy bf-cbc usage" pageid="0" type="patrol" action="patrol" user="Nighthawk" timestamp="2024-03-29T04:40:56Z" comment="">
        <patrol cur="1478" prev="1477" auto="1" />
      </item>
    </logevents>
  </query>
</api>