<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Slow get_alerts API response / Validity check in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/slow-get-alerts-api-response-validity-check/m-p/1238386#M8741</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1561639185"&gt;@moradiya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Answering to your questions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Typically API queries depend on the complexity of the script you write and the type of query being run. And very important too, the network speed at your end.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, there is no defined time under which the API should run and return results.&lt;/P&gt;
&lt;P&gt;There are no best practices defined by us on running rest APIs since as said before, the execution is very flexible depending on the type of query being run, data pulled, network speed.... etc&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you feel this has answered your query, please let us know by clicking like and on "mark this as a Solution". Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR,&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Sep 2025 13:56:49 GMT</pubDate>
    <dc:creator>eluis</dc:creator>
    <dc:date>2025-09-19T13:56:49Z</dc:date>
    <item>
      <title>Slow get_alerts API response / Validity check</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/slow-get-alerts-api-response-validity-check/m-p/1237523#M8727</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I’m integrating Cortex XDR APIs and want to validate the &lt;EM&gt;get_alerts&lt;/EM&gt; endpoint for connectivity and credentials.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’ve already tested the &lt;STRONG&gt;&lt;EM&gt;get_incidents&lt;/EM&gt;&lt;/STRONG&gt; endpoint, and it works fine with our API keys.&lt;/P&gt;
&lt;P&gt;When I call &lt;STRONG&gt;get_alerts&lt;/STRONG&gt;, it always takes ~50 seconds to respond, even with minimal filters (e.g., creation_time &amp;gt;= current_time) and small result limits.&lt;/P&gt;
&lt;P&gt;I have some upper-level checks in my system that expect API responses to return within 25 seconds for testing the connection. If the API call takes longer, it triggers an error. This is exactly what happens with get_alerts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is this long response time expected behavior for get_alerts?&lt;/LI&gt;
&lt;LI&gt;Is there a recommended way to verify that get_alerts is valid and working without waiting for a full 50-second query?&lt;/LI&gt;
&lt;LI&gt;Are there best practices for performing a lightweight health-check on get_alerts specifically?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any guidance, examples, or workarounds would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 05:39:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/slow-get-alerts-api-response-validity-check/m-p/1237523#M8727</guid>
      <dc:creator>moradiya</dc:creator>
      <dc:date>2025-09-09T05:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Slow get_alerts API response / Validity check</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/slow-get-alerts-api-response-validity-check/m-p/1238386#M8741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1561639185"&gt;@moradiya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Answering to your questions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Typically API queries depend on the complexity of the script you write and the type of query being run. And very important too, the network speed at your end.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, there is no defined time under which the API should run and return results.&lt;/P&gt;
&lt;P&gt;There are no best practices defined by us on running rest APIs since as said before, the execution is very flexible depending on the type of query being run, data pulled, network speed.... etc&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you feel this has answered your query, please let us know by clicking like and on "mark this as a Solution". Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR,&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 13:56:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/slow-get-alerts-api-response-validity-check/m-p/1238386#M8741</guid>
      <dc:creator>eluis</dc:creator>
      <dc:date>2025-09-19T13:56:49Z</dc:date>
    </item>
  </channel>
</rss>

