Gemini API introduces event-driven webhooks for long-running jobs
Google has launched event-driven webhooks for the Gemini API, enabling push-based notifications for long-running tasks like Deep Research, video generation, and batch processing. The system eliminates the need for continuous polling by sending real-time HTTP POST payloads upon job completion. It adheres to the Standard Webhooks specification, with signed requests using webhook-signature, webhook-id, and webhook-timestamp headers for security and idempotency, and guarantees at-least-once delivery with automatic retries for up to 24 hours. Developers can configure webhooks globally at the project level via HMAC or dynamically per request using JWKS. The feature is available now, with documentation and a Cookbook for integration.
Key facts
- Gemini API introduces event-driven webhooks for long-running jobs
- Webhooks push real-time HTTP POST payloads when tasks finish
- Eliminates need for continuous polling
- Adheres to Standard Webhooks specification
- Requests signed with webhook-signature, webhook-id, webhook-timestamp headers
- Guarantees at-least-once delivery with automatic retries for up to 24 hours
- Global configuration via HMAC, per-request override via JWKS
- Feature available now for all Gemini API developers
Entities
Institutions
- Gemini API