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 lecontinue="20211027130838|2527" />
  </query-continue>
  <query>
    <logevents>
      <item logid="2537" ns="0" title="OpenVPN Mac OS X" pageid="69" type="patrol" action="patrol" user="Support" timestamp="2023-01-04T19:33:25Z" comment="">
        <patrol cur="2516" prev="2512" auto="1" />
      </item>
      <item logid="2536" ns="0" title="OpenVPN Windows Vista/7/8" pageid="13" type="patrol" action="patrol" user="Support" timestamp="2022-12-31T19:37:57Z" comment="">
        <patrol cur="2515" prev="2514" auto="1" />
      </item>
      <item logid="2535" ns="0" title="OpenVPN Windows Vista/7/8" pageid="13" type="patrol" action="patrol" user="Support" timestamp="2022-12-31T19:36:57Z" comment="">
        <patrol cur="2514" prev="2513" auto="1" />
      </item>
      <item logid="2534" ns="0" title="OpenVPN Windows Vista/7/8" pageid="13" type="patrol" action="patrol" user="Support" timestamp="2022-03-16T08:34:56Z" comment="">
        <patrol cur="2513" prev="2509" auto="1" />
      </item>
      <item logid="2533" ns="0" title="OpenVPN Mac OS X" pageid="69" type="patrol" action="patrol" user="Support" timestamp="2022-03-01T16:20:19Z" comment="">
        <patrol cur="2512" prev="2486" auto="1" />
      </item>
      <item logid="2532" ns="0" title="Proxy Windows" pageid="149" type="patrol" action="patrol" user="Support" timestamp="2022-02-26T14:50:25Z" comment="">
        <patrol cur="2511" prev="2494" auto="1" />
      </item>
      <item logid="2531" ns="0" title="Proxy Mac OSX" pageid="148" type="patrol" action="patrol" user="Support" timestamp="2022-02-26T14:50:13Z" comment="">
        <patrol cur="2510" prev="2293" auto="1" />
      </item>
      <item logid="2530" ns="0" title="OpenVPN Windows Vista/7/8" pageid="13" type="patrol" action="patrol" user="Support" timestamp="2022-02-26T14:06:46Z" comment="">
        <patrol cur="2509" prev="2504" auto="1" />
      </item>
      <item logid="2529" ns="0" title="OpenVPN Android" pageid="122" type="patrol" action="patrol" user="Support" timestamp="2021-11-03T15:41:23Z" comment="">
        <patrol cur="2508" prev="2507" auto="1" />
      </item>
      <item logid="2528" ns="0" title="OpenVPN Android" pageid="122" type="patrol" action="patrol" user="Support" timestamp="2021-11-03T15:27:55Z" comment="">
        <patrol cur="2507" prev="2490" auto="1" />
      </item>
    </logevents>
  </query>
</api>