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="2025-04-24T17:23:48Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1580" ns="0" title="jq json parser notes" pageid="518" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-06-14T16:41:50Z" comment="">
        <patrol cur="1566" prev="1565" auto="1" />
      </item>
      <item logid="1579" ns="0" title="jq json parser notes" pageid="518" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-06-14T16:30:44Z" comment="">
        <patrol cur="1565" prev="1195" auto="1" />
      </item>
      <item logid="1578" ns="0" title="clear windows clipboard" pageid="636" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-06-07T15:27:36Z" comment="">
        <patrol cur="1564" prev="0" auto="1" />
      </item>
      <item logid="1577" ns="0" title="linux to windows powershell over ssh" pageid="635" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-05-27T17:44:03Z" comment="">
        <patrol cur="1563" prev="1562" auto="1" />
      </item>
      <item logid="1576" ns="0" title="linux to windows powershell over ssh" pageid="635" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-05-27T17:43:35Z" comment="">
        <patrol cur="1562" prev="0" auto="1" />
      </item>
      <item logid="1575" ns="0" title="yq parser" pageid="623" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-05-21T21:36:40Z" comment="">
        <patrol cur="1561" prev="1560" auto="1" />
      </item>
      <item logid="1574" ns="0" title="yq parser" pageid="623" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-05-21T21:36:03Z" comment="">
        <patrol cur="1560" prev="1559" auto="1" />
      </item>
      <item logid="1573" ns="0" title="yq parser" pageid="623" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-05-21T21:35:02Z" comment="">
        <patrol cur="1559" prev="1516" auto="1" />
      </item>
      <item logid="1572" ns="0" title="setting wine prefix at CLI" pageid="634" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-05-13T18:50:47Z" comment="">
        <patrol cur="1558" prev="0" auto="1" />
      </item>
      <item logid="1571" ns="0" title="rdesktop and function keys" pageid="633" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-05-13T18:48:25Z" comment="">
        <patrol cur="1557" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>