Better Stack · JSON Structure

Better Stack Heartbeat Create Request Structure

Request body for creating a heartbeat.

Type: object Properties: 7 Required: 2
IncidentsLogsMonitoringPlatformStatusUptimeObservabilityOn-CallHeartbeats

HeartbeatCreateRequest is a JSON Structure definition published by Better Stack, describing 7 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name period grace email sms call push

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/better-stack/refs/heads/main/json-structure/better-stack-heartbeat-create-request-structure.json",
  "name": "HeartbeatCreateRequest",
  "description": "Request body for creating a heartbeat.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for the heartbeat.",
      "example": "Daily Backup Job"
    },
    "period": {
      "type": "int32",
      "description": "Expected period in seconds.",
      "example": 86400
    },
    "grace": {
      "type": "int32",
      "description": "Grace period in seconds.",
      "example": 3600
    },
    "email": {
      "type": "boolean",
      "description": "Alert via email.",
      "example": true
    },
    "sms": {
      "type": "boolean",
      "description": "Alert via SMS.",
      "example": false
    },
    "call": {
      "type": "boolean",
      "description": "Alert via phone call.",
      "example": false
    },
    "push": {
      "type": "boolean",
      "description": "Alert via push notification.",
      "example": true
    }
  },
  "required": [
    "name",
    "period"
  ]
}