Google introduces event-driven webhooks for Gemini API long-running tasks
New push-based notification system eliminates polling for batch processing, video generation, and agentic workflows in the Gemini API.
1 source · single source
- Google has launched event-driven webhooks for the Gemini API, enabling developers to receive real-time HTTP POST notifications when long-running tasks complete rather than relying on continuous polling.
- The webhook system supports both project-level and per-request configuration, implements Standard Webhooks specification, and guarantees at-least-once delivery with automatic retries for up to 24 hours.
- The feature is immediately available to all Gemini API developers and is designed to support agentic workflows, batch processing, and high-volume operations that can take minutes or hours to complete.
Google has announced event-driven webhooks for the Gemini API, a push-based notification system designed to streamline long-running asynchronous tasks. The feature replaces inefficient polling patterns where developers repeatedly query task status via GET requests. Instead, the API now sends HTTP POST notifications directly to a developer's endpoint when a job completes, reducing both network overhead and latency.
The webhook implementation follows the Standard Webhooks specification and includes security measures such as HMAC signing via webhook-signature, webhook-id, and webhook-timestamp headers to prevent replay attacks and ensure idempotency. Developers can configure webhooks at the project level or override them on a per-request basis for specific jobs.
The system guarantees at-least-once delivery with automatic retry attempts extending up to 24 hours, addressing reliability concerns in distributed systems. The feature applies to operations across Gemini's product line including Deep Research, long video generation, and the Batch API for processing thousands of prompts.
Google has provided documentation and a Python SDK example alongside a hands-on cookbook for developers building end-to-end integrations. The feature is available immediately to all developers with access to the Gemini API.
- May 3, 2026 · TechCrunch — AI
Harvard study finds OpenAI's o1 model matched or exceeded emergency room physician diagnoses in 76 real cases
Trust54 - May 2, 2026 · TechCrunch
Meta acquires robotics startup Assured Robot Intelligence to advance humanoid robot control models
Trust63 - Apr 30, 2026 · TechCrunch — AI
Amazon's AWS cloud business posts fastest growth in 15 quarters, fueled by AI infrastructure demand
Trust71