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="20250523033921|38639" />
  </query-continue>
  <query>
    <logevents>
      <item logid="38649" ns="0" title="Astral Paint" pageid="10278" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-24T16:47:14Z" comment="">
        <patrol cur="33682" prev="33681" auto="1" />
      </item>
      <item logid="38648" ns="0" title="Astral Paint" pageid="10278" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-24T16:43:27Z" comment="">
        <patrol cur="33681" prev="33668" auto="1" />
      </item>
      <item logid="38647" ns="0" title="Paint" pageid="8868" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-24T16:42:32Z" comment="">
        <patrol cur="33680" prev="33584" auto="1" />
      </item>
      <item logid="38646" ns="6" title="File:TCLEADER.png" pageid="8087" img_sha1="hu7hwg5ll5ws2z2lvk47f26rv0l506n" img_timestamp="2025-05-24T13:38:10Z" type="upload" action="overwrite" user="Pie" timestamp="2025-05-24T13:38:10Z" comment="" />
      <item logid="38645" ns="0" title="Infinite Void Bow" pageid="8466" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-23T19:16:36Z" comment="">
        <patrol cur="33673" prev="33672" auto="1" />
      </item>
      <item logid="38644" ns="0" title="Infinite Void Bow" pageid="8466" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-23T19:14:12Z" comment="">
        <patrol cur="33672" prev="28637" auto="1" />
      </item>
      <item logid="38643" ns="0" title="Blade of Dawn" pageid="94" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-23T19:11:00Z" comment="">
        <patrol cur="33671" prev="33641" auto="1" />
      </item>
      <item logid="38642" ns="0" title="Dark Flame" pageid="93" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-23T19:09:36Z" comment="">
        <patrol cur="33670" prev="33652" auto="1" />
      </item>
      <item logid="38641" ns="0" title="Outcasts" pageid="95" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-23T19:06:55Z" comment="">
        <patrol cur="33669" prev="33651" auto="1" />
      </item>
      <item logid="38640" ns="10" title="Template:Projectile" pageid="9809" type="patrol" action="patrol" user="Charlie" timestamp="2025-05-23T03:40:33Z" comment="">
        <patrol cur="33650" prev="33648" auto="1" />
      </item>
    </logevents>
  </query>
</api>