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="20230405073741|14153" />
  </query-continue>
  <query>
    <logevents>
      <item logid="14163" ns="0" title="Резервное копирование и восстановление сервера" pageid="1580" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-11-07T15:32:42Z" comment="">
        <patrol cur="13777" prev="13683" auto="1" />
      </item>
      <item logid="14162" ns="0" title="Oktell Web-Socket Protocol" pageid="558" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-09-21T10:13:26Z" comment="">
        <patrol cur="13776" prev="13774" auto="1" />
      </item>
      <item logid="14161" ns="6" title="Файл:Others.zip" pageid="3015" img_sha1="srgvizj4z0w4io7m7m5ybr6pl3to59s" img_timestamp="2023-09-21T10:09:41Z" type="upload" action="upload" user="Oktell Support" timestamp="2023-09-21T10:09:41Z" comment="" />
      <item logid="14160" ns="0" title="Oktell Web-Socket Protocol" pageid="558" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-09-21T09:45:28Z" comment="">
        <patrol cur="13774" prev="13628" auto="1" />
      </item>
      <item logid="14159" ns="0" title="Параметры файлов конфигурации" pageid="399" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-06-16T10:45:29Z" comment="">
        <patrol cur="13773" prev="13652" auto="1" />
      </item>
      <item logid="14158" ns="0" title="Okapp 2.12" pageid="2874" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-06-08T06:29:05Z" comment="">
        <patrol cur="13772" prev="13697" auto="1" />
      </item>
      <item logid="14157" ns="0" title="Oktell Web Клиент old" pageid="0" type="delete" action="delete" user="Oktell Support" timestamp="2023-06-08T06:28:42Z" comment="" />
      <item logid="14156" ns="0" title="Статистика" pageid="350" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-05-25T09:31:05Z" comment="">
        <patrol cur="13771" prev="13770" auto="1" />
      </item>
      <item logid="14155" ns="0" title="Статистика" pageid="350" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-05-25T09:30:46Z" comment="">
        <patrol cur="13770" prev="10980" auto="1" />
      </item>
      <item logid="14154" ns="0" title="Резервное копирование и восстановление баз данных" pageid="1012" type="patrol" action="patrol" user="Oktell Support" timestamp="2023-05-16T07:32:29Z" comment="">
        <patrol cur="13769" prev="12713" auto="1" />
      </item>
    </logevents>
  </query>
</api>