create-synthetics-test
Create a new Synthetics API test to monitor HTTP, SSL, TCP, DNS, and other endpoints with configurable assertions, locations, and alerts.
Instructions
Create a new Synthetics API test (HTTP, SSL, TCP, DNS, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Test name. Example: API Health Check - Production | |
| type | Yes | Test type (api) | |
| subtype | No | Test subtype. Example: http | http |
| url | Yes | URL to test. Example: https://api.example.com/health | |
| method | No | HTTP method. Example: GET, POST, PUT | GET |
| locations | Yes | Test locations. Example: ["aws:us-east-1", "aws:eu-west-1"] | |
| message | No | Notification message. Example: API is down @slack-alerts | |
| tags | No | Tags for the test. Example: ["env:prod", "team:platform"] | |
| status | No | Initial test status | paused |
| assertions | No | Response assertions. Example: [{"type":"statusCode","operator":"is","target":200}] |