Reduce friction and latency for long-running jobs with Webhooks in Gemini API
Google introduces event-driven Webhooks for the Gemini API, a push-based notification system that eliminates the need for inefficient polling, improving efficiency for long-running tasks. It adheres to the Standard Webhooks specification, ensures security with signed requests, and supports global or per-request configuration.
Event-Driven Webhooks in the Gemini API
Skip to main content
The Keyword
Reduce friction and latency for long-running jobs with Webhooks in Gemini API
Share
x.com
Copy link
Home
Innovation & AI
Innovation & AI
Models & Research
Google DeepMind
Google Research
Google Labs
Gemini models
Quantum computing
See all
Products
Developer tools
Gemini app
NotebookLM
See all
Infrastructure & cloud
Global network
Google Cloud
See all
Learn more:
Google DeepMind blog
Google Research blog
Google Developers blog
Google Cloud blog
See all AI updates
Models & Research
Google DeepMind
Google Research
Google Labs
Gemini models
Quantum computing
See all
Products
Developer tools
Gemini app
NotebookLM
See all
Infrastructure & cloud
Global network
Google Cloud
See all
Learn more:
Google DeepMind blog
Google Research blog
Google Developers blog
Google Cloud blog
See all AI updates
Products & platforms
Products & platforms
Products
Search
Maps
Chrome
Google Health
Google Workspace
Learning & Education
Shopping
See all
Platforms
Android
Google Play
Wear OS
See all
Devices
Pixel
Google Nest
Fitbit
Chromebooks
See all
Learn more:
Google Ads & Commerce blog
Waze blog
See all product updates
Products
Search
Maps
Chrome
Google Health
Google Workspace
Learning & Education
Shopping
See all
Platforms
Android
Google Play
Wear OS
See all
Devices
Pixel
Google Nest
Fitbit
Chromebooks
See all
Learn more:
Google Ads & Commerce blog
Waze blog
See all product updates
Company news
Company news
Outreach & initiatives
Creating opportunity
Safety & security
Google.org
Public policy
Sustainability
Health
See all
Leadership
Sundar Pichai, CEO
More authors
See all
Inside Google
Around the globe
Life at Google
See all
Outreach & initiatives
Creating opportunity
Safety & security
Google.org
Public policy
Sustainability
Health
See all
Leadership
Sundar Pichai, CEO
More authors
See all
Inside Google
Around the globe
Life at Google
See all
Feed
Subscribe
Global (English)
Africa (English)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
Česko (Čeština)
Deutschland (Deutsch)
España (Español)
France (Français)
Greece (Ελληνικά)
India (English)
Indonesia (Bahasa Indonesia)
Italia (Italiano)
日本 (日本語)
대한민국 (한국어)
Latinoamérica (Español)
الشرق الأوسط وشمال أفريقيا (اللغة العربية)
MENA (English)
Nederlands (Nederland)
New Zealand (English)
Polska (Polski)
Portugal (Português)
Sverige (Svenska)
ประเทศไทย (ไทย)
Türkiye (Türkçe)
台灣 (中文)
["How can teachers and students use AI?", "What are the newest features in Chrome?", "How can I learn new AI skills?"]
Subscribe
The Keyword
Home
Innovation & AI
Innovation & AI
Models & Research
Google DeepMind
Google Research
Google Labs
Gemini models
Quantum computing
See all
Products
Developer tools
Gemini app
NotebookLM
See all
Infrastructure & cloud
Global network
Google Cloud
See all
Learn more:
Google DeepMind blog
Google Research blog
Google Developers blog
Google Cloud blog
See all AI updates
Products & platforms
Products & platforms
Products
Search
Maps
Chrome
Google Health
Google Workspace
Learning & Education
Shopping
See all
Platforms
Android
Google Play
Wear OS
See all
Devices
Pixel
Google Nest
Fitbit
Chromebooks
See all
Learn more:
Google Ads & Commerce blog
Waze blog
See all product updates
Company news
Company news
Outreach & initiatives
Creating opportunity
Safety & security
Google.org
Public policy
Sustainability
Health
See all
Leadership
Sundar Pichai, CEO
More authors
See all
Inside Google
Around the globe
Life at Google
See all
Feed
Images
RSS feed
Subscribe
Breadcrumb
Innovation & AI
Technology
Developer tools
Reduce friction and latency for long-running jobs with Webhooks in Gemini API
May 04, 2026
·
Share
x.com
Copy link
We're making it easier and more efficient to build complex, long-running agentic applications with the Gemini API Webhooks.
Lucia Loher
Product Manager, Gemini API
Hussein Hassan Harrirou
Engineering, Gemini API
Share
x.com
Copy link
Your browser does not support the audio element.
Listen to article
This content is generated by Google AI. Generative AI is experimental
[[duration]] minutes
Voice
Speed
Voice
Speed 0.75X 1X 1.5X 2X
Today, we're making it easier and more efficient to build complex, long-running agentic applications with the Gemini API. We are introducing event-driven Webhooks, a push-based notification system that eliminates the need for inefficient polling.
As Gemini shifts toward agentic workflows and high-volume processing — like Deep Research, long video generation, or processing thousands of prompts via the Batch API — operations can take minutes or even hours. Until now, developers had to rely on continuous polling (e.g., repeatedly callingGEToperations) to check if a job was completed.
Now, the Gemini API can simply push a real-time HTTP POST payload to your server the instant a task finishes.
We’ve built this with reliability and security in mind. Our implementation strictly adheres to the Standard Webhooks specification. Every request is signed using webhook-signature, webhook-id, and webhook-timestamp headers, ensuring idempotency and preventing replay attacks. We also guarantee "at-least-once" delivery with automatic retries for up to 24 hours.
How it works
You can configure webhooks globally at the project level (secured via HMAC), or override them dynamically on a per-request basis to route specific jobs (secured via JWKS).
Here's a quick example of how you can dynamically configure a webhook for a batch task using the Python SDK:
Get started today
This feature is available now for all developers using the Gemini API:
Read the guide: Check out the Webhooks documentation to explore the full event catalog and learn how to secure your endpoints.
Hands-on practice: We've prepared a comprehensive Cookbook to help you build an end-to-end integration with webhooks.
POSTED IN:
Developer tools
AI
Related stories
Search
5 gardening tips you can try right in Search
By
Megan Stoner
Developer tools
Gemini API File Search is now multimodal: build efficient, verifiable RAG
By
Ivan Solovyev
&
Kriti Dwivedi
May 05, 2026
AI
Google is partnering with XPRIZE and Range Media Partners on the $3.5 million Future Vision film competition.
May 05, 2026
Developer tools
Accelerating Gemma 4: faster inference with multi-token prediction drafters
By
Olivier Lacombe
&
Maarten Grootendorst
May 05, 2026
AI
The latest AI news we announced in April 2026
By
The Keyword Team
May 04, 2026
Translate
Celebrating 20 years of Google Translate: Fun facts, tips and new features to try
By
Rose Yao
Apr 28, 2026
.
Jump to position 1
Jump to position 2
Jump to position 3
Jump to position 4
Jump to position 5
Jump to position 6
Let’s stay in touch. Get the latest news from Google in your inbox.
Subscribe No thanks
Follow Us
Privacy
Terms
About Google
Google Products
About the Keyword
Help
Global (English)
Africa (English)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
Česko (Čeština)
Deutschland (Deutsch)
España (Español)
France (Français)
Greece (Ελληνικά)
India (English)
Indonesia (Bahasa Indonesia)
Italia (Italiano)
日本 (日本語)
대한민국 (한국어)
Latinoamérica (Español)
الشرق الأوسط وشمال أفريقيا (اللغة العربية)
MENA (English)
Nederlands (Nederland)
New Zealand (English)
Polska (Polski)
Portugal (Português)
Sverige (Svenska)
ประเทศไทย (ไทย)
Türkiye (Türkçe)
台灣 (中文)