create_check
Create a check. kind is http, api, dns, or tcp. Defaults: GET, status 200, 10s timeout, email alerts on, interval_seconds from the plan minimum, and one region. DNS defaults to an A record over UDP. TCP requires port. Pass regions only when you want more than the default, and only within max_regions from usage. Request headers, request body, and HTTP auth stay in the console. To link a status page, pass site_id, site_slug, and component_id together.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| port | No | ||
| target | Yes | ||
| regions | No | ||
| site_id | No | ||
| site_slug | No | ||
| dns_server | No | ||
| verify_ssl | No | ||
| http_method | No | ||
| tcp_payload | No | ||
| component_id | No | ||
| dns_protocol | No | ||
| body_contains | No | ||
| incident_mode | No | ||
| tcp_ip_family | No | ||
| display_metrics | No | ||
| dns_record_type | No | ||
| timeout_seconds | No | ||
| follow_redirects | No | ||
| interval_seconds | No | ||
| alert_email_enabled | No | ||
| dns_expected_values | No | ||
| tcp_expected_outcome | No | ||
| alert_destination_ids | No | ||
| expected_status_codes | No | ||
| incident_auto_resolve | No | ||
| alert_incident_enabled | No |