I am using Google Gemini Gems to create a dedicated chatbot for my application. I have uploaded the SOPs for the application in the knowledge section of the gem.
Now, I want to call this gem programmatically via API so that I can send questions and receive answers automatically.
I have tried the following endpoint format:
But I get a 404 Not Found error.
Some additional information:
-
I am the owner of the gem and I am logged in with the same Gmail account.
-
I can interact with the gem in the Gemini console successfully.