Create an alert config for a gate
Use when: caller wants to configure a threshold-based alert (error rate, latency, cost, etc.) that fires when a metric crosses a boundary for a gate
Attaches an alert config to a gate. When the configured trigger fires (e.g. quality regression, cost spike, error-rate threshold), Layer fans out notifications to the declared channels (email, webhook, in-product) and optionally triggers a reanalysis. Cooldown prevents alert storms when the underlying condition persists.
Documentation Index
Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.
Body
Response
Alert config created.