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.
Authorizations
Verlon API key (newly minted keys are prefixed sk-vrln-; legacy verlon_* and layer_* keys from prior prefix migrations continue to validate). Generated from the dashboard under Settings → API Keys, or via verlon key create in the CLI.
Body
The body is of type object.
Response
Gate updated; response includes the updated gate, hasChanges, and changedFields array.

