GetMicrofrontendsInGroupGate

August 10, 2026 ยท View on GitHub

Automated gating configuration. Omitted (the default) means no gating is configured, which is equivalent to enabled: false.

Example Usage

import { GetMicrofrontendsInGroupGate } from "@vercel/sdk/models/getmicrofrontendsingroupbuildmachineelasticreason.js";

let value: GetMicrofrontendsInGroupGate = {
  enabled: false,
  checks: [
    {
      type: "error-rate-5xx",
      minSampleSize: 100,
      excludeStatusCodes: [
        503,
      ],
      excludePaths: [
        "/api/health",
      ],
      ingestWatermarkSeconds: 30,
    },
  ],
  failureThreshold: 3,
  windowSize: 5,
  action: "rollback",
  dryRun: true,
};

Fields

FieldTypeRequiredDescriptionExample
enabledboolean:heavy_check_mark:Whether automated gating is enabled for this project's rollouts.
checksmodels.GetMicrofrontendsInGroupChecks[]:heavy_check_mark:The checks to evaluate. An empty array means nothing is evaluated.
failureThresholdnumber:heavy_minus_sign:How many failing evaluations within {@link windowSize} trip the gate. Defaults to 3 when omitted.3
windowSizenumber:heavy_minus_sign:How many of the most recent evaluations {@link failureThreshold} is counted against. Defaults to 5 when omitted.5
actionmodels.GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONAction:heavy_check_mark:What to do when the gate trips: pause the rollout, or roll it back.
dryRunboolean:heavy_check_mark:When true, a tripped gate is only reported โ€” {@link action} is not taken.