OpsGenie · Schema

CreateNotificationRuleRequest

AlertsIncident ManagementMonitoringOn-Call

Properties

Name Type Description
name string Name of the notification rule.
actionType string Action type that triggers this notification rule.
criteria object
notificationTime array Notification time preferences.
timeRestriction object
schedules array Schedules this rule applies to.
steps array Notification steps.
order integer Order of the rule.
repeat object Repeat configuration.
enabled boolean Whether the rule is enabled.
View JSON Schema on GitHub

JSON Schema

opsgenie-createnotificationrulerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateNotificationRuleRequest",
  "title": "CreateNotificationRuleRequest",
  "type": "object",
  "required": [
    "name",
    "actionType"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the notification rule."
    },
    "actionType": {
      "type": "string",
      "enum": [
        "create-alert",
        "acknowledged-alert",
        "closed-alert",
        "assigned-alert",
        "add-note",
        "schedule-start",
        "schedule-end",
        "incoming-call-routing"
      ],
      "description": "Action type that triggers this notification rule."
    },
    "criteria": {
      "$ref": "#/components/schemas/NotificationCriteria"
    },
    "notificationTime": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "just-before",
          "15-minutes-ago",
          "1-hour-ago",
          "1-day-ago"
        ]
      },
      "description": "Notification time preferences."
    },
    "timeRestriction": {
      "$ref": "#/components/schemas/TimeRestriction"
    },
    "schedules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Schedule ID."
          },
          "name": {
            "type": "string",
            "description": "Schedule name."
          },
          "type": {
            "type": "string",
            "description": "Type (schedule)."
          }
        }
      },
      "description": "Schedules this rule applies to."
    },
    "steps": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/NotificationRuleStep"
      },
      "description": "Notification steps."
    },
    "order": {
      "type": "integer",
      "description": "Order of the rule."
    },
    "repeat": {
      "type": "object",
      "properties": {
        "loopAfter": {
          "type": "integer",
          "description": "Number of steps after which to loop back."
        },
        "enabled": {
          "type": "boolean",
          "description": "Whether repeat is enabled."
        }
      },
      "description": "Repeat configuration."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the rule is enabled."
    }
  }
}

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/opsgenie-createnotificationrulerequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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