Skip to main content
POST
Create a new monitor

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Body

application/json
name
string
required

Human-readable name for this monitor

Maximum string length: 255
type
enum<string>
required

Monitor protocol type

Available options:
HTTP,
DNS,
MCP_SERVER,
TCP,
ICMP,
HEARTBEAT,
BROWSER,
MULTI_STEP_API
config
object
frequencySeconds
integer<int32> | null

Check frequency in seconds (10–86400). Null defaults to the plan minimum

Required range: 10 <= x <= 86400
enabled
boolean | null

Whether the monitor is active (default: true)

regions
string[] | null

Probe regions to run checks from. Allowed values are deployment-dependent. Production: us-east, us-west, eu-west, ap-south

Probe regions to run checks from. Allowed values are deployment-dependent. Production: us-east, us-west, eu-west, ap-south

managedBy
enum<string> | null

Source that created this monitor: DASHBOARD, CLI, TERRAFORM, MCP, or API. Defaults to API

Available options:
DASHBOARD,
CLI,
TERRAFORM,
MCP,
API
environmentId
string<uuid> | null

Environment to associate with this monitor. Required for browser and multi-step monitors

assertions
object[] | null

Assertions to evaluate against each check result

auth
object

New authentication configuration (full replacement)

incidentPolicy
object | null

Request body for updating an incident policy

alertChannelIds
string<uuid>[] | null

Alert channels to notify when this monitor triggers

Alert channels to notify when this monitor triggers

tags
object | null

Request body for adding tags to a monitor. Provide existing tag IDs, inline new tags, or both.

capturePolicy
object | null

When to capture screenshots, traces, and video during a code run

fastRetryMaxAttempts
integer<int32> | null

Fast-retry attempts after failure. Null or 0 disables

Required range: 0 <= x <= 10
definitionId
string<uuid> | null

Existing definition to reuse for a sibling monitor

package
object | null

New package zip metadata for this environment

Response

Created

data
object
required

Full monitor representation