LogBrew · Schema

UpdateAlertRuleRequest

Changes to an alert rule; an omitted field keeps its value, and `null` clears a filter or a snooze. The kind never changes.

ObservabilityLoggingMonitoringAnalyticsError Tracking

Properties

Name Type Description
environment stringnull The environment it watches; `null` for all.
factor integernull Escalation factor.
issue_id stringnull Event count: the issue counted; `null` for all.
level object Event count: the lowest level counted; `null` for all.
muted booleannull Whether it is muted until someone unmutes it.
name stringnull Name; empty for none.
recipients object Who it alerts, replacing every recipient.
service stringnull Event count: the service counted, `null` for all; quiet period: the service watched.
snoozed_until stringnull Silences it until this time, at most 30 days ahead; `null` ends a snooze.
threshold integernull Event count or escalation threshold.
window_minutes integernull Window length in minutes.
View JSON Schema on GitHub

JSON Schema

logbrew-update-alert-rule-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/logbrew/json-schema/logbrew-update-alert-rule-request-schema.json",
  "title": "UpdateAlertRuleRequest",
  "description": "Changes to an alert rule; an omitted field keeps its value, and `null` clears a filter or\na snooze. The kind never changes.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/logbrew-alerts-api-openapi.yml#/components/schemas/UpdateAlertRuleRequest",
  "additionalProperties": false,
  "properties": {
    "environment": {
      "description": "The environment it watches; `null` for all.",
      "type": [
        "string",
        "null"
      ]
    },
    "factor": {
      "description": "Escalation factor.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "issue_id": {
      "description": "Event count: the issue counted; `null` for all.",
      "format": "uuid",
      "type": [
        "string",
        "null"
      ]
    },
    "level": {
      "anyOf": [
        {
          "$ref": "#/$defs/AlertRuleLevel"
        },
        {
          "type": "null"
        }
      ],
      "description": "Event count: the lowest level counted; `null` for all."
    },
    "muted": {
      "description": "Whether it is muted until someone unmutes it.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "name": {
      "description": "Name; empty for none.",
      "type": [
        "string",
        "null"
      ]
    },
    "recipients": {
      "anyOf": [
        {
          "$ref": "#/$defs/AlertRuleRecipientsInput"
        },
        {
          "type": "null"
        }
      ],
      "description": "Who it alerts, replacing every recipient."
    },
    "service": {
      "description": "Event count: the service counted, `null` for all; quiet period: the service watched.",
      "type": [
        "string",
        "null"
      ]
    },
    "snoozed_until": {
      "description": "Silences it until this time, at most 30 days ahead; `null` ends a snooze.",
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "threshold": {
      "description": "Event count or escalation threshold.",
      "format": "uint64",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "window_minutes": {
      "description": "Window length in minutes.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "AlertRuleLevel": {
      "description": "The lowest event level an event count counts; higher levels count too.",
      "oneOf": [
        {
          "const": "info",
          "description": "Info and above.",
          "type": "string"
        },
        {
          "const": "warning",
          "description": "Warning and above.",
          "type": "string"
        },
        {
          "const": "error",
          "description": "Error and above.",
          "type": "string"
        },
        {
          "const": "critical",
          "description": "Critical only.",
          "type": "string"
        }
      ]
    },
    "AlertRuleRecipientsInput": {
      "additionalProperties": false,
      "description": "Who a rule alerts. A recipient gets an alert only while they can read the project.",
      "properties": {
        "members": {
          "default": [],
          "description": "Account IDs.",
          "items": {
            "format": "uuid",
            "type": "string"
          },
          "type": "array"
        },
        "project_members": {
          "default": false,
          "description": "Everyone who can read the project.",
          "type": "boolean"
        },
        "teams": {
          "default": [],
          "description": "Organization team IDs; their members when the rule fires.",
          "items": {
            "format": "uuid",
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/logbrew-update-alert-rule-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.