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="6975" pageid="919" ns="0" title="Modsecurity rule families" type="patrol" action="patrol" user="Mshinn" timestamp="2025-02-15T18:39:54Z" comment="">
        <patrol cur="6932" prev="6931" auto="1" />
      </item>
      <item logid="6974" pageid="919" ns="0" title="Modsecurity rule families" type="patrol" action="patrol" user="Mshinn" timestamp="2025-02-15T18:39:26Z" comment="">
        <patrol cur="6931" prev="6401" auto="1" />
      </item>
      <item logid="6973" pageid="1307" ns="0" title="WAF 301011" type="patrol" action="patrol" user="Cponton" timestamp="2024-10-30T20:41:05Z" comment="">
        <patrol cur="6930" prev="0" auto="1" />
      </item>
      <item logid="6972" pageid="208" ns="0" title="HIDS 1002" type="patrol" action="patrol" user="Mshinn" timestamp="2024-08-30T20:51:20Z" comment="">
        <patrol cur="6929" prev="2027" auto="1" />
      </item>
      <item logid="6971" pageid="1303" ns="0" title="WAF 300114" type="patrol" action="patrol" user="Mshinn" timestamp="2024-08-01T18:59:05Z" comment="">
        <patrol cur="6928" prev="6924" auto="1" />
      </item>
      <item logid="6970" pageid="1304" ns="0" title="WAF 300113" type="patrol" action="patrol" user="Mshinn" timestamp="2024-08-01T18:58:38Z" comment="">
        <patrol cur="6927" prev="6923" auto="1" />
      </item>
      <item logid="6969" pageid="1306" ns="0" title="WAF 300112" type="patrol" action="patrol" user="Mshinn" timestamp="2024-08-01T18:58:15Z" comment="">
        <patrol cur="6926" prev="0" auto="1" />
      </item>
      <item logid="6968" pageid="1305" ns="0" title="WAF 300111" type="patrol" action="patrol" user="Mshinn" timestamp="2024-08-01T18:57:41Z" comment="">
        <patrol cur="6925" prev="0" auto="1" />
      </item>
      <item logid="6967" pageid="1303" ns="0" title="WAF 300114" type="patrol" action="patrol" user="Mshinn" timestamp="2024-08-01T18:55:33Z" comment="">
        <patrol cur="6924" prev="6921" auto="1" />
      </item>
      <item logid="6966" pageid="1304" ns="0" title="WAF 300113" type="patrol" action="patrol" user="Mshinn" timestamp="2024-08-01T18:55:20Z" comment="">
        <patrol cur="6923" prev="6922" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2024-08-01T18:55:02Z" />
  </query-continue>
</api>