WebhooksConfig()| Name | Type |
|---|---|
| env_prefix | str |
| url | WebhookUrlPolicy |
| headers | dict[str, str] |
Required prefix for environment variables referenced in header templates.
Acts as an allowlist boundary to prevent leaking arbitrary environment variables. Defaults to "LG_WEBHOOK_" when omitted.
URL validation policy for user-supplied webhook endpoints.
Static headers to include with webhook requests.
Values may contain templates of the form "${{ env.VAR }}". On startup, these
are resolved via the process environment after verifying VAR starts with
env_prefix. Mixed literals and multiple templates are allowed.