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>
    <logevents>
      <item logid="6346" pageid="55" ns="0" title="Mod security" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-17T20:50:19Z" comment="">
        <patrol cur="6405" prev="6404" auto="1" />
      </item>
      <item logid="6345" pageid="55" ns="0" title="Mod security" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-17T20:49:56Z" comment="">
        <patrol cur="6404" prev="6403" auto="1" />
      </item>
      <item logid="6344" pageid="55" ns="0" title="Mod security" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-17T20:45:44Z" comment="">
        <patrol cur="6403" prev="6395" auto="1" />
      </item>
      <item logid="6343" pageid="84" ns="0" title="Atomicorp WAF Rules Troubleshooting" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-10T19:31:07Z" comment="">
        <patrol cur="6402" prev="5962" auto="1" />
      </item>
      <item logid="6342" pageid="919" ns="0" title="Modsecurity rule families" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-09T19:21:34Z" comment="">
        <patrol cur="6401" prev="6400" auto="1" />
      </item>
      <item logid="6341" pageid="919" ns="0" title="Modsecurity rule families" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-09T19:20:47Z" comment="">
        <patrol cur="6400" prev="6399" auto="1" />
      </item>
      <item logid="6340" pageid="919" ns="0" title="Modsecurity rule families" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-09T19:18:51Z" comment="">
        <patrol cur="6399" prev="6398" auto="1" />
      </item>
      <item logid="6339" pageid="919" ns="0" title="Modsecurity rule families" type="patrol" action="patrol" user="Mshinn" timestamp="2023-11-09T19:15:13Z" comment="">
        <patrol cur="6398" prev="6375" auto="1" />
      </item>
      <item logid="6338" pageid="939" ns="0" title="WAF 360151" type="patrol" action="patrol" user="Mshinn" timestamp="2023-10-05T18:15:38Z" comment="">
        <patrol cur="6397" prev="6396" auto="1" />
      </item>
      <item logid="6337" pageid="939" ns="0" title="WAF 360151" type="patrol" action="patrol" user="Mshinn" timestamp="2023-10-05T18:14:37Z" comment="">
        <patrol cur="6396" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2023-09-29T21:38:21Z" />
  </query-continue>
</api>