惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
A
Arctic Wolf
M
MIT News - Artificial intelligence
T
Threat Research - Cisco Blogs
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
Martin Fowler
Martin Fowler
A
About on SuperTechFans
P
Palo Alto Networks Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
大猫的无限游戏
大猫的无限游戏
Cisco Talos Blog
Cisco Talos Blog
P
Proofpoint News Feed
D
DataBreaches.Net
Cyberwarzone
Cyberwarzone
T
Tor Project blog
IT之家
IT之家
P
Proofpoint News Feed
Help Net Security
Help Net Security
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CXSECURITY Database RSS Feed - CXSecurity.com
Microsoft Azure Blog
Microsoft Azure Blog
V2EX - 技术
V2EX - 技术
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
MongoDB | Blog
MongoDB | Blog
B
Blog
N
News and Events Feed by Topic
The Cloudflare Blog
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
T
The Blog of Author Tim Ferriss
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
The Last Watchdog
The Last Watchdog
Hacker News - Newest:
Hacker News - Newest: "LLM"
L
LangChain Blog
I
InfoQ
F
Full Disclosure
The Register - Security
The Register - Security
阮一峰的网络日志
阮一峰的网络日志
H
Hacker News: Front Page
V
V2EX

AI

Connect more of your apps to Search Create, edit and star in videos with two Google Vids updates Celebrating 25 years of visual search innovation Expanding Managed Agents in Gemini API: background tasks, remote MCP and more The latest AI news we announced in June 2026 New York City educators and industry leaders gathered at Google’s offices to shape the future of AI in classrooms. Unlocking Britain’s next era of productivity: Building a nation of AI trailblazers Ask an AI expert: What exactly is the full stack? Our latest Google Finance upgrades, including a new app New research shows how AMIE, our medical AI, could help manage health conditions. We’re strengthening our presence in Alabama through new investments and community support. Our new community investments in Virginia support local jobs and expand energy affordability. The latest AI news we announced in May 2026 5 ways Google Search can level up your thrift and vintage shopping How we used Gemini to build Google I/O 2026 Take our I/O 2026 quiz, vibe coded in Google AI Studio. 9 demos of Gemini Omni and Gemini 3.5 in action Check out real-life AI prototypes from the Futures Lab. Catch up on 12 major I/O 2026 moments Catch up on the Dialogues stage at Google I/O 2026. We’re announcing new community investments in Missouri. 100 things we announced at I/O 2026 A new experiment brings better group meetings to Google Beam I/O 2026 How AI Mode is changing the way people search in the U.S. New ways to create and get things done in Google Workspace I/O 2026: Welcome to the agentic Gemini era Everything new in our Google AI subscriptions, fresh from I/O 2026 Gemini 3.5: frontier intelligence with action A new era for AI Search The new AI-powered Google Finance is expanding to Europe. See what happens when creative legends use AI to make ads for small businesses. 5 gardening tips you can try right in Search Google is partnering with XPRIZE and Range Media Partners on the $3.5 million Future Vision film competition. The latest AI news we announced in April 2026 Celebrating 20 years of Google Translate: Fun facts, tips and new features to try Join the new AI Agents Vibe Coding Course from Google and Kaggle 8 Gemini tips for organizing your space (and life) Here’s how our TPUs power increasingly demanding AI workloads. We're launching two specialized TPUs for the agentic era. 3 new ways Ads Advisor is making Google Ads safer and faster 7 ways to travel smarter this summer, with help from Google A new way to explore the web with AI Mode in Chrome New ways to create personalized images in the Gemini app Bringing people together at AI for the Economy Forum Create, edit and share videos at no cost in Google Vids New ways to balance cost and reliability in the Gemini API We’re creating a new satellite imagery map to help protect Brazil’s forests. The latest AI news we announced in March 2026 Build with Veo 3.1 Lite, our most cost-effective video generation model Watch James Manyika talk AI and creativity with LL COOL J. Transform your headphones into a live personal translator on iOS. Search Live is expanding globally Build with Lyria 3, our newest music generation model Bringing the power of Personal Intelligence to more people Our latest investment in open source security for the AI era How AI is helping improve heart health in rural Australia Gemini in Google Sheets just achieved state-of-the-art performance. How our open-source AI model SpeciesNet is helping to promote wildlife conservation Ask a Techspert: How does AI understand my visual searches? The latest AI news we announced in February Use Canvas in AI Mode to get things done and bring your ideas to life, right in Search. Create new worlds in Project Genie with these 4 tips
Reduce friction and latency for long-running jobs with Webhooks in Gemini API
Lucia Loher · 2026-05-04 · via AI

We're making it easier and more efficient to build complex, long-running agentic applications with the Gemini API Webhooks.

Hussein Hassan Harrirou

Engineering, Gemini API

Gemini API

Your browser does not support the audio element.

Listen to article

This content is generated by Google AI. Generative AI is experimental

[[duration]] minutes

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.