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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
博客园 - 【当耐特】
WordPress大学
WordPress大学
爱范儿
爱范儿
美团技术团队
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
量子位
Hugging Face - Blog
Hugging Face - Blog
B
Blog RSS Feed
Recorded Future
Recorded Future
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC
大猫的无限游戏
大猫的无限游戏
Jina AI
Jina AI
博客园 - 叶小钗
GbyAI
GbyAI
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
F
Full Disclosure
G
Google Developers Blog
D
Docker
T
Tailwind CSS Blog
C
Check Point Blog
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
B
Blog
博客园 - 三生石上(FineUI控件)
博客园 - Franky
H
Help Net Security
MyScale Blog
MyScale Blog
U
Unit 42
D
DataBreaches.Net
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
L
LangChain Blog
有赞技术团队
有赞技术团队
Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog

The Keyword

5 helpful tools from Google to keep your accounts safe This Teacher Appreciation Week, we’re celebrating educators who made a difference in our lives. Find out how AlphaEvolve has gone from research to solving real-life problems. New AI-powered bidding and budgeting innovations in Search and Shopping Here’s how we're celebrating Asian American, Native Hawaiian and Pacific Islander Heritage Month 5 gardening tips you can try right in Search Google Flow Music and Believe bring next-gen tools to artists 5 new ways to explore the web with generative AI in Search AI is reshaping ad creative. Here’s how brands can get it right. Gemini API File Search is now multimodal: build efficient, verifiable RAG Approximate location sharing gives you more control over your location data in Chrome. Accelerating Gemma 4: faster inference with multi-token prediction drafters Here’s what’s new with Google Home. Celebrating educators’ creativity this Teacher Appreciation Week Turn your data into decisions: 3 things your business needs for growth in the AI era Here’s how we’re helping Belgium's farmers save water with AI. Putting educators at the center of AI learning The latest AI news we announced in April 2026 Here's how Google AI is powering small business growth Celebrating America’s 250th on Google Arts & Culture Supporting startups that are shaping the future of energy Your car with Google built-in is about to get smarter, thanks to Gemini Preferred Sources is now available in all languages. Adapt your Shopping campaigns to modern Search with AI Max. Meet travelers in the moments that matter with Search Campaigns for Travel. AI Max Turns 1 with new ways to steer performance and expansion to more advertisers How we’re protecting energy affordability in Oklahoma Alphabet is one of TIME’s 100 most influential companies of 2026. Q1 2026 earnings call: Remarks from our CEO A new way to create a digital wardrobe from your Google Photos You can now easily generate files in Gemini. Enjoy new ways to create, search and stream on Google TV Gemini launches new personalisation features in the UK Celebrating 20 years of Google Translate: Fun facts, tips and new features to try We’re donating Agent Payments Protocol to the FIDO Alliance to support the future of secure, agentic payments. Expanding digital IDs in India and around the world Join the new AI Agents Vibe Coding Course from Google and Kaggle Albertsons Media Collective brings retail signals to YouTube with Google’s Commerce Media Suite. 8 Gemini tips for organizing your space (and life) 7 highlights from Google Cloud Next ‘26 Convert faster on YouTube with April’s Demand Gen Drop. Capris, bright makeup and more trending spring style searches 3 easy ways to shop for spring with Google 3 creative tips from our Flow Sessions artists Here’s how our TPUs power increasingly demanding AI workloads. 10 leading enterprises show why agents mean business Gemini Embedding 2 is now generally available. 1,302 real-world gen AI use cases from the world's leading organizations Gemini Enterprise Agent Platform lets you build, govern and optimize your agents. We're launching two specialized TPUs for the agentic era. Our eighth generation TPUs: two chips for the agentic era Google Cloud Next ‘26 Cloud Next ‘26: Momentum and innovation at Google scale Stitch’s DESIGN.md format is now open-source so you can use it across platforms. Make chats more natural and efficient with Continued Conversation, now in Gemini for Home Deep Research Max: a step change for autonomous research agents 3 new ways Ads Advisor is making Google Ads safer and faster How educators can help students reach their full potential Google brings Pomelli in English to small businesses in Europe. We’re expanding Gemini in Chrome to users in Asia Pacific. New touch-up tools in Google Photos’ image editor let you make quick, subtle fixes. Start vibe coding in AI Studio with your Google AI subscription. 7 ways to travel smarter this summer, with help from Google Discover this year’s trending summer travel destinations and activities A new way to explore the web with AI Mode in Chrome Voting is live: Help choose the next Doodle for Google winner New ways to create personalized images in the Gemini app Nest thermostats have saved users an estimated $14 billion and 200 billion kWh of energy since 2011. Grow with Google's event discussed AI in the workplace with Fortune 500 company leaders. Gemini is stopping harmful ads before people ever see them New ways we’re protecting businesses on Maps Partnering with Latin American governments on 3 new AI initiatives Prepay for the Gemini API to get more control over your spend We’re upgrading Dynamic Search Ads to AI Max Gemini Robotics ER-1.6 enhances reasoning to help robots navigate real-world tasks. Answering your trending questions on World Quantum Day We’re advancing wetland restoration and carbon removal science in Google’s backyard. Bringing people together at AI for the Economy Forum Google.org and the Johnson & Johnson Foundation are launching a $10 million initiative to train rural U.S. healthcare workers in AI. Supporting new research on the impacts of AI UK Department for Transport accelerates public policy insights with Google Cloud AI New AI training for 40,000 manufacturing workers From test prep to graduation, our latest AI tools support learners 6 easy ways to study for finals with Gemini Booking restaurants in the UK just got easier with AI in Search Fitbit’s personal health coach is expanding to reach 37 countries and 32 languages. How 400+ campuses are putting AI to work Introducing Learn Mode: your personal coding tutor in Google Colab The new, AI-powered Google Finance is expanding to more than 100 countries. AI is changing retail. Here’s how businesses can keep up. Get more done with new vertical tabs and immersive reading mode in Chrome Here’s how we built Gmail to keep your data secure and private in the Gemini era. 5 new features for Android XR Expanding AI literacy to Catholic-school classrooms nationwide. 3 updates that make contributing to Maps easier An update on our mental health work Reaffirming our commitment to child safety in the face of European Union inaction Create, edit and share videos at no cost in Google Vids Here’s how to watch Coachella on YouTube. New ways to balance cost and reliability in the Gemini API
Reduce friction and latency for long-running jobs with Webhooks in Gemini API
Lucia Loher · 2026-05-04 · via The Keyword

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.