Create Synthetic Test¶
POST /api/v1/dialing_task/add
Overview¶
Create a regular or mobile periodic synthetic test and deliver the execution configuration.
Before You Call and Usage Steps¶
Select the target protocol and an execution node available in the current workspace, and create the task with a complete object. Regular tasks default to task.status=ok and are delivered; creation may immediately start periodic synthetic testing and billing. The current public Body does not declare task.status, so you cannot pass stop in this request. Use the start/stop API after creation; there is no guarantee that no execution occurs between the two steps. Creating a mobile task validates node selection and terms; nodes does not confirm real-time existence; groups queries the group and members. On success, the task is enabled by default.
The current public task subfield allowlist does not declare browser_config/browser_window/retry_options, while the browser controller requires browser_config. Therefore, this entry point cannot currently complete valid browser creation/modification. Passing the required script returns 406 first; omitting it returns InvalidDialingTask. Do not treat manual Front or DataKit configurations as parameters available in the current OpenAPI. Use the dedicated multi_task API for multistep tests. For the semantics of conditions and advanced options for regular HTTP/TCP/ICMP/WebSocket/SSL, see the retained Custom Synthetic Test.
DNS validates the structure, types, enums, and number of assertion leaves; it does not execute a real query. Variable templates/Go regular expressions/certificates and protocol semantics are validated by the executor. NetPath has a strict field allowlist and does not support variables (config_vars can only be []). mobile does not support regular regions, variables, scripts, Cron/deadline, client provider, or other internal fields. Fill in the node selection snapshot according to mobile resources; it does not update automatically with the template.
Regular delivery and database commit are not an atomic transaction. If creation fails, the system attempts stop compensation, but complete rollback is not guaranteed. First query the current state by the new task name and the taskUUID in the error content. For mobile, the local stop state is saved before creating the remote task, and ok is written back after success. On failure, localSaved may already be set or the remote result may be unknown; do not blindly create again. The response is the task configuration, not a single synthetic test result or confirmation that a notification was delivered.
Request Headers¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| DF-API-KEY | string | Yes | OpenAPI authentication credential for the workspace. Example: <DF-API-KEY>How to obtain or enter: Obtain an OpenAPI Key with the required permissions from API Key Management in the target workspace. |
Body Request Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| regions[*] | string | Single node UUID; capabilities of nodes for different protocols must be confirmed on the actual platform. Example: reg_exampleHow to obtain or enter: Use the uuid of an available node record, not the node name/city or keycode. |
|
| tags[*] | string | Names are deduplicated; this is not a tag_ UUID; an error is reported if it does not fall within the synthetic test scope. Example: productionHow to obtain or enter: Take a single business tag name. |
|
| task.success_when[*] | json | A single condition object; outer condition logic is controlled by success_when_logic. The semantics of internal conditions are validated by the corresponding executor. Example: {"status_code": [{"is": "200"}]}How to obtain or enter: Combine the corresponding assertion fields for HTTP/TCP/DNS/NetPath, etc. |
|
| task.advance_options.request_options | json | Applies to HTTP/WebSocket; optional; HTTP/WebSocket request options. Example: {}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_options.follow_redirect | boolean | Applies to HTTP/WebSocket; optional; whether to follow redirects; if omitted, the executor default applies. Example: falseHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_options.headers | json | Applies to HTTP/WebSocket; optional; mapping from request header names to string values; do not put real credentials in the example. Example: {"Accept": "application/json"}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_options.headers.请求头名 | string | Applies to HTTP/WebSocket; optional; dynamic request header value; use the header name required by the real API. Example: application/jsonHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_options.cookies | string | Applies to HTTP/WebSocket; optional; Cookie text; optional. Example: How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_options.auth | json | Applies to HTTP/WebSocket; optional; HTTP Basic username and password configuration; optional. Example: {}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_options.auth.username | string | Applies to HTTP/WebSocket; optional; Basic username, provided by the target API administrator. Example: USER-PLACEHOLDERHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_options.auth.password | string | Applies to HTTP/WebSocket; optional; Basic password; inject it from a secure credential source. Example: PASSWORD-PLACEHOLDERHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_body | json | Applies to HTTP/WebSocket; optional; request Body format and content. Example: {}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_body.body_type | string | Applies to HTTP/WebSocket; optional; request Content-Type, for example application/json/text/plain/text/xml/multipart/form-data. Example: application/jsonHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_body.body | string | Applies to HTTP/WebSocket; optional; request body string; when modifying, you must retain the necessary business content. Example: {"check":true}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_body.form | json | Applies to HTTP/WebSocket; optional; mapping from multipart form fields to strings; optional. Example: {"check": "true"}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_body.form.字段名 | string | Applies to HTTP/WebSocket; optional; single form value. Example: trueHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.request_timeout | string | Applies to HTTP/WebSocket; optional; total HTTP timeout duration; executor default is 60s; Studio does not replace validation by the actual executor. Example: 60sHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.protocol | string | Applies to HTTP/WebSocket; optional; HTTP protocol auto/http/1.1/http/2/http/2-only/http/3; support depends on the node version; do not configure a proxy at the same time as HTTP3. Example: autoHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.certificate | json | Applies to HTTP/WebSocket; optional; request TLS certificate configuration. Example: {}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.certificate.ignore_server_certificate_error | boolean | Applies to HTTP/WebSocket; optional; whether to ignore certificate validation errors. Example: falseHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.certificate.certificate | string | Applies to HTTP/WebSocket; optional; PEM client certificate, provided by the target service. Example: CERTIFICATE-PLACEHOLDERHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.certificate.private_key | string | Applies to HTTP/WebSocket; optional; PEM private key corresponding to the certificate; use a secure source. Example: PRIVATE-KEY-PLACEHOLDERHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.certificate.ca | string | Applies to HTTP/WebSocket; optional; CA content; some HTTP executors retain it but do not use it. For DNS, certificate.ca is interpreted directly according to its protocol. Example: CA-PLACEHOLDERHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.proxy | json | Applies to HTTP/WebSocket; optional; HTTP proxy object; do not assume the node can access any proxy. Example: {}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.proxy.url | string | Applies to HTTP/WebSocket; optional; proxy URL. Example: http://proxy.example.com:8080How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.proxy.headers | json | Applies to HTTP/WebSocket; optional; proxy-specific string header mapping. Example: {}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.proxy.headers.请求头名 | string | Applies to HTTP/WebSocket; optional; single proxy request header value. Example: VALUE-PLACEHOLDERHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.secret | json | Applies to HTTP/WebSocket; optional; legacy HTTP request data saving option; subject to executor support. Example: {}How to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.advance_options.secret.not_save | boolean | Applies to HTTP/WebSocket; optional; whether not to save request content; this does not replace masking returned documents/logs. Example: trueHow to obtain or enter: Construct based on the target HTTP API/node configuration and Custom Synthetic Test. |
|
| task.success_when[*].body | array | Optional assertion set; key names depend on the actual response; use only comparisons supported by the executor. Example: []How to obtain or enter: Select body or a specific header from the real HTTP/WebSocket response. |
|
| task.success_when[*].body[*].contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].body[*].not_contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].body[*].is | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].body[*].is_not | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].body[*].match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].body[*].not_match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].header.响应头名 | array | Optional assertion set; key names depend on the actual response; use only comparisons supported by the executor. Example: []How to obtain or enter: Select body or a specific header from the real HTTP/WebSocket response. |
|
| task.success_when[*].header.响应头名[*].contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].header.响应头名[*].not_contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].header.响应头名[*].is | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].header.响应头名[*].is_not | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].header.响应头名[*].match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].header.响应头名[*].not_match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. Example: healthyHow to obtain or enter: Take the response text/valid regex to match; do not copy sensitive values from the response. |
|
| task.success_when[*].header | json | Optional mapping from header names to condition sets. Example: {}How to obtain or enter: Use real response header names. |
|
| task.success_when[*].status_code | array | HTTP optional status assertion set; compares strings according to the executor protocol. Example: [{"is": "200"}]How to obtain or enter: Select the successful HTTP status code or the corresponding regex. |
|
| task.success_when[*].status_code[*].is | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. Example: 200How to obtain or enter: Take the expected status/status regex of the target API. |
|
| task.success_when[*].status_code[*].is_not | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. Example: 200How to obtain or enter: Take the expected status/status regex of the target API. |
|
| task.success_when[*].status_code[*].match_regex | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. Example: 200How to obtain or enter: Take the expected status/status regex of the target API. |
|
| task.success_when[*].status_code[*].not_match_regex | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. Example: 200How to obtain or enter: Take the expected status/status regex of the target API. |
|
| task.success_when[*].response_time | string or array | HTTP/WebSocket/DNS use a duration threshold string; legacy TCP/ICMP may use a condition array. Response time units are defined by the corresponding leaf field and cannot be uniformly interpreted as a bare millisecond number. Example: 100msHow to obtain or enter: Set according to the current protocol's latency requirements. |
|
| task.success_when[*].response_time[*].is_contain_dns | boolean | Only used in array form; whether TCP/ICMP includes DNS time in the comparison. Example: trueHow to obtain or enter: Based on TCP/ICMP latency requirements and the executor condition protocol. |
|
| task.success_when[*].response_time[*].target | string | Only used in array form; duration value for time comparison. Example: 100msHow to obtain or enter: Based on TCP/ICMP latency requirements and the executor condition protocol. |
|
| task.success_when[*].connection | array | TCP optional, but when present must be a non-empty array; only eq established/refused/timeout. Example: [{"op": "eq", "target": "established"}]How to obtain or enter: Select the desired TCP connection state. |
|
| task.success_when[*].connection[*].op | string | Required; only eq; is/ne are not accepted. Example: eqHow to obtain or enter: Construct according to the TCP connection state assertion. |
|
| task.success_when[*].connection[*].target | string | Required; established/refused/timeout connection result. Example: establishedHow to obtain or enter: Construct according to the TCP connection state assertion. |
|
| task.record_types[*] | string | Single record type or valid variable template. Example: AHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.doh.url | string | Required URL for DoH. Example: https://resolver.example.net/dns-queryHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.doh.method | string | Optional GET/POST; if omitted, handled by the executor. Example: POSTHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.doh.http_protocol | string | Optional auto/http/1.1/http/2-only/http/3. Example: autoHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.doh.headers | json | Optional HTTP request header string mapping. Example: {"Accept": "application/dns-message"}How to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.doh.headers.请求头名 | string | Single string request header. Example: application/dns-messageHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.dns_options.recursion_desired | boolean | Optional RD recursion desired flag; if omitted, executor default. Example: trueHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.dns_options.dnssec_ok | boolean | Optional DO DNSSEC flag. Example: falseHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.dns_options.checking_disabled | boolean | Optional CD checking disabled flag. Example: falseHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.dns_options.udp_payload_size | integer | Optional EDNS UDP payload size, in bytes; semantic range is validated by the executor. Example: 1232How to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.certificate.ca | string | DNS optional; PEM CA. Example: CA-PLACEHOLDERHow to obtain or enter: Obtain from the certificate/trust configuration required by the DNS TLS service. |
|
| task.certificate.certificate | string | DNS optional; PEM client certificate. Example: CERTIFICATE-PLACEHOLDERHow to obtain or enter: Obtain from the certificate/trust configuration required by the DNS TLS service. |
|
| task.certificate.private_key | string | DNS optional; PEM private key; inject securely. Example: PRIVATE-KEY-PLACEHOLDERHow to obtain or enter: Obtain from the certificate/trust configuration required by the DNS TLS service. |
|
| task.certificate.ignore_server_certificate_error | boolean | DNS optional; whether to ignore certificate validation. Example: falseHow to obtain or enter: Obtain from the certificate/trust configuration required by the DNS TLS service. |
|
| task.success_when[*].authenticated_data | boolean | DNS optional leaf; together with other leaves, the total must not exceed 20. Example: trueHow to obtain or enter: Select according to the expected DNSSEC AD flag. |
|
| task.success_when[*].at_least_one_record | json | Optional, but when present must be a non-empty object, grouped by record type. Example: {"of_type_a": [{"is": "203.0.113.10"}]}How to obtain or enter: Choose at_least_one_record if at least one DNS record matches; choose every_record if all match. |
|
| task.success_when[*].at_least_one_record.of_type_a | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].at_least_one_record.of_type_a[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_a[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_a[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_a[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_a[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_aaaa | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].at_least_one_record.of_type_aaaa[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_aaaa[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_aaaa[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_aaaa[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_aaaa[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_cname | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].at_least_one_record.of_type_cname[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_cname[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_cname[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_cname[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_cname[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_mx | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].at_least_one_record.of_type_mx[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_mx[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_mx[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_mx[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_mx[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_ns | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].at_least_one_record.of_type_ns[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_ns[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_ns[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_ns[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_ns[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_txt | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].at_least_one_record.of_type_txt[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_txt[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_txt[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_txt[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].at_least_one_record.of_type_txt[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record | json | Optional, but when present must be a non-empty object, grouped by record type. Example: {"of_type_a": [{"is": "203.0.113.10"}]}How to obtain or enter: Choose at_least_one_record if at least one DNS record matches; choose every_record if all match. |
|
| task.success_when[*].every_record.of_type_a | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].every_record.of_type_a[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_a[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_a[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_a[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_a[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_aaaa | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].every_record.of_type_aaaa[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_aaaa[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_aaaa[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_aaaa[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_aaaa[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_cname | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].every_record.of_type_cname[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_cname[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_cname[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_cname[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_cname[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_mx | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].every_record.of_type_mx[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_mx[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_mx[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_mx[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_mx[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_ns | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].every_record.of_type_ns[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_ns[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_ns[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_ns[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_ns[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_txt | array | Must be a non-empty condition array when present; each item can contain only one comparison key. Example: [{"exists": true}]How to obtain or enter: Select the corresponding of_type key according to the DNS query record type. |
|
| task.success_when[*].every_record.of_type_txt[*].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: trueHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_txt[*].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: 203.0.113.10How to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_txt[*].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_txt[*].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: ^exampleHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.success_when[*].every_record.of_type_txt[*].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. Example: invalidHow to obtain or enter: Take from the expected DNS record text or a valid Go regex. |
|
| task.advance_options.timeout | string | NetPath only; required; integer seconds from 1s..30s. Example: 10sHow to obtain or enter: Choose according to NetPath measurement requirements; not an HTTP advanced option. |
|
| task.advance_options.max_ttl | integer | NetPath only; required TTL upper limit, TCP/ICMP 1..60, UDP 1..255. Example: 30How to obtain or enter: Choose according to NetPath measurement requirements; not an HTTP advanced option. |
|
| task.advance_options.e2e_queries | integer | NetPath only; required number of end-to-end probes 1..100. Example: 10How to obtain or enter: Choose according to NetPath measurement requirements; not an HTTP advanced option. |
|
| task.advance_options.traceroute_queries | integer | NetPath only; required number of path probes 1..10. Example: 3How to obtain or enter: Choose according to NetPath measurement requirements; not an HTTP advanced option. |
|
| task.advance_options.source_name | string | NetPath only; optional source display name, ≤128 characters after trim, deleted if empty. Example: APIHow to obtain or enter: Choose according to NetPath measurement requirements; not an HTTP advanced option. |
|
| task.advance_options.target_name | string | NetPath only; optional target display name, ≤128 characters after trim, deleted if empty. Example: DBHow to obtain or enter: Choose according to NetPath measurement requirements; not an HTTP advanced option. |
|
| task.success_when[*].e2e_rtt_avg | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "lt", "target": "100ms"}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].e2e_rtt_avg[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: ltHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].e2e_rtt_avg[*].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. Example: 100msHow to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].e2e_rtt_min | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "lt", "target": "100ms"}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].e2e_rtt_min[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: ltHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].e2e_rtt_min[*].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. Example: 100msHow to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].e2e_rtt_max | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "lt", "target": "100ms"}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].e2e_rtt_max[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: ltHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].e2e_rtt_max[*].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. Example: 100msHow to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].e2e_rtt_variation_avg | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "lt", "target": "100ms"}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].e2e_rtt_variation_avg[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: ltHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].e2e_rtt_variation_avg[*].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. Example: 100msHow to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].e2e_rtt_variation_max | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "lt", "target": "100ms"}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].e2e_rtt_variation_max[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: ltHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].e2e_rtt_variation_max[*].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. Example: 100msHow to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].e2e_probe_loss_percent | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "lt", "target": 1}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].e2e_probe_loss_percent[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: ltHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].e2e_probe_loss_percent[*].target | number | Packet loss percentage 0..100, JSON number. Example: 1How to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].hop_count | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "lt", "target": 1}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].hop_count[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: ltHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].hop_count[*].target | integer | Hop count, non-negative JSON integer. Example: 1How to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].e2e_status | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "eq", "target": "reached"}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].e2e_status[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: eqHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].e2e_status[*].target | string | Status reached/partial/failed; e2e_status additionally allows unknown. Example: reachedHow to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.success_when[*].traceroute_status | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. Example: [{"op": "eq", "target": "reached"}]How to obtain or enter: Choose from available NetPath availability metrics; the entire success_when outer layer has only one item. |
|
| task.success_when[*].traceroute_status[*].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. Example: eqHow to obtain or enter: Choose according to the metric comparison requirement. |
|
| task.success_when[*].traceroute_status[*].target | string | Status reached/partial/failed; e2e_status additionally allows unknown. Example: reachedHow to obtain or enter: Take the expected measurement boundary; do not use historical measurement results as the configuration as-is. |
|
| task.config_vars[*].id | string | DNS validates types according to these fields; global variable UUID, required when type=global. Example: dvar_exampleHow to obtain or enter: Use the real definition from synthetic test variable management or the current task configuration. |
|
| task.config_vars[*].type | string | DNS validates types according to these fields; global global or current task local type; browser ciphertext types secret/password/secure have separate retention rules. Example: globalHow to obtain or enter: Use the real definition from synthetic test variable management or the current task configuration. |
|
| task.config_vars[*].name | string | DNS validates types according to these fields; template-referenced variable name. Example: HOSTHow to obtain or enter: Use the real definition from synthetic test variable management or the current task configuration. |
|
| task.config_vars[*].value | string | DNS validates types according to these fields; local variable value; inject from a secure source; omit fields that do not apply. Example: example.comHow to obtain or enter: Use the real definition from synthetic test variable management or the current task configuration. |
|
| task.config_vars[*].example | string | DNS validates types according to these fields; preview/example value; not a replacement for the actual target source. Example: example.comHow to obtain or enter: Use the real definition from synthetic test variable management or the current task configuration. |
|
| task.config_vars[*].secure | boolean | DNS validates types according to these fields; whether it is a secure variable; type is boolean. Example: falseHow to obtain or enter: Use the real definition from synthetic test variable management or the current task configuration. |
|
| task.nodeSelection.mode | string | mobile required; nodes specifies nodes, groups specifies node groups. Example: nodesHow to obtain or enter: Read from mobile resources/templates and then select. |
|
| task.nodeSelection.ids | array | mobile required; non-empty, unique string array; use the corresponding resource id, not a region UUID. Example: ["NODE-ID"]How to obtain or enter: Read from mobile resources/templates and then select. |
|
| task.nodeSelection.ids[*] | string | mobile required; single current node or group id; nodes allows only letters, digits, underscores, and hyphens. Example: NODE-IDHow to obtain or enter: Read from mobile resources/templates and then select. |
|
| task.nodeSelection.sampleCount | integer | mobile required; number of independent samples per node 1..100, not limited by the number of selected nodes/group members. Example: 1How to obtain or enter: Read from mobile resources/templates and then select. |
|
| task.protocolOptions.httpMethod | string | http only; optional; if omitted, platform default applies; GET/POST. Example: GETHow to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.body | string | http only; optional; if omitted, platform default applies; request body string. Example: {"probe":true}How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.httpHost | json | http only; optional; if omitted, platform default applies; string mapping, configured according to the target Host. Example: {"Host": "example.com"}How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.httpHost.键名 | string | Dynamic string member; variable templates are not allowed (except expectedResponseBody). Example: VALUEHow to obtain or enter: Set according to the string key-value actually required by the HTTP request. |
|
| task.protocolOptions.httpParams | json | http only; optional; if omitted, platform default applies; Query parameter string mapping. Example: {"check": "true"}How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.httpParams.键名 | string | Dynamic string member; variable templates are not allowed (except expectedResponseBody). Example: VALUEHow to obtain or enter: Set according to the string key-value actually required by the HTTP request. |
|
| task.protocolOptions.httpHeader | json | http only; optional; if omitted, platform default applies; request header string mapping. Example: {"Accept": "application/json"}How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.httpHeader.键名 | string | Dynamic string member; variable templates are not allowed (except expectedResponseBody). Example: VALUEHow to obtain or enter: Set according to the string key-value actually required by the HTTP request. |
|
| task.protocolOptions.expectedResponseBody | string | http only; optional; if omitted, platform default applies; non-empty raw text inclusion match; no trim and template markers inside are not interpreted. Example: healthyHow to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.expectedResponseCode | array | http only; optional; if omitted, platform default applies; non-empty JSON integer array, allowed code set, do not mix with text regex; the actual contract of the execution platform determines how multiple checks are combined. Example: [200]How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.expectedResponseCode[*] | integer | http only; optional; if omitted, platform default applies; single JSON integer code; strings/booleans are not allowed. Example: 200How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.dnsHost | string | dns only; optional; if omitted, platform default applies; DNS server/host string. Example: resolver.example.netHow to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.dnsIpVerify | string | dns only; optional; if omitted, platform default applies; expected DNS resolved IP string. Example: 203.0.113.10How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.tcpHost | string | tcp only; optional; if omitted, platform default applies; TCP target Host configuration. Example: example.comHow to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.tcpTimeoutMs | integer | tcp only; optional; if omitted, platform default applies; timeout 1..10000 milliseconds. Example: 1000How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.tcpData | string | tcp only; optional; if omitted, platform default applies; sent data text. Example: pingHow to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.tcpVerify | string | tcp only; optional; if omitted, platform default applies; expected response text. Example: pongHow to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.pingType | integer | ping only; optional; if omitted, platform default applies; 1/2, default 1. Example: 1How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.pingCount | integer | ping only; optional; if omitted, platform default applies; number of packets sent 1..10. Example: 3How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.pingTimeoutMs | integer | ping only; optional; if omitted, platform default applies; timeout 1..10000 milliseconds. Example: 1000How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.taskTimeoutMs | integer | http/dns/tcp/ping only; optional; if omitted, platform default applies; task timeout 1..10000 milliseconds. Example: 10000How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| task.protocolOptions.flowLimit | integer | http/dns/tcp/ping only; optional; if omitted, platform default applies; platform flow limit integer 1..10; Studio does not define additional unit conversion. Example: 1How to obtain or enter: Obtain from the mobile target protocol and execution platform configuration. |
|
| type | string | Yes | Required for creation; case-normalized; for modification, determined by the existing entity type; do not pass type. browser currently has the public allowlist restriction described below; multi uses the separate multistep API. Allowed null: fase $lowerIn: ['http', 'tcp', 'dns', 'browser', 'icmp', 'websocket', 'ssl', 'netpath', 'mobile'] Example: httpHow to obtain or enter: Choose http/tcp/dns/browser/icmp/websocket/ssl/netpath/mobile according to the task purpose. |
| regions | array | Yes | Required array. Regular tasks must be non-empty; mobile tasks must explicitly use []; use task.nodeSelection instead. Modification replaces the entire node set; removing a node delivers a stop to the original node. Allowed null: False Example: ["reg_example"]How to obtain or enter: Obtain the real node uuid from the available node list or default region list. |
| task | json | Yes | Required complete object; for creation maxDictLength=20000, for modification 65536; counted by server-side str(dict) length with UTF-8 difference /2 weighting, not the raw HTTP byte limit. It is not a partial patch; do not send the entire response object directly back. Allowed null: False Dictionary length limit: 20000 Example: {"name": "Site Availability", "frequency": "5m", "method": "GET", "url": "https://example.com/health", "success_when": [{"status_code": [{"is": "200"}]}]}How to obtain or enter: Fill in the complete task object according to the target type; for modification, get a backup first and only fill in writable fields. |
| task.url | string | Fill in according to the HTTP/WebSocket protocol; optional at the public layer but required for task execution. Not used for mobile; mobile uses address. Browser also has current entry point restrictions. Allowed null: False Example: https://example.com/healthHow to obtain or enter: Obtain the complete target URL from the HTTP/WebSocket service to be monitored; it must be accessible from the selected node. |
|
| task.method | string | Required for HTTP business; missing returns MissingMethod; omit for other protocols; not guaranteed that any method is supported by the executor. Allowed null: False Example: GETHow to obtain or enter: Choose the real method such as GET/POST/PUT according to the target HTTP API. |
|
| task.name | string | Yes | Required; 1..256 Python characters after trim; the trimmed result is saved; all synthetic test types share non-deleted name uniqueness. Modification requires the complete name. Allowed null: False Example: Site AvailabilityHow to obtain or enter: A unique task name in this workspace defined by the business side. |
| task.frequency | string | Yes | Required, no default; Free/Experience workspaces only 30m/1h/6h/12h/24h. Do not apply arbitrary second-level frequencies from manual DataKit JSON. Allowed null: False Allowed values: ['1m', '5m', '15m', '30m', '1h', '6h', '12h', '24h'] Example: 5mHow to obtain or enter: Choose 1m/5m/15m/30m/1h/6h/12h/24h according to business budget and execution requirements. |
| task.schedule_type | string | Optional; if omitted, follows the executor's regular frequency. mobile only supports frequency, not crontab. Allowed null: False Allowed values: ['frequency', 'crontab'] Example: frequencyHow to obtain or enter: Use frequency for regular schedules and crontab for custom schedules. |
|
| task.crontab | string | When schedule_type=crontab, must be non-empty and pass Cron parsing; frequency is still declared required publicly; mobile does not accept this field. Time zone/execution cadence must be verified against the node's actual environment and cannot be treated as a Unix timestamp. Allowed null: False Example: */5 * * * *How to obtain or enter: Select the complete Cron expression according to the target schedule. |
|
| task.advance_options | json | Optional object; NetPath requires it and strictly allows only the six fields on this page. HTTP requests, certificates/proxies, etc. must follow actual executor support; do not equate protocol validation with online testing. Allowed null: False Example: {}How to obtain or enter: Choose according to HTTP/WebSocket advanced options or the NetPath-specific structure. |
|
| task.advance_options_headless | json | Publicly declared and retained, but cannot replace the required browser_config. Currently, public browser creation/modification cannot pass complete configuration; do not treat this object as a browser script entry point. Allowed null: False Example: {}How to obtain or enter: The saved structure of legacy browser advanced configuration. |
|
| task.success_when_logic | string | Optional and/or; the executor usually defaults to and; NetPath must be filled explicitly; this does not control alert notification policies. Allowed null: False Allowed values: ['and', 'or'] Example: andHow to obtain or enter: Choose and if all availability conditions must be met; choose or if any one must be met. |
|
| task.success_when | array | For HTTP, if post_script is non-empty, this may be omitted; TCP/ICMP/WebSocket/SSL require this key; DNS must have 1..20 valid leaves; NetPath must have a single outer object. Structures for different protocols cannot be mixed. Saving does not require real-time execution success. Allowed null: False Example: [{"status_code": [{"is": "200"}]}]How to obtain or enter: Construct according to the metric/assertion structure for the corresponding protocol on this page, and confirm the real target response first. |
|
| task.enable_traceroute | boolean | Optional; if omitted, Studio does not add a unified default; NetPath uses its own path protocol and does not mix this field. Allowed null: False Example: falseHow to obtain or enter: Enable when TCP/ICMP requires path diagnosis. |
|
| task.packet_count | integer | ICMP optional; number of packets sent per round; actual node constraints are confirmed by the executor; not used for mobile pingCount. Allowed null: False Example: 3How to obtain or enter: Determine a positive integer according to the ICMP sampling count. |
|
| task.domain | string | Required for business; domain to query; validated variable templates can be used. Allowed null: False Example: example.comHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.dns_server | string | Required for non-DoH; server domain/IP, without port; DoH can be inferred from the URL. Allowed null: False Allows empty string: True Example: resolver.example.netHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.server_ip | string | Optional fixed connection IP; retains the logical server identity; if omitted, resolved by the executor. Allowed null: False Allows empty string: True Example: 203.0.113.53How to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.record_types | array | Optional A/AAAA/CNAME/MX/NS/TXT; can be inferred from assertions; executor default is A. Allowed null: False Example: ["A"]How to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.certificate | json | DNS optional TLS certificate object; do not put it in HTTP advance_options. Allowed null: False Example: {}How to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.doh | json | DNS DoH protocol configuration. Allowed null: False Example: {}How to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.dns_options | json | Optional DNS query flags/EDNS parameters. Allowed null: False Example: {}How to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.protocol | string | For DNS, choose auto/udp/tcp/dot/doh/doq (omit for auto); for NetPath, choose tcp/udp/icmp (required); for mobile, choose http/dns/tcp/ping (required). Allowed null: False Example: dotHow to obtain or enter: DNS values come from the business domain, DNS server, and executor configuration; for other protocols, choose according to the current type. |
|
| task.host | string | Required for the corresponding protocol business. NetPath must be non-empty after trim; no HTTP URL scheme is needed. For mobile TCP, fill address=host:port instead. Allowed null: False Example: example.comHow to obtain or enter: Take the reachable domain or IP of the TCP/ICMP/SSL/NetPath target. |
|
| task.port | string | Required for TCP/SSL business; NetPath TCP/UDP 1..65535 and pure digits (leading 0 allowed); ICMP ignores it. DNS is a separate protocol port; the default 53 or encrypted protocol 853 is determined by the executor. Allowed null: False Example: 443How to obtain or enter: Use the actual listening port of the target service and submit a numeric string. |
|
| task.server_name | string | SSL/DNS optional; when using server_ip to fix the connection IP, retain the original service identity; do not directly fill the IP in place of SNI. Allowed null: False Example: example.comHow to obtain or enter: The logical domain corresponding to the TLS service SNI/certificate. |
|
| task.timeout | string | TCP is an integer-second string from 1s..60s; DNS defaults to 10s, executor range (0,60s], and variable templates can be used; ICMP/SSL follow executor support, and Studio does not add a unified default. NetPath uses advance_options.timeout. Allowed null: False Example: 10sHow to obtain or enter: Fill in the duration according to the allowed connection/query time. |
|
| task.ignore_server_certificate_error | boolean | SSL optional; if omitted, follows the executor's secure default; the DNS certificate ignore switch is inside certificate. Allowed null: False Example: falseHow to obtain or enter: Explicitly select when SSL really needs to ignore server certificate errors. |
|
| task.message | string | Required for WebSocket business; UTF-8 must not exceed 128KiB; not used for mobile TCP tcpData. Allowed null: False Example: pingHow to obtain or enter: The message text sent after the WebSocket connection is established. |
|
| task.post_mode | string | Optional; executor selection method; whether Studio HTTP needs success_when is actually determined by whether post_script is non-empty, not just this field. Allowed null: False Example: defaultHow to obtain or enter: Use default for availability judgment and script for script judgment. |
|
| task.config_vars | array | Optional, default []; NetPath only allows [], mobile does not support it; modification rebinds the input set. All ids referenced by DNS must belong to valid variables in the current workspace; they are not silently filtered. Allowed null: False Example: []How to obtain or enter: Obtain from workspace synthetic test variables, or define current task local variables. |
|
| task.post_script | string | Optional; an empty string means no script is provided. For HTTP, when non-empty, success_when may be omitted; DNS/NetPath/mobile do not bypass their dedicated allowlists and validation because of a script. Allowed null: False Allows empty string: True Example: How to obtain or enter: Obtain from a validated synthetic test Pipeline judgment script. |
|
| task.address | string | mobile required; after trim non-empty and ≤2048 characters; variables are not allowed. For HTTP, user passwords and whitespace/control characters are prohibited; valid ports/paths/Query are allowed; TCP must have a valid port; ping cannot include a port. Example: https://example.com/healthHow to obtain or enter: Mobile task target: complete HTTPS for HTTP, host:port for TCP, domain for DNS, domain/IP for ping. |
|
| task.nodeSelection | json | mobile required; must have exactly three keys: mode/ids/sampleCount; saves a snapshot and does not dynamically follow the template. nodes only validates the ID structure and retains the original ID/order, and does not guarantee real-time existence or mapping; groups queries the current group and members and verifies the node set. Example: {"mode": "nodes", "ids": ["NODE-ID"], "sampleCount": 1}How to obtain or enter: For nodes, obtain the node ID from mobile resources; for groups, currently obtain the ID from an existing same-workspace template or an administrator-confirmed group record (the resource entry currently does not fetch groups); you can also reuse a node selection template snapshot. |
|
| task.protocolOptions | json | Optional, default {}, fully replaced. If HTTP has legacy check fields, modification must explicitly provide the object; only omitting a check field in the object clears it; empty string/null/empty array are not clear instructions. HTTP defaults httpMethod=GET, ping defaults pingType=1; other values are not defaulted by Studio. Example: {}How to obtain or enter: Select the corresponding parameters according to mobile task.protocol; do not fill this object for other protocols. |
|
| tags | array | Optional, default []. Omitting or [] on modification clears tag relationships; mobile tasks also synchronize outbound tags and do not accept client dfLabel/extendConfig. Allowed null: False Example: ["production"]How to obtain or enter: Obtain a name applicable to the dialing/all scope from the tag list, not a UUID. |
Additional Parameter Notes¶
For parameters, sources, responses, and boundaries of each protocol, refer to the detailed tables on this page; for executor conditions, see Custom Synthetic Test.
Request Example¶
curl --request POST 'https://openapi.guance.com/api/v1/dialing_task/add' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{"regions":["reg_example"],"task":{"name":"Site Availability","frequency":"5m","method":"GET","url":"https://example.com/health","success_when":[{"status_code":[{"is":"200"}]}]},"tags":[],"type":"http"}'
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content.id | integer or null | Record number; may be null in a response constructed before a regular creation is committed. |
| content.uuid | string | dial_ task UUID; used by subsequent get/modify/start-stop. |
| content.workspaceUUID | string | UUID of the workspace it belongs to. |
| content.type | string | Saved task category; for mobile, see task.protocol for the specific protocol; multistep is multi. |
| content.status | integer | Entity status, usually 0, deleted 3; different from the task.status runtime switch. |
| content.isLocked | integer or boolean | Local/workspace lock flag; does not represent the remote actual test status. |
| content.regions | array<string> | Array of current node UUIDs for regular tasks; [] for mobile. |
| content.regions[] | string | Node UUID. |
| content.regionsInfo | array or object | Legacy node display may be a UUID array, object array, or UUID-keyed mapping; creation/modification is usually an input UUID array. |
| content.regionsInfo[] | string or object | Node UUID or saved node profile. |
| content.regionsInfo[].uuid | string | Node UUID returned conditionally. |
| content.regionsInfo[].name | string | Display name of the node in the current language. |
| content.regionsInfo[].nameEn | string | English/compatible name. |
| content.regionsInfo[].nameI18n | object | Mapping from language to name. |
| content.regionsInfo[].nameI18n.语言码 | string | Single display name. |
| content.regionsInfo.节点UUID | string or object | Node profile in legacy UUID-keyed mapping; same semantics as array node profile. |
| content.task | object | Complete saved task configuration; does not include real-time synthetic test results. |
| content.task.status | string | ok enabled/stop stopped; local configuration value does not guarantee complete remote synchronization. |
| content.task.external_id | string | Some regular write responses may contain a server task identifier; list/get remove this internal key; not a writable field. |
| content.task.owner_external_id | string | Some regular write responses may contain a server workspace identifier; list/get remove it; do not submit it. |
| content.task.post_url | string | Some legacy regular write responses may contain a server reporting address; list/get remove it; keep sensitive responses secure and never write them back/expose them. |
| content.task.其他历史字段 | JSON | Compatibility saved fields are interpreted by type and are not part of the public write allowlist on this page. |
| content.remoteStatus | string | mobile is fixed to unknown, local read only, does not query the platform in real time. |
| content.creator | string | Creation identity. |
| content.updator | string | Update identity. |
| content.createAt | integer | Creation Unix seconds. |
| content.updateAt | integer | Update Unix seconds. |
| content.deleteAt | integer | Deletion Unix seconds; -1 if not deleted. |
| content.task.name | string | Required; 1..256 Python characters after trim; the trimmed result is saved; all synthetic test types share non-deleted name uniqueness. Modification requires the complete name. |
| content.task.frequency | string | Required, no default; Free/Experience workspaces only 30m/1h/6h/12h/24h. Do not apply arbitrary second-level frequencies from manual DataKit JSON. |
| content.task.schedule_type | string | Optional; if omitted, follows the executor's regular frequency. mobile only supports frequency, not crontab. |
| content.task.crontab | string | When schedule_type=crontab, must be non-empty and pass Cron parsing; frequency is still declared required publicly; mobile does not accept this field. Time zone/execution cadence must be verified against the node's actual environment and cannot be treated as a Unix timestamp. |
| content.task.url | string | Fill in according to the HTTP/WebSocket protocol; optional at the public layer but required for task execution. Not used for mobile; mobile uses address. Browser also has current entry point restrictions. |
| content.task.method | string | Required for HTTP business; missing returns MissingMethod; omit for other protocols; not guaranteed that any method is supported by the executor. |
| content.task.success_when_logic | string | Optional and/or; the executor usually defaults to and; NetPath must be filled explicitly; this does not control alert notification policies. |
| content.task.success_when | array | For HTTP, if post_script is non-empty, this may be omitted; TCP/ICMP/WebSocket/SSL require this key; DNS must have 1..20 valid leaves; NetPath must have a single outer object. Structures for different protocols cannot be mixed. Saving does not require real-time execution success. |
| content.task.success_when[] | json | A single condition object; outer condition logic is controlled by success_when_logic. The semantics of internal conditions are validated by the corresponding executor. |
| content.task.enable_traceroute | boolean | Optional; if omitted, Studio does not add a unified default; NetPath uses its own path protocol and does not mix this field. |
| content.task.packet_count | integer | ICMP optional; number of packets sent per round; actual node constraints are confirmed by the executor; not used for mobile pingCount. |
| content.task.host | string | Required for the corresponding protocol business. NetPath must be non-empty after trim; no HTTP URL scheme is needed. For mobile TCP, fill address=host:port instead. |
| content.task.port | string | Required for TCP/SSL business; NetPath TCP/UDP 1..65535 and pure digits (leading 0 allowed); ICMP ignores it. DNS is a separate protocol port; the default 53 or encrypted protocol 853 is determined by the executor. |
| content.task.server_name | string | SSL/DNS optional; when using server_ip to fix the connection IP, retain the original service identity; do not directly fill the IP in place of SNI. |
| content.task.timeout | string | TCP is an integer-second string from 1s..60s; DNS defaults to 10s, executor range (0,60s], and variable templates can be used; ICMP/SSL follow executor support, and Studio does not add a unified default. NetPath uses advance_options.timeout. |
| content.task.ignore_server_certificate_error | boolean | SSL optional; if omitted, follows the executor's secure default; the DNS certificate ignore switch is inside certificate. |
| content.task.message | string | Required for WebSocket business; UTF-8 must not exceed 128KiB; not used for mobile TCP tcpData. |
| content.task.post_mode | string | Optional; executor selection method; whether Studio HTTP needs success_when is actually determined by whether post_script is non-empty, not just this field. |
| content.task.post_script | string | Optional; an empty string means no script is provided. For HTTP, when non-empty, success_when may be omitted; DNS/NetPath/mobile do not bypass their dedicated allowlists and validation because of a script. |
| content.task.advance_options | json | Optional object; NetPath requires it and strictly allows only the six fields on this page. HTTP requests, certificates/proxies, etc. must follow actual executor support; do not equate protocol validation with online testing. |
| content.task.advance_options_headless | json | Publicly declared and retained, but cannot replace the required browser_config. Currently, public browser creation/modification cannot pass complete configuration; do not treat this object as a browser script entry point. |
| content.task.advance_options.request_options | json | Applies to HTTP/WebSocket; optional; HTTP/WebSocket request options. |
| content.task.advance_options.request_options.follow_redirect | boolean | Applies to HTTP/WebSocket; optional; whether to follow redirects; if omitted, the executor default applies. |
| content.task.advance_options.request_options.headers | json | Applies to HTTP/WebSocket; optional; mapping from request header names to string values; do not put real credentials in the example. |
| content.task.advance_options.request_options.headers.请求头名 | string | Applies to HTTP/WebSocket; optional; dynamic request header value; use the header name required by the real API. |
| content.task.advance_options.request_options.cookies | string | Applies to HTTP/WebSocket; optional; Cookie text; optional. |
| content.task.advance_options.request_options.auth | json | Applies to HTTP/WebSocket; optional; HTTP Basic username and password configuration; optional. |
| content.task.advance_options.request_options.auth.username | string | Applies to HTTP/WebSocket; optional; Basic username, provided by the target API administrator. |
| content.task.advance_options.request_options.auth.password | string | Applies to HTTP/WebSocket; optional; Basic password; inject it from a secure credential source. |
| content.task.advance_options.request_body | json | Applies to HTTP/WebSocket; optional; request Body format and content. |
| content.task.advance_options.request_body.body_type | string | Applies to HTTP/WebSocket; optional; request Content-Type, for example application/json/text/plain/text/xml/multipart/form-data. |
| content.task.advance_options.request_body.body | string | Applies to HTTP/WebSocket; optional; request body string; when modifying, you must retain the necessary business content. |
| content.task.advance_options.request_body.form | json | Applies to HTTP/WebSocket; optional; mapping from multipart form fields to strings; optional. |
| content.task.advance_options.request_body.form.字段名 | string | Applies to HTTP/WebSocket; optional; single form value. |
| content.task.advance_options.request_timeout | string | Applies to HTTP/WebSocket; optional; total HTTP timeout duration; executor default is 60s; Studio does not replace validation by the actual executor. |
| content.task.advance_options.protocol | string | Applies to HTTP/WebSocket; optional; HTTP protocol auto/http/1.1/http/2/http/2-only/http/3; support depends on the node version; do not configure a proxy at the same time as HTTP3. |
| content.task.advance_options.certificate | json | Applies to HTTP/WebSocket; optional; request TLS certificate configuration. |
| content.task.advance_options.certificate.ignore_server_certificate_error | boolean | Applies to HTTP/WebSocket; optional; whether to ignore certificate validation errors. |
| content.task.advance_options.certificate.certificate | string | Applies to HTTP/WebSocket; optional; PEM client certificate, provided by the target service. |
| content.task.advance_options.certificate.private_key | string | Applies to HTTP/WebSocket; optional; PEM private key corresponding to the certificate; use a secure source. |
| content.task.advance_options.certificate.ca | string | Applies to HTTP/WebSocket; optional; CA content; some HTTP executors retain it but do not use it. For DNS, certificate.ca is interpreted directly according to its protocol. |
| content.task.advance_options.proxy | json | Applies to HTTP/WebSocket; optional; HTTP proxy object; do not assume the node can access any proxy. |
| content.task.advance_options.proxy.url | string | Applies to HTTP/WebSocket; optional; proxy URL. |
| content.task.advance_options.proxy.headers | json | Applies to HTTP/WebSocket; optional; proxy-specific string header mapping. |
| content.task.advance_options.proxy.headers.请求头名 | string | Applies to HTTP/WebSocket; optional; single proxy request header value. |
| content.task.advance_options.secret | json | Applies to HTTP/WebSocket; optional; legacy HTTP request data saving option; subject to executor support. |
| content.task.advance_options.secret.not_save | boolean | Applies to HTTP/WebSocket; optional; whether not to save request content; this does not replace masking returned documents/logs. |
| content.task.success_when[].body | array | Optional assertion set; key names depend on the actual response; use only comparisons supported by the executor. |
| content.task.success_when[].body[].contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].body[].not_contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].body[].is | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].body[].is_not | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].body[].match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].body[].not_match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].header.响应头名 | array | Optional assertion set; key names depend on the actual response; use only comparisons supported by the executor. |
| content.task.success_when[].header.响应头名[].contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].header.响应头名[].not_contains | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].header.响应头名[].is | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].header.响应头名[].is_not | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].header.响应头名[].match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].header.响应头名[].not_match_regex | string | Single text comparison; choose based on the required operation; regex semantics are validated by the executor. A successful save does not prove a match. |
| content.task.success_when[].header | json | Optional mapping from header names to condition sets. |
| content.task.success_when[].status_code | array | HTTP optional status assertion set; compares strings according to the executor protocol. |
| content.task.success_when[].status_code[].is | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. |
| content.task.success_when[].status_code[].is_not | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. |
| content.task.success_when[].status_code[].match_regex | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. |
| content.task.success_when[].status_code[].not_match_regex | string | Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array. |
| content.task.success_when[].response_time | string or array | HTTP/WebSocket/DNS use a duration threshold string; legacy TCP/ICMP may use a condition array. Response time units are defined by the corresponding leaf field and cannot be uniformly interpreted as a bare millisecond number. |
| content.task.success_when[].response_time[].is_contain_dns | boolean | Only used in array form; whether TCP/ICMP includes DNS time in the comparison. |
| content.task.success_when[].response_time[].target | string | Only used in array form; duration value for time comparison. |
| content.task.success_when[].connection | array | TCP optional, but when present must be a non-empty array; only eq established/refused/timeout. |
| content.task.success_when[].connection[].op | string | Required; only eq; is/ne are not accepted. |
| content.task.success_when[].connection[].target | string | Required; established/refused/timeout connection result. |
| content.task.domain | string | Required for business; domain to query; validated variable templates can be used. |
| content.task.dns_server | string | Required for non-DoH; server domain/IP, without port; DoH can be inferred from the URL. |
| content.task.server_ip | string | Optional fixed connection IP; retains the logical server identity; if omitted, resolved by the executor. |
| content.task.record_types | array | Optional A/AAAA/CNAME/MX/NS/TXT; can be inferred from assertions; executor default is A. |
| content.task.record_types[] | string | Single record type or valid variable template. |
| content.task.protocol | string | For DNS, choose auto/udp/tcp/dot/doh/doq (omit for auto); for NetPath, choose tcp/udp/icmp (required); for mobile, choose http/dns/tcp/ping (required). |
| content.task.certificate | json | DNS optional TLS certificate object; do not put it in HTTP advance_options. |
| content.task.doh | json | DNS DoH protocol configuration. |
| content.task.doh.url | string | Required URL for DoH. |
| content.task.doh.method | string | Optional GET/POST; if omitted, handled by the executor. |
| content.task.doh.http_protocol | string | Optional auto/http/1.1/http/2-only/http/3. |
| content.task.doh.headers | json | Optional HTTP request header string mapping. |
| content.task.doh.headers.请求头名 | string | Single string request header. |
| content.task.dns_options | json | Optional DNS query flags/EDNS parameters. |
| content.task.dns_options.recursion_desired | boolean | Optional RD recursion desired flag; if omitted, executor default. |
| content.task.dns_options.dnssec_ok | boolean | Optional DO DNSSEC flag. |
| content.task.dns_options.checking_disabled | boolean | Optional CD checking disabled flag. |
| content.task.dns_options.udp_payload_size | integer | Optional EDNS UDP payload size, in bytes; semantic range is validated by the executor. |
| content.task.certificate.ca | string | DNS optional; PEM CA. |
| content.task.certificate.certificate | string | DNS optional; PEM client certificate. |
| content.task.certificate.private_key | string | DNS optional; PEM private key; inject securely. |
| content.task.certificate.ignore_server_certificate_error | boolean | DNS optional; whether to ignore certificate validation. |
| content.task.success_when[].authenticated_data | boolean | DNS optional leaf; together with other leaves, the total must not exceed 20. |
| content.task.success_when[].at_least_one_record | json | Optional, but when present must be a non-empty object, grouped by record type. |
| content.task.success_when[].at_least_one_record.of_type_a | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_a[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_cname[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_mx[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_ns[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_txt[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record | json | Optional, but when present must be a non-empty object, grouped by record type. |
| content.task.success_when[].every_record.of_type_a | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].every_record.of_type_a[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].every_record.of_type_aaaa[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].every_record.of_type_cname[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].every_record.of_type_mx[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].every_record.of_type_ns[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt | array | Must be a non-empty condition array when present; each item can contain only one comparison key. |
| content.task.success_when[].every_record.of_type_txt[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.advance_options.timeout | string | NetPath only; required; integer seconds from 1s..30s. |
| content.task.advance_options.max_ttl | integer | NetPath only; required TTL upper limit, TCP/ICMP 1..60, UDP 1..255. |
| content.task.advance_options.e2e_queries | integer | NetPath only; required number of end-to-end probes 1..100. |
| content.task.advance_options.traceroute_queries | integer | NetPath only; required number of path probes 1..10. |
| content.task.advance_options.source_name | string | NetPath only; optional source display name, ≤128 characters after trim, deleted if empty. |
| content.task.advance_options.target_name | string | NetPath only; optional target display name, ≤128 characters after trim, deleted if empty. |
| content.task.success_when[].e2e_rtt_avg | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_avg[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].e2e_rtt_avg[].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. |
| content.task.success_when[].e2e_rtt_min | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_min[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].e2e_rtt_min[].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. |
| content.task.success_when[].e2e_rtt_max | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_max[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].e2e_rtt_max[].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. |
| content.task.success_when[].e2e_rtt_variation_avg | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_variation_avg[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].e2e_rtt_variation_avg[].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. |
| content.task.success_when[].e2e_rtt_variation_max | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_variation_max[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].e2e_rtt_variation_max[].target | string | Non-negative millisecond string, such as 0.5ms; seconds or bare numbers cannot be used. |
| content.task.success_when[].e2e_probe_loss_percent | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_probe_loss_percent[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].e2e_probe_loss_percent[].target | number | Packet loss percentage 0..100, JSON number. |
| content.task.success_when[].hop_count | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].hop_count[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].hop_count[].target | integer | Hop count, non-negative JSON integer. |
| content.task.success_when[].e2e_status | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_status[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].e2e_status[].target | string | Status reached/partial/failed; e2e_status additionally allows unknown. |
| content.task.success_when[].traceroute_status | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].traceroute_status[].op | string | Status can only use eq; numeric/duration values allow lt/gt/leq/geq/eq. |
| content.task.success_when[].traceroute_status[].target | string | Status reached/partial/failed; e2e_status additionally allows unknown. |
| content.task.config_vars | array | Optional, default []; NetPath only allows [], mobile does not support it; modification rebinds the input set. All ids referenced by DNS must belong to valid variables in the current workspace; they are not silently filtered. |
| content.task.config_vars[].id | string | DNS validates types according to these fields; global variable UUID, required when type=global. |
| content.task.config_vars[].type | string | DNS validates types according to these fields; global global or current task local type; browser ciphertext types secret/password/secure have separate retention rules. |
| content.task.config_vars[].name | string | DNS validates types according to these fields; template-referenced variable name. |
| content.task.config_vars[].value | string | DNS validates types according to these fields; local variable value; inject from a secure source; omit fields that do not apply. |
| content.task.config_vars[].example | string | DNS validates types according to these fields; preview/example value; not a replacement for the actual target source. |
| content.task.config_vars[].secure | boolean | DNS validates types according to these fields; whether it is a secure variable; type is boolean. |
| content.task.address | string | mobile required; after trim non-empty and ≤2048 characters; variables are not allowed. For HTTP, user passwords and whitespace/control characters are prohibited; valid ports/paths/Query are allowed; TCP must have a valid port; ping cannot include a port. |
| content.task.nodeSelection | json | mobile required; must have exactly three keys: mode/ids/sampleCount; saves a snapshot and does not dynamically follow the template. nodes only validates the ID structure and retains the original ID/order, and does not guarantee real-time existence or mapping; groups queries the current group and members and verifies the node set. |
| content.task.nodeSelection.mode | string | mobile required; nodes specifies nodes, groups specifies node groups. |
| content.task.nodeSelection.ids | array | mobile required; non-empty, unique string array; use the corresponding resource id, not a region UUID. |
| content.task.nodeSelection.ids[] | string | mobile required; single current node or group id; nodes allows only letters, digits, underscores, and hyphens. |
| content.task.nodeSelection.sampleCount | integer | mobile required; number of independent samples per node 1..100, not limited by the number of selected nodes/group members. |
| content.task.protocolOptions | json | Optional, default {}, fully replaced. If HTTP has legacy check fields, modification must explicitly provide the object; only omitting a check field in the object clears it; empty string/null/empty array are not clear instructions. HTTP defaults httpMethod=GET, ping defaults pingType=1; other values are not defaulted by Studio. |
| content.task.protocolOptions.httpMethod | string | http only; optional; if omitted, platform default applies; GET/POST. |
| content.task.protocolOptions.body | string | http only; optional; if omitted, platform default applies; request body string. |
| content.task.protocolOptions.httpHost | json | http only; optional; if omitted, platform default applies; string mapping, configured according to the target Host. |
| content.task.protocolOptions.httpHost.键名 | string | Dynamic string member; variable templates are not allowed (except expectedResponseBody). |
| content.task.protocolOptions.httpParams | json | http only; optional; if omitted, platform default applies; Query parameter string mapping. |
| content.task.protocolOptions.httpParams.键名 | string | Dynamic string member; variable templates are not allowed (except expectedResponseBody). |
| content.task.protocolOptions.httpHeader | json | http only; optional; if omitted, platform default applies; request header string mapping. |
| content.task.protocolOptions.httpHeader.键名 | string | Dynamic string member; variable templates are not allowed (except expectedResponseBody). |
| content.task.protocolOptions.expectedResponseBody | string | http only; optional; if omitted, platform default applies; non-empty raw text inclusion match; no trim and template markers inside are not interpreted. |
| content.task.protocolOptions.expectedResponseCode | array | http only; optional; if omitted, platform default applies; non-empty JSON integer array, allowed code set, do not mix with text regex; the actual contract of the execution platform determines how multiple checks are combined. |
| content.task.protocolOptions.expectedResponseCode[] | integer | http only; optional; if omitted, platform default applies; single JSON integer code; strings/booleans are not allowed. |
| content.task.protocolOptions.dnsHost | string | dns only; optional; if omitted, platform default applies; DNS server/host string. |
| content.task.protocolOptions.dnsIpVerify | string | dns only; optional; if omitted, platform default applies; expected DNS resolved IP string. |
| content.task.protocolOptions.tcpHost | string | tcp only; optional; if omitted, platform default applies; TCP target Host configuration. |
| content.task.protocolOptions.tcpTimeoutMs | integer | tcp only; optional; if omitted, platform default applies; timeout 1..10000 milliseconds. |
| content.task.protocolOptions.tcpData | string | tcp only; optional; if omitted, platform default applies; sent data text. |
| content.task.protocolOptions.tcpVerify | string | tcp only; optional; if omitted, platform default applies; expected response text. |
| content.task.protocolOptions.pingType | integer | ping only; optional; if omitted, platform default applies; 1/2, default 1. |
| content.task.protocolOptions.pingCount | integer | ping only; optional; if omitted, platform default applies; number of packets sent 1..10. |
| content.task.protocolOptions.pingTimeoutMs | integer | ping only; optional; if omitted, platform default applies; timeout 1..10000 milliseconds. |
| content.task.protocolOptions.taskTimeoutMs | integer | http/dns/tcp/ping only; optional; if omitted, platform default applies; task timeout 1..10000 milliseconds. |
| content.task.protocolOptions.flowLimit | integer | http/dns/tcp/ping only; optional; if omitted, platform default applies; platform flow limit integer 1..10; Studio does not define additional unit conversion. |
| content.tagInfo | array<object> | Effective tag summary, empty []; regular modification may omit it, mobile modification returns it. On read, id is a database number; on write, the generated summary id can be a tag UUID string. |
| content.tagInfo[].id | integer or string | Read is the database number; write is the tag UUID. |
| content.tagInfo[].uuid | string | Tag UUID read; may be omitted in the write branch. |
| content.tagInfo[].name | string | Tag name. |
| content.tagInfo[].description | string | Read tag description. |
| content.tagInfo[].colour | string | Read tag color. |
| content.tagInfo[].scope | array<string> | Write summary may include a normalized scope. |
| content.tagInfo[].scope[] | string | Single scope. |
| content.declaration | object or null | Workspace public declaration attached to non-empty response business objects; can be null or an empty object when not configured; empty objects are not added. |
{
"code": 200,
"content": {
"id": null,
"uuid": "dial_example",
"workspaceUUID": "wksp_example",
"type": "http",
"status": 0,
"isLocked": false,
"regions": [
"reg_example"
],
"regionsInfo": [
"reg_example"
],
"task": {
"name": "Site Availability",
"frequency": "5m",
"method": "GET",
"url": "https://example.com/health",
"success_when": [
{
"status_code": [
{
"is": "200"
}
]
}
],
"status": "ok"
},
"creator": "wsak_example",
"updator": "wsak_example",
"createAt": 1785427200,
"updateAt": 1785427200,
"deleteAt": -1,
"tagInfo": [],
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
DNS request example (when modifying, delete type and use the path of an existing dns task):
curl --request POST '<Endpoint>/api/v1/dialing_task/add' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{"type":"dns","regions":["reg_example"],"task":{"name":"DNS Check","frequency":"5m","domain":"example.com","dns_server":"resolver.example.net","protocol":"dot","port":"853","timeout":"10s","success_when_logic":"and","success_when":[{"at_least_one_record":{"of_type_a":[{"is":"203.0.113.10"}]}}]},"tags":[]}'
NetPath request example (modification must correspond to an existing netpath task):
curl --request POST '<Endpoint>/api/v1/dialing_task/add' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{"type":"netpath","regions":["reg_example"],"task":{"name":"Path Check","frequency":"5m","protocol":"tcp","host":"example.com","port":"443","advance_options":{"timeout":"10s","max_ttl":30,"e2e_queries":10,"traceroute_queries":3},"success_when_logic":"and","success_when":[{"e2e_rtt_avg":[{"op":"lt","target":"100ms"}]}]},"tags":[]}'
Mobile request example: first replace NODE-ID from mobile resources and confirm the terms; modification is only for an existing mobile task with the same protocol.
curl --request POST '<Endpoint>/api/v1/dialing_task/add' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{"type":"mobile","regions":[],"task":{"name":"Mobile HTTPS Check","frequency":"5m","protocol":"http","address":"https://example.com/health","nodeSelection":{"mode":"nodes","ids":["NODE-ID"],"sampleCount":1},"protocolOptions":{"httpMethod":"GET","taskTimeoutMs":10000,"expectedResponseCode":[200]}},"tags":[]}'
Successful configuration response for a regular task (task structures for different protocols follow the table above):
{
"code": 200,
"content": {
"id": null,
"uuid": "dial_example",
"workspaceUUID": "wksp_example",
"type": "http",
"status": 0,
"isLocked": false,
"regions": [
"reg_example"
],
"regionsInfo": [
"reg_example"
],
"task": {
"name": "Site Availability",
"frequency": "5m",
"method": "GET",
"url": "https://example.com/health",
"success_when": [
{
"status_code": [
{
"is": "200"
}
]
}
],
"status": "ok"
},
"creator": "wsak_example",
"updator": "wsak_example",
"createAt": 1785427200,
"updateAt": 1785427200,
"deleteAt": -1,
"tagInfo": [],
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Error Responses¶
For authentication, rate limiting, and common request errors, see Common Error Definitions.
The regular Synthetic Test SDK preserves the actual HTTP and error_code/message on downstream 4xx; downstream codes not in the fixed error table may also be returned. The node error code dialtesting.invalidRegion maps to ft.DialingRegionError and preserves the actual HTTP. Regular downstream >=500 is uniformly converted to 500 ft.InternalServerError; do not infer the public status from the SDK internal 503 name. Mobile error content may include reason/outcomeUnknown/taskUUID/localSaved/localStatus/remoteStatus; unknown does not mean the remote side did not execute; verify before retrying.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Handling |
|---|---|---|---|---|
| 406 | ft.ParameterValidationFailed | Request field missing, or field value violates declared validation conditions | Parameter parsing failed | Check parameter location, field name, type, and value. |
| 400 | ft.RequestJsonFormatError | Request JSON syntax invalid | Request JSON format error | Fix JSON according to content.reason, line, column. |
| 400 | ft.JsonFormatError | Body top level is not a JSON object | Some json file format errors | Submit a complete JSON object containing fields such as regions/task. |
| 400 | ft.InvalidDialingRegion | Regular task regions is empty | Invalid synthetic test region | Select at least one real node UUID from the available node list; mobile tasks are the exception and must use []. |
| 400 | ft.ParamsValidateError | Name, DNS/NetPath/TCP conditions, mobile protocol/node selection/numeric range, or protected fields do not match | Parameter validation failed: {} | Fix according to message/optional content.field, and note the allowlists and units for different protocols. |
| 406 | ft.MissingSuccessWhen | Corresponding protocol lacks success_when and no supported script substitute | Missing available condition success_when |
Submit complete availability conditions according to the protocol. |
| 406 | ft.MissingMethod | HTTP did not provide a non-empty method | Request method method not specified |
Fill in the HTTP method according to the real target API. |
| 400 | ft.MissingCustomParameters | SSL lacks host/port, NetPath required fields are missing, or Cron mode lacks crontab | {} field missing | Complete the required fields for the corresponding protocol; do not mix mobile and regular configurations. |
| 406 | ft.InvalidCrontabFormat | Custom Cron cannot be parsed | Invalid crontab format | Fix the complete expression. |
| 406 | ft.ExceedMaxCharacterLimit | WebSocket message exceeds 128KiB UTF-8 | {} exceeds the maximum character length limit | Shorten the message; do not use character count instead of byte count. |
| 400 | ft.TaskNameRepeat | A non-deleted task with the same name already exists in this workspace (across all synthetic test types) | A task with the same name {} already exists in the current workspace |
Modify the existing UUID or change the name; names are compared after trim. |
| 403 | ft.InvalidTimeFrequency | Free/Experience workspace uses an unsupported frequency | Invalid time frequency | Change to 30m/1h/6h/12h/24h or confirm version support. |
| 404 | ft.ObjectNotExists | DNS variable ids do not all match valid variables in this workspace | Specified object does not exist | Obtain the workspace variables again; you cannot reference variables from other workspaces/deleted variables. |
| 400 | ft.TagScopeMismatch | Tag cannot be used in the dialing scope | Tag scope mismatch | Use all/dialing tags or update the scope after confirmation. |
| 406 | ft.NotFoundWorkspace | Workspace record does not exist when adding a write lock | Specified workspace not found | Check the workspace status and stop writing to a released workspace. |
| 400 | ft.InvalidAction | Mobile synthetic test is not enabled or the operation status is not allowed | Invalid operation | Check content.reason and have the administrator confirm service availability and task recovery status. |
| 403 | ft.MobileDialTermsNotAccepted | Workspace has not accepted the terms before mobile task creation/recovery | Please have the Workspace Owner or administrator confirm the mobile synthetic test terms first. | The logged-in Workspace Owner/administrator must read and accept in the product; an API Key cannot replace acceptance. |
| 409 | ft.MobileDialingOperationBusy | Mobile task timed out waiting for the workspace concurrency operation lock; this attempt was not executed | Another operation is in progress in the current workspace. This operation was not executed. Try again later. | When content.operationExecuted=false/retryable=true, retry later with backoff; do not overwrite concurrently. |
| 401 | ft.WKSPNotExistOrReleased | Workspace is no longer available after the mobile operation wait | Workspace does not exist/or has been released | Stop retrying and confirm the workspace is still valid. |
| 403 | ft.WorkspaceIsLocked | Workspace is locked after the mobile operation wait | The workspace is locked and cannot be operated on | First confirm the workspace is unlocked and operable. |
| 400 | ft.DialingServerError | Mobile platform/binding/node selection/response mismatch or call failure, or regular downstream returns the corresponding 400 | Synthetic test service API call failed | Check local and remote status according to content.reason/outcomeUnknown/taskUUID/localSaved; do not blindly recreate when the result is unknown. |
| 400 | ft.DialingRegionError | Regular downstream 400 determines dialtesting.invalidRegion | Some synthetic test nodes for the current task are invalid. Update the configuration and save again. | Replace invalid nodes and save again; handle other HTTP errors according to the error scope below. |
| 500 | ft.InternalServerError | Uncaught storage/type error, regular synthetic test downstream 5xx, connection timeout, or post-submit processing failure | Internal error | First read back by task UUID/name and check the delivery status, then decide whether to retry; retain traceId. |
| 406 | ft.DialingBrandNoSetError | The workspace brand synthetic test service required for regular task delivery is not configured | The synthetic test configuration for brand {} is not configured. |
Have the administrator check the synthetic test service configuration for the current workspace. |
| 400 | ft.DialingAKNoSetError | Signing credential for regular task delivery is not configured | Synthetic test AK information is not configured. Check the Launcher activation configuration. | Have the administrator check the synthetic test service activation and credential configuration; the client does not provide these credentials in this Body. |
| 406 | ft.InvalidDialingTask | browser lacks the required script or compensation after a failed regular creation returns invalidTask | Invalid task parameter | browser is subject to the current public allowlist; for other cases, first check whether the task and delivery already exist. |