<?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: Anybody using GAIA API Proxy? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249574#M9072</link>
    <description>&lt;P&gt;You need to log with GAIA API, not MGMT API, if I understood correctly.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#cli/login~v1.8%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#cli/login~v1.8%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use that session ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got a message for the action man:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=HyMm4rJemtI" target="_self"&gt;I'm happy, hope you're happy too&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 May 2025 06:50:08 GMT</pubDate>
    <dc:creator>Amir_Senn</dc:creator>
    <dc:date>2025-05-22T06:50:08Z</dc:date>
    <item>
      <title>Anybody using GAIA API Proxy?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249505#M9068</link>
      <description>&lt;P&gt;I cannot get &lt;A href="https://sc1.checkpoint.com/documents/R82/WebAdminGuides/EN/CP_R82_Gaia_AdminGuide/Content/Topics-GAG/Gaia-API-Proxy.htm?tocpath=API%7C_____2" target="_blank" rel="noopener"&gt;GAIA API Proxy&lt;/A&gt; to work and wonder if anyone did again.&lt;/P&gt;
&lt;P&gt;How far I understood the way of usage is this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;I login to Management API first.&lt;/LI&gt;
&lt;LI&gt;I take the session ID (SID) and request the URL&amp;nbsp;&lt;STRONG&gt;https://&amp;lt;&lt;EM&gt;IP Address of&amp;nbsp;&lt;SPAN class="mc-variable Vars_Other.tp_mgmt variable"&gt;Management Server&lt;/SPAN&gt;&lt;/EM&gt;&amp;gt;/web_api/gaia-api/&amp;lt;&lt;EM&gt;&lt;SPAN class="mc-variable Vars_Other.r_gaia variable"&gt;Gaia&lt;/SPAN&gt;&amp;nbsp;API Version&lt;/EM&gt;&amp;gt;/&amp;lt;&lt;EM&gt;&lt;SPAN class="mc-variable Vars_Other.r_gaia variable"&gt;Gaia&lt;/SPAN&gt;&amp;nbsp;API Command&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&amp;nbsp;and a body containing JSON &lt;STRONG&gt;{ "target" : "&amp;lt;IP&amp;gt; or &amp;lt;Object Name&amp;gt; or &amp;lt;OUID&amp;gt;" }&lt;/STRONG&gt; for the GAIA API Call.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;SMS asks SGW and returns result.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;I am happy.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;But that does not work. I get either a "500 server error" or a "404 Not Found".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Fun fact:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are 3 examples in the linked document that all use other URL pathes – and that all do not work either.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Has anyone got this running and can shed some light?&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 13:54:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249505#M9068</guid>
      <dc:creator>Oliver_Fink</dc:creator>
      <dc:date>2025-05-21T13:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody using GAIA API Proxy?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249506#M9069</link>
      <description>&lt;P&gt;Did you try the examples here?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/gaia-api~v2%20" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/gaia-api~v2%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I assume you have checked that the Gaia API is working properly on the final target with &lt;STRONG&gt;gaia_api status&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;Next step is to look in $FWDIR/log/api.elg on the SMS for clues, and also on the Gaia target the log file /var/log/gaia_api_server.log.&amp;nbsp; In many cases while teaching the &lt;A href="https://training-certifications.checkpoint.com/#/courses/Automation%20Specialist%20R81.20%20(CCAS)" target="_blank" rel="noopener"&gt;CCAS&lt;/A&gt; class, looking at these log files is the only way to figure out what is wrong due to syntax /parsing errors and such.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 14:20:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249506#M9069</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2025-05-21T14:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody using GAIA API Proxy?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249574#M9072</link>
      <description>&lt;P&gt;You need to log with GAIA API, not MGMT API, if I understood correctly.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#cli/login~v1.8%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#cli/login~v1.8%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use that session ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got a message for the action man:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=HyMm4rJemtI" target="_self"&gt;I'm happy, hope you're happy too&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 06:50:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249574#M9072</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2025-05-22T06:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody using GAIA API Proxy?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249591#M9073</link>
      <description>&lt;P&gt;Thank you for referring to the log files. I should have had a look on them earlier. What should I say? I picked just that one cluster that had an expired external HTTPS certificate for my tests.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;That said: I would qualify the URL pathes in every of the 3 examples in the &lt;A href="https://sc1.checkpoint.com/documents/R82/WebAdminGuides/EN/CP_R82_Gaia_AdminGuide/Content/Topics-GAG/Gaia-API-Proxy.htm?tocpath=API%7C_____2" target="_self"&gt;Gaia API-Proxy documentation&lt;/A&gt; as wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 10:06:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249591#M9073</guid>
      <dc:creator>Oliver_Fink</dc:creator>
      <dc:date>2025-05-22T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody using GAIA API Proxy?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249597#M9074</link>
      <description>&lt;P&gt;Nope, the way is as I wrote. I do not want to connect to the Gaia API of the SGW directly, but use the SMS as Gaia API Proxy.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 10:59:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Anybody-using-GAIA-API-Proxy/m-p/249597#M9074</guid>
      <dc:creator>Oliver_Fink</dc:creator>
      <dc:date>2025-05-22T10:59:46Z</dc:date>
    </item>
  </channel>
</rss>

