Create a pattern monitor for a gate
Use when: caller wants to monitor traffic against a specific pattern (e.g. prompt-injection signature, regression detection) for a gate
Attaches a pattern monitor to a gate. Monitors continuously scan responses (or request payloads) for matching patterns — keyword, regex, semantic, or metric — and fire alerts when matches accumulate above their configured threshold. Useful for catching prompt-injection attempts, content-policy violations, or quality regressions in production.
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
Pattern monitor created.