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-08-02T15:18:12Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1599" ns="0" title="openvpn TSL unsupported protocol" pageid="640" type="patrol" action="patrol" user="Nighthawk" timestamp="2026-01-05T20:08:29Z" comment="">
        <patrol cur="1585" prev="0" auto="1" />
      </item>
      <item logid="1598" ns="0" title="ansible fiortios api login failure" pageid="631" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-12-19T15:50:32Z" comment="">
        <patrol cur="1584" prev="1583" auto="1" />
      </item>
      <item logid="1597" ns="0" title="ansible fiortios api login failure" pageid="631" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-12-19T15:48:21Z" comment="">
        <patrol cur="1583" prev="1582" auto="1" />
      </item>
      <item logid="1596" ns="0" title="ansible fiortios api login failure" pageid="631" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-12-19T15:46:53Z" comment="">
        <patrol cur="1582" prev="1531" auto="1" />
      </item>
      <item logid="1595" ns="0" title="openwrt guide" pageid="0" type="move" action="move" user="Nighthawk" timestamp="2025-12-12T17:44:33Z" comment="">
        <move new_ns="0" new_title="openwrt notes" suppressedredirect="" />
      </item>
      <item logid="1594" ns="0" title="openvpn TLS handshake failed" pageid="617" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-11-11T17:57:43Z" comment="">
        <patrol cur="1580" prev="1482" auto="1" />
      </item>
      <item logid="1593" ns="0" title="view ESXi arp cache" pageid="639" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-10-22T18:38:47Z" comment="">
        <patrol cur="1579" prev="1578" auto="1" />
      </item>
      <item logid="1592" ns="0" title="view ESXi arp cache" pageid="639" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-10-22T18:38:19Z" comment="">
        <patrol cur="1578" prev="1577" auto="1" />
      </item>
      <item logid="1591" ns="0" title="view ESXi arp cache" pageid="639" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-10-22T18:38:04Z" comment="">
        <patrol cur="1577" prev="1576" auto="1" />
      </item>
      <item logid="1590" ns="0" title="view ESXi arp cache" pageid="639" type="patrol" action="patrol" user="Nighthawk" timestamp="2025-10-22T18:30:29Z" comment="">
        <patrol cur="1576" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>