Better Stack · Schema

PolicyCreateRequest

Request body for creating an escalation policy.

IncidentsLogsMonitoringPlatformStatusUptimeObservabilityOn-CallHeartbeats

Properties

Name Type Description
name string Policy name.
repeat_count integer Number of repeat cycles.
repeat_delay integer Delay between cycles in seconds.
View JSON Schema on GitHub

JSON Schema

better-stack-policy-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/better-stack/refs/heads/main/json-schema/better-stack-policy-create-request-schema.json",
  "title": "PolicyCreateRequest",
  "description": "Request body for creating an escalation policy.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Policy name.",
      "example": "Default On-Call"
    },
    "repeat_count": {
      "type": "integer",
      "description": "Number of repeat cycles.",
      "example": 3
    },
    "repeat_delay": {
      "type": "integer",
      "description": "Delay between cycles in seconds.",
      "example": 300
    }
  },
  "required": [
    "name"
  ]
}