I’m using it within an Obsidian plugin (where the Origin header is “obsidian”) using the TypeScript genai interface.
generateContent makes requests to “https ://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-preview:generateContent” (without the space) and it works
The Interactions API makes requests to “https ://generativelanguage.googleapis.com/v1beta/interactions” (without the space) which fail with “403 Forbidden”
Could you please eloborate on this issue? What are you trying to acheive and also if possible, please share a snippet of code where you are calling the Deep Research Agent.
For reference, The Deep Research agent is exclusively available using the Interactions API. You cannot access it through generate_content. Deep Research Agent