Gemini API、長時間実行ジョブの通知向けにWebhookを追加
Google APIがWebhookに対応し、長時間実行タスクのポーリングが不要に。システムは標準的なWebhook仕様に準拠し、プロジェクトレベルおよびリクエストごとの動的設定に対してHMACとJWKSによるセキュリティを提供。ドキュメントとPythonクックブックも公開済み。
Google introduced event-driven Webhooks for the Gemini API, enabling push-based notifications for long-running tasks like Deep Research and Batch API processing. This replaces inefficient polling mechanisms, ensuring at-least-once delivery with automatic retries for up to 24 hours and preventing replay attacks via signed headers. Developers can configure endpoints globally or dynamically per-request, utilizing HMAC or JWWS security.