Update a gate
Use when: caller wants to change a gate’s configuration (model, fallbacks, parameters, system prompt, allowed overrides)
Partial update of a gate’s configuration. Validates model references at the API boundary; reject unknown models in fallbackModels and modelPool, but only when those fields are being explicitly set (so edits to other fields on a gate with pre-existing typo’d fallbacks aren’t blocked). Triggers history + activity log entries when significant fields change.
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
The body is of type object.
Response
Gate updated; response includes the updated gate, hasChanges, and changedFields array.