rotative
google ai blog · 2026年5月4日

Gemini API、長時間実行ジョブの通知向けにWebhookを追加

Google APIがWebhookに対応し、長時間実行タスクのポーリングが不要に。システムは標準的なWebhook仕様に準拠し、プロジェクトレベルおよびリクエストごとの動的設定に対してHMACとJWKSによるセキュリティを提供。ドキュメントとPythonクックブックも公開済み。

read in English · 简体中文 · 繁體中文 · 한국어

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.

read at source ↗

← rotative