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="2021-11-09T21:11:38Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="5539" pageid="0" ns="2" title="Usuário:Suporte" type="rights" action="rights" user="Diegomacedo" timestamp="2023-05-05T00:22:10Z" comment="">
        <rights new="sysop, bureaucrat" old="" />
      </item>
      <item logid="5538" pageid="0" ns="2" title="Usuário:Suporte" type="newusers" action="create2" userid="51" user="Diegomacedo" timestamp="2023-05-05T00:20:36Z" comment="" />
      <item logid="5537" pageid="0" ns="2" title="Usuário:Priscila" type="rights" action="rights" user="Diegomacedo" timestamp="2023-05-05T00:14:05Z" comment="">
        <rights new="bureaucrat" old="bureaucrat, sysop" />
      </item>
      <item logid="5536" pageid="0" ns="2" title="Usuário:Leonard" type="rights" action="rights" user="Diegomacedo" timestamp="2023-05-05T00:13:38Z" comment="">
        <rights new="bureaucrat" old="bureaucrat, sysop" />
      </item>
      <item logid="5535" pageid="0" ns="2" title="Usuário:Andreafleury" type="rights" action="rights" user="Diegomacedo" timestamp="2023-05-05T00:13:18Z" comment="">
        <rights new="" old="sysop" />
      </item>
      <item logid="5534" pageid="1286" ns="0" title="Bibliotecas que Utilizam o Koha no Brasil" type="patrol" action="patrol" user="Ingrid" timestamp="2022-03-25T21:28:44Z" comment="">
        <patrol cur="6600" prev="6597" auto="1" />
      </item>
      <item logid="5533" pageid="1431" ns="6" title="Arquivo:Mapa koha bibliotecas brasil.png" type="upload" action="overwrite" user="Ingrid" timestamp="2022-03-25T21:27:04Z" comment="" />
      <item logid="5532" pageid="1431" ns="6" title="Arquivo:Mapa koha bibliotecas brasil.png" type="upload" action="upload" user="Ingrid" timestamp="2022-03-25T21:27:00Z" comment="" />
      <item logid="5531" pageid="1286" ns="0" title="Bibliotecas que Utilizam o Koha no Brasil" type="patrol" action="patrol" user="Ingrid" timestamp="2022-03-25T21:23:13Z" comment="">
        <patrol cur="6597" prev="6582" auto="1" />
      </item>
      <item logid="5530" pageid="490" ns="0" title="Koha" type="patrol" action="patrol" user="Ingrid" timestamp="2022-03-25T21:20:04Z" comment="">
        <patrol cur="6596" prev="6547" auto="1" />
      </item>
    </logevents>
  </query>
</api>