Skip to content

Modify Synthetic Test



POST /api/v1/dialing_task/{task_uuid}/modify

Overview

Update the configuration, execution nodes and tags of an existing Synthetic Test as a whole.

Before Calling and Usage Steps

First call get to back up the complete task and tags, confirm the original type, and then modify the task as a whole; you cannot change the regular protocol type through this endpoint. Omitting task subfields does not preserve them, omitting tags clears them, and regions is replaced as a whole while removed nodes are stopped. The mobile protocol cannot be changed; when HTTP check rules already exist, the complete protocolOptions must be provided explicitly ({} is allowed, and clearing is done by omitting fields within the object); empty strings/null/[] are not treated as clearing.

The current public task subfield whitelist does not declare browser_config/browser_window/retry_options, while the browser controller requires browser_config: therefore this endpoint cannot currently complete valid browser creation/modification. Passing the required script returns 406 first; not passing it returns InvalidDialingTask; you cannot treat manual Front or DataKit configuration as parameters available in the current OpenAPI. Multistep uses the dedicated multi_task API. For regular HTTP/TCP/ICMP/WebSocket/SSL conditions and advanced option semantics, see the retained Custom Synthetic Test.

DNS checks the structure, types, enumerations and number of assertion leaves but does not execute real queries; variable templates/Go regular expressions/certificates and protocol semantics are validated by the executor. NetPath has a strict field whitelist and does not support variables (config_vars can only be []). Mobile does not support regular regions, variables, scripts, Cron/deadline times or internal fields such as client provider; fill in the node selection snapshot based on mobile resources, which is not automatically updated with the template.

Modification delivery and database commit are not an atomic transaction; the remote side may already be updated while the local commit fails; first read back by the original task UUID and verify the execution platform status, and handle only the unfinished part. Modifying an unbound existing mobile task may enter controlled recovery creation; on failure, confirm the status using content.taskUUID/localSaved/outcomeUnknown; automatic recovery is not guaranteed every time. The response is configuration, not a test result or proof that notifications were delivered.

Route Parameters

Parameter Name Type Required Description
task_uuid string Y dial_ UUID to modify, not the remote platform ID; the type is determined by this entity.
Example: dial_example
How to obtain or fill: Get it from content.data[].uuid in the task list of the current workspace.

Request Headers

Parameter Name Type Required Description
DF-API-KEY string Y OpenAPI authentication credential for the workspace.
Example: <DF-API-KEY>
How to obtain or fill: Obtain an OpenAPI Key with permission for this operation from API Key management in the target workspace.

Body Request Parameters

Parameter Name Type Required Description
regions[*] string Single node UUID; node capabilities for different protocols must be confirmed against the actual platform.
Example: reg_example
How to obtain or fill: Use the UUID of a currently available node record, not the node name/city or keycode.
tags[*] string Deduplicated by name, not tag_ UUID; tags that do not match the synthetic testing scope cause an error.
Example: production
How to obtain or fill: Take a single business tag name.
task.success_when[*] json Single condition object; the outer condition logic is controlled by success_when_logic. The semantics of inner conditions are validated by the corresponding executor.
Example: {"status_code": [{"is": "200"}]}
How to obtain or fill: Combine the corresponding assertion fields based on 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 fill: Construct according to 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: false
How to obtain or fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.request_options.headers json Applies to HTTP/WebSocket, optional; mapping of request header names to string values; do not put real credentials in examples.
Example: {"Accept": "application/json"}
How to obtain or fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.request_options.headers.Request-Header-Name string Applies to HTTP/WebSocket, optional; dynamic request header value; the name is the header required by the real API.
Example: application/json
How to obtain or fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.request_options.cookies string Applies to HTTP/WebSocket, optional; Cookie text; can be omitted.
Example:
How to obtain or fill: Construct according to 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; can be omitted.
Example: {}
How to obtain or fill: Construct according to 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-PLACEHOLDER
How to obtain or fill: Construct according to 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-PLACEHOLDER
How to obtain or fill: Construct according to 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 fill: Construct according to 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/json
How to obtain or fill: Construct according to 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; modifications must preserve the required business content.
Example: {"check":true}
How to obtain or fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.request_body.form json Applies to HTTP/WebSocket, optional; mapping of multipart form fields to strings; can be omitted.
Example: {"check": "true"}
How to obtain or fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.request_body.form.Field-Name string Applies to HTTP/WebSocket, optional; single form value.
Example: true
How to obtain or fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.request_timeout string Applies to HTTP/WebSocket, optional; HTTP total timeout duration; executor default is 60s; Studio does not replace validation by the actual executor.
Example: 60s
How to obtain or fill: Construct according to 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 together with HTTP3.
Example: auto
How to obtain or fill: Construct according to 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 fill: Construct according to 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 verification errors.
Example: false
How to obtain or fill: Construct according to 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-PLACEHOLDER
How to obtain or fill: Construct according to 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-PLACEHOLDER
How to obtain or fill: Construct according to 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 according to its protocol.
Example: CA-PLACEHOLDER
How to obtain or fill: Construct according to 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 fill: Construct according to 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:8080
How to obtain or fill: Construct according to 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 fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.proxy.headers.Request-Header-Name string Applies to HTTP/WebSocket, optional; single proxy request header value.
Example: VALUE-PLACEHOLDER
How to obtain or fill: Construct according to 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 fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.advance_options.secret.not_save boolean Applies to HTTP/WebSocket, optional; whether request content is not saved; this does not replace masking of returned documents/logs.
Example: true
How to obtain or fill: Construct according to the target HTTP API/node configuration and Custom Synthetic Test.
task.success_when[*].body array Optional assertion collection; key names follow the actual response; use only comparisons supported by the executor.
Example: []
How to obtain or fill: Select body or a specific header from the real HTTP/WebSocket response.
task.success_when[*].body[*].contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].body[*].not_contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].body[*].is string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].body[*].is_not string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].body[*].match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].body[*].not_match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].header.Response-Header-Name array Optional assertion collection; key names follow the actual response; use only comparisons supported by the executor.
Example: []
How to obtain or fill: Select body or a specific header from the real HTTP/WebSocket response.
task.success_when[*].header.Response-Header-Name[*].contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].header.Response-Header-Name[*].not_contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].header.Response-Header-Name[*].is string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].header.Response-Header-Name[*].is_not string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].header.Response-Header-Name[*].match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].header.Response-Header-Name[*].not_match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
Example: healthy
How to obtain or fill: Take the response text/valid regular expression to match; do not copy sensitive values from the response.
task.success_when[*].header json Optional mapping of header names to condition collections.
Example: {}
How to obtain or fill: Take real response header names.
task.success_when[*].status_code array Optional HTTP status assertion collection; strings are compared according to the executor protocol.
Example: [{"is": "200"}]
How to obtain or fill: Select a successful HTTP status code or the corresponding regular expression.
task.success_when[*].status_code[*].is string Single status code assertion operation; do not mix with the mobile expectedResponseCode integer array.
Example: 200
How to obtain or fill: Take the expected status/status regular expression 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: 200
How to obtain or fill: Take the expected status/status regular expression 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: 200
How to obtain or fill: Take the expected status/status regular expression 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: 200
How to obtain or fill: Take the expected status/status regular expression of the target API.
task.success_when[*].response_time string or array For HTTP/WebSocket/DNS this is a duration threshold string; legacy TCP/ICMP may use a condition array; see the corresponding leaf field for response time units, and do not uniformly interpret it as a bare millisecond number.
Example: 100ms
How to obtain or fill: Set according to the time requirement of the current protocol.
task.success_when[*].response_time[*].is_contain_dns boolean Used only in array form; whether TCP/ICMP includes DNS time in the comparison.
Example: true
How to obtain or fill: Based on the TCP/ICMP time requirement and the executor condition protocol.
task.success_when[*].response_time[*].target string Used only in array form; duration comparison value.
Example: 100ms
How to obtain or fill: Based on the TCP/ICMP time requirement and the executor condition protocol.
task.success_when[*].connection array Optional for TCP, but when present it must be a non-empty array, with only eq established/refused/timeout.
Example: [{"op": "eq", "target": "established"}]
How to obtain or fill: Select from the desired TCP connection states.
task.success_when[*].connection[*].op string Required; only eq is accepted; is/ne are not accepted.
Example: eq
How to obtain or fill: Construct according to the TCP connection status assertion.
task.success_when[*].connection[*].target string Required; connection result established/refused/timeout.
Example: established
How to obtain or fill: Construct according to the TCP connection status assertion.
task.record_types[*] string Single record type or a valid variable template.
Example: A
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.doh.url string Required URL for DoH.
Example: https://resolver.example.net/dns-query
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.doh.method string Optional GET/POST; if omitted, the executor handles it.
Example: POST
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.doh.http_protocol string Optional auto/http/1.1/http/2-only/http/3.
Example: auto
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.doh.headers json Optional mapping of HTTP request headers to strings.
Example: {"Accept": "application/dns-message"}
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.doh.headers.Request-Header-Name string Single string request header.
Example: application/dns-message
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.dns_options.recursion_desired boolean Optional RD recursion desired flag; if omitted, the executor default applies.
Example: true
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.dns_options.dnssec_ok boolean Optional DO DNSSEC flag.
Example: false
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.dns_options.checking_disabled boolean Optional CD checking disabled flag.
Example: false
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.dns_options.udp_payload_size integer Optional EDNS UDP payload size in bytes; the semantic range is validated by the executor.
Example: 1232
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.certificate.ca string Optional for DNS; PEM CA.
Example: CA-PLACEHOLDER
How to obtain or fill: Obtain from the certificate/trust configuration required by the DNS TLS service.
task.certificate.certificate string Optional for DNS; PEM client certificate.
Example: CERTIFICATE-PLACEHOLDER
How to obtain or fill: Obtain from the certificate/trust configuration required by the DNS TLS service.
task.certificate.private_key string Optional for DNS; PEM private key; inject securely.
Example: PRIVATE-KEY-PLACEHOLDER
How to obtain or fill: Obtain from the certificate/trust configuration required by the DNS TLS service.
task.certificate.ignore_server_certificate_error boolean Optional for DNS; whether to ignore certificate verification.
Example: false
How to obtain or fill: Obtain from the certificate/trust configuration required by the DNS TLS service.
task.success_when[*].authenticated_data boolean Optional DNS leaf; the total with other leaves must not exceed 20.
Example: true
How to obtain or fill: Select according to the expected AD flag of DNSSEC.
task.success_when[*].at_least_one_record json Optional, but when present it must be a non-empty object, grouped by record type.
Example: {"of_type_a": [{"is": "203.0.113.10"}]}
How to obtain or fill: Choose at_least_one_record when at least one DNS record must match, and every_record when all must match.
task.success_when[*].at_least_one_record.of_type_a array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_a[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_a[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_a[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_a[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_aaaa array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_aaaa[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_aaaa[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_aaaa[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_aaaa[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_cname array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_cname[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_cname[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_cname[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_cname[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_mx array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_mx[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_mx[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_mx[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_mx[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_ns array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_ns[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_ns[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_ns[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_ns[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_txt array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_txt[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_txt[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_txt[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].at_least_one_record.of_type_txt[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record json Optional, but when present it must be a non-empty object, grouped by record type.
Example: {"of_type_a": [{"is": "203.0.113.10"}]}
How to obtain or fill: Choose at_least_one_record when at least one DNS record must match, and every_record when all must match.
task.success_when[*].every_record.of_type_a array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_a[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_a[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_a[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_a[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_aaaa array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_aaaa[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_aaaa[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_aaaa[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_aaaa[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_cname array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_cname[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_cname[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_cname[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_cname[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_mx array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_mx[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_mx[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_mx[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_mx[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_ns array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_ns[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_ns[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_ns[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_ns[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_txt array When present, must be a non-empty condition array; each item can contain only one comparison key.
Example: [{"exists": true}]
How to obtain or fill: 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 operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: true
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_txt[*].is string Single DNS condition; exists can only be true, and other operators 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.10
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_txt[*].contains string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_txt[*].match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: ^example
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.success_when[*].every_record.of_type_txt[*].not_match_regex string Single DNS condition; exists can only be true, and other operators must be non-empty strings. All DNS conditions total 1..20, and each item cannot contain multiple operations at the same time.
Example: invalid
How to obtain or fill: Obtain from the expected DNS record text or a valid Go regular expression.
task.advance_options.timeout string NetPath only; required, 1s..30s in whole seconds.
Example: 10s
How to obtain or fill: Select according to NetPath measurement requirements; this is 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: 30
How to obtain or fill: Select according to NetPath measurement requirements; this is not an HTTP advanced option.
task.advance_options.e2e_queries integer NetPath only; required number of end-to-end probes, 1..100.
Example: 10
How to obtain or fill: Select according to NetPath measurement requirements; this is not an HTTP advanced option.
task.advance_options.traceroute_queries integer NetPath only; required number of path probes, 1..10.
Example: 3
How to obtain or fill: Select according to NetPath measurement requirements; this is 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: API
How to obtain or fill: Select according to NetPath measurement requirements; this is 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: DB
How to obtain or fill: Select according to NetPath measurement requirements; this is not an HTTP advanced option.
task.success_when[*].e2e_rtt_avg array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "lt", "target": "100ms"}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].e2e_rtt_avg[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: lt
How to obtain or fill: Select 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 are not allowed.
Example: 100ms
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].e2e_rtt_min array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "lt", "target": "100ms"}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].e2e_rtt_min[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: lt
How to obtain or fill: Select 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 are not allowed.
Example: 100ms
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].e2e_rtt_max array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "lt", "target": "100ms"}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].e2e_rtt_max[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: lt
How to obtain or fill: Select 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 are not allowed.
Example: 100ms
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].e2e_rtt_variation_avg array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "lt", "target": "100ms"}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].e2e_rtt_variation_avg[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: lt
How to obtain or fill: Select 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 are not allowed.
Example: 100ms
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].e2e_rtt_variation_max array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "lt", "target": "100ms"}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].e2e_rtt_variation_max[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: lt
How to obtain or fill: Select 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 are not allowed.
Example: 100ms
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].e2e_probe_loss_percent array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "lt", "target": 1}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].e2e_probe_loss_percent[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: lt
How to obtain or fill: Select according to the metric comparison requirement.
task.success_when[*].e2e_probe_loss_percent[*].target number Packet loss percentage 0..100, as a JSON number.
Example: 1
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].hop_count array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "lt", "target": 1}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].hop_count[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: lt
How to obtain or fill: Select according to the metric comparison requirement.
task.success_when[*].hop_count[*].target integer Hop count as a non-negative JSON integer.
Example: 1
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].e2e_status array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "eq", "target": "reached"}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].e2e_status[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: eq
How to obtain or fill: Select according to the metric comparison requirement.
task.success_when[*].e2e_status[*].target string Status reached/partial/failed; e2e_status also allows unknown.
Example: reached
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.success_when[*].traceroute_status array Non-empty condition array; select at least one metric and do not add unknown metrics.
Example: [{"op": "eq", "target": "reached"}]
How to obtain or fill: Select from the available NetPath availability metrics; the entire success_when outer layer contains only 1 item.
task.success_when[*].traceroute_status[*].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
Example: eq
How to obtain or fill: Select according to the metric comparison requirement.
task.success_when[*].traceroute_status[*].target string Status reached/partial/failed; e2e_status also allows unknown.
Example: reached
How to obtain or fill: Take the expected measurement boundary; do not use historical measurement results directly as configuration.
task.config_vars[*].id string For DNS, types are validated using these fields; global variable UUID, required when type=global.
Example: dvar_example
How to obtain or fill: Use the real definition in synthetic testing variable management or the current task configuration.
task.config_vars[*].type string For DNS, types are validated using these fields; global or a local type of the current task; browser secret types secret/password/secure have their own retention rules.
Example: global
How to obtain or fill: Use the real definition in synthetic testing variable management or the current task configuration.
task.config_vars[*].name string For DNS, types are validated using these fields; variable name referenced by the template.
Example: HOST
How to obtain or fill: Use the real definition in synthetic testing variable management or the current task configuration.
task.config_vars[*].value string For DNS, types are validated using these fields; local variable value, injected from a secure source; omit fields that do not apply.
Example: example.com
How to obtain or fill: Use the real definition in synthetic testing variable management or the current task configuration.
task.config_vars[*].example string For DNS, types are validated using these fields; preview/example value, not a substitute for the actual target source.
Example: example.com
How to obtain or fill: Use the real definition in synthetic testing variable management or the current task configuration.
task.config_vars[*].secure boolean For DNS, types are validated using these fields; whether it is a secure variable, of boolean type.
Example: false
How to obtain or fill: Use the real definition in synthetic testing variable management or the current task configuration.
task.nodeSelection.mode string Required for mobile; nodes specifies nodes, groups specifies node groups.
Example: nodes
How to obtain or fill: Read from mobile resources/templates and then select.
task.nodeSelection.ids array Required for mobile; non-empty, unique string array containing the corresponding resource ID, not a region UUID.
Example: ["NODE-ID"]
How to obtain or fill: Read from mobile resources/templates and then select.
task.nodeSelection.ids[*] string Required for mobile; single current node or group ID; for nodes, only letters, digits, underscores and hyphens are allowed.
Example: NODE-ID
How to obtain or fill: Read from mobile resources/templates and then select.
task.nodeSelection.sampleCount integer Required for mobile; number of independent samples per node, 1..100, not limited by the number of selected nodes/group members.
Example: 1
How to obtain or fill: Read from mobile resources/templates and then select.
task.protocolOptions.httpMethod string http only; optional, omitted follows the platform default; GET/POST.
Example: GET
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.body string http only; optional, omitted follows the platform default; request body string.
Example: {"probe":true}
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.httpHost json http only; optional, omitted follows the platform default; string mapping, configured according to the target Host.
Example: {"Host": "example.com"}
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.httpHost.Key-Name string Dynamic string member; variable templates are not allowed (except expectedResponseBody).
Example: VALUE
How to obtain or fill: Set according to the string key-value actually required by the HTTP request.
task.protocolOptions.httpParams json http only; optional, omitted follows the platform default; string mapping of Query parameters.
Example: {"check": "true"}
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.httpParams.Key-Name string Dynamic string member; variable templates are not allowed (except expectedResponseBody).
Example: VALUE
How to obtain or fill: Set according to the string key-value actually required by the HTTP request.
task.protocolOptions.httpHeader json http only; optional, omitted follows the platform default; string mapping of request headers.
Example: {"Accept": "application/json"}
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.httpHeader.Key-Name string Dynamic string member; variable templates are not allowed (except expectedResponseBody).
Example: VALUE
How to obtain or fill: Set according to the string key-value actually required by the HTTP request.
task.protocolOptions.expectedResponseBody string http only; optional, omitted follows the platform default; non-empty literal contains matching; no trim and template markers inside are not interpreted.
Example: healthy
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.expectedResponseCode array http only; optional, omitted follows the platform default; non-empty JSON integer array, an allowed code set, not mixed with text regular expressions; the combined judgment of multiple checks is subject to the actual contract of the execution platform.
Example: [200]
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.expectedResponseCode[*] integer http only; optional, omitted follows the platform default; single JSON integer code; strings/booleans are not allowed.
Example: 200
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.dnsHost string dns only; optional, omitted follows the platform default; DNS server/host string.
Example: resolver.example.net
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.dnsIpVerify string dns only; optional, omitted follows the platform default; expected DNS resolution IP string.
Example: 203.0.113.10
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.tcpHost string tcp only; optional, omitted follows the platform default; TCP target Host configuration.
Example: example.com
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.tcpTimeoutMs integer tcp only; optional, omitted follows the platform default; timeout 1..10000 milliseconds.
Example: 1000
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.tcpData string tcp only; optional, omitted follows the platform default; data text to send.
Example: ping
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.tcpVerify string tcp only; optional, omitted follows the platform default; expected response text.
Example: pong
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.pingType integer ping only; optional, omitted follows the platform default; 1/2, defaults to 1.
Example: 1
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.pingCount integer ping only; optional, omitted follows the platform default; number of packets to send, 1..10.
Example: 3
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.pingTimeoutMs integer ping only; optional, omitted follows the platform default; timeout 1..10000 milliseconds.
Example: 1000
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.taskTimeoutMs integer http/dns/tcp/ping only; optional, omitted follows the platform default; task timeout 1..10000 milliseconds.
Example: 10000
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
task.protocolOptions.flowLimit integer http/dns/tcp/ping only; optional, omitted follows the platform default; platform flow limit integer 1..10; Studio does not define additional unit conversion.
Example: 1
How to obtain or fill: Obtain from the mobile target protocol and execution platform configuration.
regions array Y Required array. Regular tasks must be non-empty; mobile tasks must explicitly use [], and use task.nodeSelection instead. Modification replaces the whole node set, and removed nodes are sent a stop instruction.
Allows null: False
Example: ["reg_example"]
How to obtain or fill: Obtain real node UUIDs from the available node list or the default region list.
task json Y Required complete object; maxDictLength=20000 for creation and 65536 for modification, counted as the server-side str(dict) length plus the UTF-8 difference/2 weighted; this is not the raw HTTP byte limit. It is not a partial patch; do not return the entire response object directly.
Allows null: False
Dictionary length limit: 65536
Example: {"name": "站点可用性", "frequency": "5m", "method": "GET", "url": "https://example.com/health", "success_when": [{"status_code": [{"is": "200"}]}]}
How to obtain or fill: 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; use address for mobile. Browser has additional limitations of the current endpoint.
Allows null: False
Example: https://example.com/health
How to obtain or fill: Obtain the complete target URL from the HTTP/WebSocket service to be monitored; it must be accessible from the selected nodes.
task.method string Required for HTTP business; if missing, MissingMethod is reported; omit for other protocols; not every method is guaranteed to be supported by the executor.
Allows null: False
Example: GET
How to obtain or fill: Select the real method such as GET/POST/PUT according to the target HTTP API.
task.name string Y Required, 1..256 Python characters after trim; the trimmed result is saved; all synthetic test types share non-deleted name uniqueness. Modification must provide the complete name.
Allows null: False
Example: 站点可用性
How to obtain or fill: The business party defines a task name unique in this workspace.
task.frequency string Y Required with no default; Free/Free Plan workspaces support only 30m/1h/6h/12h/24h. Do not apply arbitrary second-level frequencies from manual DataKit JSON.
Allows null: False
Allowed values: ['1m', '5m', '15m', '30m', '1h', '6h', '12h', '24h']
Example: 5m
How to obtain or fill: Choose 1m/5m/15m/30m/1h/6h/12h/24h based on business budget and execution requirements.
task.schedule_type string Optional; if omitted, the executor's regular frequency applies. Mobile supports only frequency and does not support crontab.
Allows null: False
Allowed values: ['frequency', 'crontab']
Example: frequency
How to obtain or fill: Use frequency for regular intervals and crontab for a custom schedule.
task.crontab string When schedule_type=crontab, it must be non-empty and pass Cron parsing; frequency is still required by the public declaration; mobile does not accept this field. The time zone/execution cadence must be validated against the node's actual environment; it cannot be treated as a Unix timestamp.
Allows null: False
Example: */5 * * * *
How to obtain or fill: Select a 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.
Allows null: False
Example: {}
How to obtain or fill: Select according to HTTP/WebSocket advanced options or the NetPath-specific structure.
task.advance_options_headless json Retained in the public declaration but cannot replace the required browser_config. Currently public creation/modification of browser cannot pass complete configuration; do not treat this object as the browser script entry point.
Allows null: False
Example: {}
How to obtain or fill: Saved structure of legacy browser advanced configuration.
task.success_when_logic string Optional and/or; the executor usually defaults to and; NetPath must fill it explicitly; this does not control alert notification policies.
Allows null: False
Allowed values: ['and', 'or']
Example: and
How to obtain or fill: Choose and when all availability conditions must be met, or or when any one must be met.
task.success_when array HTTP without a non-empty post_script, TCP/ICMP/WebSocket/SSL require this key; DNS requires 1..20 valid leaves; NetPath requires a single outer object. Structures of different protocols cannot be mixed. Saving does not require real-time execution success.
Allows null: False
Example: [{"status_code": [{"is": "200"}]}]
How to obtain or fill: Construct according to the metric/assertion structure of 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 uniform default; NetPath uses its own path protocol and does not use this field.
Allows null: False
Example: false
How to obtain or fill: Enable when TCP/ICMP requires path diagnostics.
task.packet_count integer Optional for ICMP; number of packets sent per round; actual node constraints are confirmed by the executor; not used for mobile pingCount.
Allows null: False
Example: 3
How to obtain or fill: Determine a positive integer according to the number of ICMP samples.
task.domain string Required for the business: domain to query; a verified variable template can be used.
Allows null: False
Example: example.com
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.dns_server string Required for non-DoH: server domain name/IP, excluding the port; DoH can be derived from the URL.
Allows null: False
Allows empty string: True
Example: resolver.example.net
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.server_ip string Optional fixed connection IP that preserves the logical server identity; if omitted, the executor resolves it.
Allows null: False
Allows empty string: True
Example: 203.0.113.53
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.record_types array Optional A/AAAA/CNAME/MX/NS/TXT; can be derived from assertions; the executor defaults to A.
Allows null: False
Example: ["A"]
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.certificate json Optional DNS TLS certificate object; do not place it in HTTP advance_options.
Allows null: False
Example: {}
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.doh json DNS DoH protocol configuration.
Allows null: False
Example: {}
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.dns_options json Optional DNS query flags/EDNS parameters.
Allows null: False
Example: {}
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select 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).
Allows null: False
Example: dot
How to obtain or fill: For DNS, obtain values from the business domain, DNS server and executor configuration; for other protocols, select according to the current type.
task.host string Required for the corresponding protocol business. For NetPath, must be non-empty after trim; no HTTP URL scheme is needed. For mobile TCP, fill address=host:port instead.
Allows null: False
Example: example.com
How to obtain or fill: Take the reachable domain name or IP of the TCP/ICMP/SSL/NetPath target.
task.port string Required for TCP/SSL business; for NetPath TCP/UDP, 1..65535 and purely numeric (leading zeros may be retained); ICMP ignores it. DNS is a separate protocol port; the default 53 or encrypted protocol 853 is determined by the executor.
Allows null: False
Example: 443
How to obtain or fill: Submit a numeric string according to the actual listening port of the target service.
task.server_name string Optional for SSL/DNS; when using server_ip to fix the connection IP, preserve the original service identity; do not directly fill an IP in place of SNI.
Allows null: False
Example: example.com
How to obtain or fill: The logical domain name corresponding to the TLS service SNI/certificate.
task.timeout string For TCP, an integer-second string from 1s..60s; for DNS, default 10s, executor range (0,60s], and variable templates can be used; for ICMP/SSL, subject to executor support, and Studio does not add a uniform default. NetPath uses advance_options.timeout.
Allows null: False
Example: 10s
How to obtain or fill: Fill in a duration according to the allowed connection/query time.
task.ignore_server_certificate_error boolean Optional for SSL; if omitted, the executor's secure default applies; for DNS, the certificate ignore switch is inside certificate.
Allows null: False
Example: false
How to obtain or fill: 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.
Allows null: False
Example: ping
How to obtain or fill: The message text sent after the WebSocket connection is established.
task.post_mode string Optional; the executor's selection method; whether Studio HTTP needs success_when is actually determined by post_script being non-empty, not just this field.
Allows null: False
Example: default
How to obtain or fill: Use default for availability judgment and script for script judgment.
task.config_vars array Optional, default []; NetPath allows only [], mobile does not support it; modification rebinds the input set. For DNS, all referenced IDs must belong to valid variables in the current workspace; they are not silently filtered.
Allows null: False
Example: []
How to obtain or fill: Obtain from workspace synthetic testing variables, or define local variables for the current task.
task.post_script string Optional; an empty string means no script is provided. For HTTP, when non-empty, success_when may be omitted; for DNS/NetPath/mobile, scripts do not bypass their dedicated whitelists and validation.
Allows null: False
Allows empty string: True
Example:
How to obtain or fill: Obtain from a verified synthetic testing Pipeline judgment script.
task.address string Required for mobile; non-empty after trim and ≤2048 characters; variables are not allowed. For HTTP, user credentials and whitespace/control characters are prohibited; valid ports/paths/Query are allowed; for TCP, a valid port is required; ping cannot add a port.
Example: https://example.com/health
How to obtain or fill: Mobile task target: complete HTTPS for HTTP, host:port for TCP, domain name for DNS, domain name/IP for ping.
task.nodeSelection json Required for mobile; exactly three keys: mode/ids/sampleCount; a snapshot is saved and does not dynamically follow the template. nodes only validates the ID structure and retains the original IDs/order, without guaranteeing 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 fill: For nodes, get node IDs from mobile resources; for groups, currently get the ID from an existing template in the same workspace or a group record confirmed by the administrator (the resource entry currently does not fetch groups); you can also reuse the node selection template snapshot.
task.protocolOptions json Optional, default {}; fully replaced. When HTTP has legacy check fields, modification must explicitly provide the object; only omitting a check field in the object clears it; empty strings/null/empty arrays are not clearing instructions. HTTP defaults httpMethod=GET and ping defaults pingType=1; other numeric values do not receive defaults from Studio.
Example: {}
How to obtain or fill: Select the corresponding parameters according to the mobile task.protocol; do not fill this object for other protocols.
tags array Optional, default []. Omitting it or passing [] on modification clears tag relationships; mobile tasks also synchronize outbound tags and do not accept the client dfLabel/extendConfig.
Allows null: False
Example: ["production"]
How to obtain or fill: From the tag list, obtain names applicable to the dialing/all scope, not UUIDs.

Additional Parameter Notes

For parameters, sources, returns 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/dial_example/modify' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  -H 'Content-Type: application/json' \
  --data-raw '{"regions":["reg_example"],"task":{"name":"站点可用性","frequency":"5m","method":"GET","url":"https://example.com/health","success_when":[{"status_code":[{"is":"200"}]}]},"tags":[]}'

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 submission during regular creation.
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, 3 for deleted; distinct from the task.status running switch.
content.isLocked integer or boolean Local/workspace lock flag; does not represent the remote actual 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 For legacy node display, may be a UUID array, object array or UUID-keyed mapping; creation/modification usually returns the input UUID array.
content.regionsInfo[] string or object Node UUID or saved node information.
content.regionsInfo[].uuid string Node UUID returned conditionally.
content.regionsInfo[].name string Node display name in the current language.
content.regionsInfo[].nameEn string English/compatible name.
content.regionsInfo[].nameI18n object Language-to-name mapping.
content.regionsInfo[].nameI18n.Language-Code string Single display name.
content.regionsInfo.Node-UUID string or object Node information in the legacy UUID-keyed mapping, with the same semantics as node information in the array.
content.task object Complete configuration of the saved task; does not contain real-time test results.
content.task.status string ok enabled/stop stopped; local configuration values are not guaranteed to be fully synchronized with the remote side.
content.task.external_id string Some regular write responses may contain a server-side task identifier; list/get removes this internal key; it is not a writable field.
content.task.owner_external_id string Some regular write responses may include a server-side workspace identifier; list/get removes it; do not submit it.
content.task.post_url string Some legacy regular write responses may include a server-side reporting address; list/get removes it; keep sensitive responses secure and never write them back or expose them.
content.task.Other-Legacy-Fields JSON Compatibility saved fields are interpreted by type and are not part of the public write endpoint whitelist.
content.remoteStatus string Fixed to unknown for mobile; read locally only and does not query the platform in real time.
content.creator string Creator identity.
content.updator string Updater identity.
content.createAt integer Creation time in Unix seconds.
content.updateAt integer Update time in Unix seconds.
content.deleteAt integer Deletion time in 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 must provide the complete name.
content.task.frequency string Required with no default; Free/Free Plan workspaces support 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, the executor's regular frequency applies. Mobile supports only frequency and does not support crontab.
content.task.crontab string When schedule_type=crontab, it must be non-empty and pass Cron parsing; frequency is still required by the public declaration; mobile does not accept this field. The time zone/execution cadence must be validated against the node's actual environment; it 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; use address for mobile. Browser has additional limitations of the current endpoint.
content.task.method string Required for HTTP business; if missing, MissingMethod is reported; omit for other protocols; not every method is guaranteed to be supported by the executor.
content.task.success_when_logic string Optional and/or; the executor usually defaults to and; NetPath must fill it explicitly; this does not control alert notification policies.
content.task.success_when array HTTP without a non-empty post_script, TCP/ICMP/WebSocket/SSL require this key; DNS requires 1..20 valid leaves; NetPath requires a single outer object. Structures of different protocols cannot be mixed. Saving does not require real-time execution success.
content.task.success_when[] json Single condition object; the outer condition logic is controlled by success_when_logic. The semantics of inner conditions are validated by the corresponding executor.
content.task.enable_traceroute boolean Optional; if omitted, Studio does not add a uniform default; NetPath uses its own path protocol and does not use this field.
content.task.packet_count integer Optional for ICMP; 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. For 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; for NetPath TCP/UDP, 1..65535 and purely numeric (leading zeros may be retained); 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 Optional for SSL/DNS; when using server_ip to fix the connection IP, preserve the original service identity; do not directly fill an IP in place of SNI.
content.task.timeout string For TCP, an integer-second string from 1s..60s; for DNS, default 10s, executor range (0,60s], and variable templates can be used; for ICMP/SSL, subject to executor support, and Studio does not add a uniform default. NetPath uses advance_options.timeout.
content.task.ignore_server_certificate_error boolean Optional for SSL; if omitted, the executor's secure default applies; for DNS, the 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; the executor's selection method; whether Studio HTTP needs success_when is actually determined by post_script being 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; for DNS/NetPath/mobile, scripts do not bypass their dedicated whitelists and validation.
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 Retained in the public declaration but cannot replace the required browser_config. Currently public creation/modification of browser cannot pass complete configuration; do not treat this object as the 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 of request header names to string values; do not put real credentials in examples.
content.task.advance_options.request_options.headers.Request-Header-Name string Applies to HTTP/WebSocket, optional; dynamic request header value; the name is the header required by the real API.
content.task.advance_options.request_options.cookies string Applies to HTTP/WebSocket, optional; Cookie text; can be omitted.
content.task.advance_options.request_options.auth json Applies to HTTP/WebSocket, optional; HTTP Basic username and password configuration; can be omitted.
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; modifications must preserve the required business content.
content.task.advance_options.request_body.form json Applies to HTTP/WebSocket, optional; mapping of multipart form fields to strings; can be omitted.
content.task.advance_options.request_body.form.Field-Name string Applies to HTTP/WebSocket, optional; single form value.
content.task.advance_options.request_timeout string Applies to HTTP/WebSocket, optional; HTTP total 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 together with 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 verification 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 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.Request-Header-Name 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 request content is not saved; this does not replace masking of returned documents/logs.
content.task.success_when[].body array Optional assertion collection; key names follow the actual response; use only comparisons supported by the executor.
content.task.success_when[].body[].contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].body[].not_contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].body[].is string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].body[].is_not string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].body[].match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].body[].not_match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].header.Response-Header-Name array Optional assertion collection; key names follow the actual response; use only comparisons supported by the executor.
content.task.success_when[].header.Response-Header-Name[].contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].header.Response-Header-Name[].not_contains string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].header.Response-Header-Name[].is string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].header.Response-Header-Name[].is_not string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].header.Response-Header-Name[].match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].header.Response-Header-Name[].not_match_regex string Single text comparison, selected according to the required operation; regular expression semantics are validated by the executor, and a successful save does not prove a match.
content.task.success_when[].header json Optional mapping of header names to condition collections.
content.task.success_when[].status_code array Optional HTTP status assertion collection; strings are compared 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 For HTTP/WebSocket/DNS this is a duration threshold string; legacy TCP/ICMP may use a condition array; see the corresponding leaf field for response time units, and do not uniformly interpret it as a bare millisecond number.
content.task.success_when[].response_time[].is_contain_dns boolean Used only in array form; whether TCP/ICMP includes DNS time in the comparison.
content.task.success_when[].response_time[].target string Used only in array form; duration comparison value.
content.task.success_when[].connection array Optional for TCP, but when present it must be a non-empty array, with only eq established/refused/timeout.
content.task.success_when[].connection[].op string Required; only eq is accepted; is/ne are not accepted.
content.task.success_when[].connection[].target string Required; connection result established/refused/timeout.
content.task.domain string Required for the business: domain to query; a verified variable template can be used.
content.task.dns_server string Required for non-DoH: server domain name/IP, excluding the port; DoH can be derived from the URL.
content.task.server_ip string Optional fixed connection IP that preserves the logical server identity; if omitted, the executor resolves it.
content.task.record_types array Optional A/AAAA/CNAME/MX/NS/TXT; can be derived from assertions; the executor defaults to A.
content.task.record_types[] string Single record type or a 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 Optional DNS TLS certificate object; do not place 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, the executor handles it.
content.task.doh.http_protocol string Optional auto/http/1.1/http/2-only/http/3.
content.task.doh.headers json Optional mapping of HTTP request headers to strings.
content.task.doh.headers.Request-Header-Name 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, the executor default applies.
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; the semantic range is validated by the executor.
content.task.certificate.ca string Optional for DNS; PEM CA.
content.task.certificate.certificate string Optional for DNS; PEM client certificate.
content.task.certificate.private_key string Optional for DNS; PEM private key; inject securely.
content.task.certificate.ignore_server_certificate_error boolean Optional for DNS; whether to ignore certificate verification.
content.task.success_when[].authenticated_data boolean Optional DNS leaf; the total with other leaves must not exceed 20.
content.task.success_when[].at_least_one_record json Optional, but when present it must be a non-empty object, grouped by record type.
content.task.success_when[].at_least_one_record.of_type_a array When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 it must be a non-empty object, grouped by record type.
content.task.success_when[].every_record.of_type_a array When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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 When present, must be a non-empty condition array; 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 operators 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 operators 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 operators 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 operators 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 operators 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, 1s..30s in whole seconds.
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 and do not add unknown metrics.
content.task.success_when[].e2e_rtt_avg[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].e2e_rtt_avg[].target string Non-negative millisecond string, such as 0.5ms; seconds or bare numbers are not allowed.
content.task.success_when[].e2e_rtt_min array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].e2e_rtt_min[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].e2e_rtt_min[].target string Non-negative millisecond string, such as 0.5ms; seconds or bare numbers are not allowed.
content.task.success_when[].e2e_rtt_max array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].e2e_rtt_max[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].e2e_rtt_max[].target string Non-negative millisecond string, such as 0.5ms; seconds or bare numbers are not allowed.
content.task.success_when[].e2e_rtt_variation_avg array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].e2e_rtt_variation_avg[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].e2e_rtt_variation_avg[].target string Non-negative millisecond string, such as 0.5ms; seconds or bare numbers are not allowed.
content.task.success_when[].e2e_rtt_variation_max array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].e2e_rtt_variation_max[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].e2e_rtt_variation_max[].target string Non-negative millisecond string, such as 0.5ms; seconds or bare numbers are not allowed.
content.task.success_when[].e2e_probe_loss_percent array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].e2e_probe_loss_percent[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].e2e_probe_loss_percent[].target number Packet loss percentage 0..100, as a JSON number.
content.task.success_when[].hop_count array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].hop_count[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].hop_count[].target integer Hop count as a non-negative JSON integer.
content.task.success_when[].e2e_status array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].e2e_status[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].e2e_status[].target string Status reached/partial/failed; e2e_status also allows unknown.
content.task.success_when[].traceroute_status array Non-empty condition array; select at least one metric and do not add unknown metrics.
content.task.success_when[].traceroute_status[].op string For status, only eq is allowed; for numeric/time values, lt/gt/leq/geq/eq are allowed.
content.task.success_when[].traceroute_status[].target string Status reached/partial/failed; e2e_status also allows unknown.
content.task.config_vars array Optional, default []; NetPath allows only [], mobile does not support it; modification rebinds the input set. For DNS, all referenced IDs must belong to valid variables in the current workspace; they are not silently filtered.
content.task.config_vars[].id string For DNS, types are validated using these fields; global variable UUID, required when type=global.
content.task.config_vars[].type string For DNS, types are validated using these fields; global or a local type of the current task; browser secret types secret/password/secure have their own retention rules.
content.task.config_vars[].name string For DNS, types are validated using these fields; variable name referenced by the template.
content.task.config_vars[].value string For DNS, types are validated using these fields; local variable value, injected from a secure source; omit fields that do not apply.
content.task.config_vars[].example string For DNS, types are validated using these fields; preview/example value, not a substitute for the actual target source.
content.task.config_vars[].secure boolean For DNS, types are validated using these fields; whether it is a secure variable, of boolean type.
content.task.address string Required for mobile; non-empty after trim and ≤2048 characters; variables are not allowed. For HTTP, user credentials and whitespace/control characters are prohibited; valid ports/paths/Query are allowed; for TCP, a valid port is required; ping cannot add a port.
content.task.nodeSelection json Required for mobile; exactly three keys: mode/ids/sampleCount; a snapshot is saved and does not dynamically follow the template. nodes only validates the ID structure and retains the original IDs/order, without guaranteeing real-time existence or mapping; groups queries the current group and members and verifies the node set.
content.task.nodeSelection.mode string Required for mobile; nodes specifies nodes, groups specifies node groups.
content.task.nodeSelection.ids array Required for mobile; non-empty, unique string array containing the corresponding resource ID, not a region UUID.
content.task.nodeSelection.ids[] string Required for mobile; single current node or group ID; for nodes, only letters, digits, underscores and hyphens are allowed.
content.task.nodeSelection.sampleCount integer Required for mobile; 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. When HTTP has legacy check fields, modification must explicitly provide the object; only omitting a check field in the object clears it; empty strings/null/empty arrays are not clearing instructions. HTTP defaults httpMethod=GET and ping defaults pingType=1; other numeric values do not receive defaults from Studio.
content.task.protocolOptions.httpMethod string http only; optional, omitted follows the platform default; GET/POST.
content.task.protocolOptions.body string http only; optional, omitted follows the platform default; request body string.
content.task.protocolOptions.httpHost json http only; optional, omitted follows the platform default; string mapping, configured according to the target Host.
content.task.protocolOptions.httpHost.Key-Name string Dynamic string member; variable templates are not allowed (except expectedResponseBody).
content.task.protocolOptions.httpParams json http only; optional, omitted follows the platform default; string mapping of Query parameters.
content.task.protocolOptions.httpParams.Key-Name string Dynamic string member; variable templates are not allowed (except expectedResponseBody).
content.task.protocolOptions.httpHeader json http only; optional, omitted follows the platform default; string mapping of request headers.
content.task.protocolOptions.httpHeader.Key-Name string Dynamic string member; variable templates are not allowed (except expectedResponseBody).
content.task.protocolOptions.expectedResponseBody string http only; optional, omitted follows the platform default; non-empty literal contains matching; no trim and template markers inside are not interpreted.
content.task.protocolOptions.expectedResponseCode array http only; optional, omitted follows the platform default; non-empty JSON integer array, an allowed code set, not mixed with text regular expressions; the combined judgment of multiple checks is subject to the actual contract of the execution platform.
content.task.protocolOptions.expectedResponseCode[] integer http only; optional, omitted follows the platform default; single JSON integer code; strings/booleans are not allowed.
content.task.protocolOptions.dnsHost string dns only; optional, omitted follows the platform default; DNS server/host string.
content.task.protocolOptions.dnsIpVerify string dns only; optional, omitted follows the platform default; expected DNS resolution IP string.
content.task.protocolOptions.tcpHost string tcp only; optional, omitted follows the platform default; TCP target Host configuration.
content.task.protocolOptions.tcpTimeoutMs integer tcp only; optional, omitted follows the platform default; timeout 1..10000 milliseconds.
content.task.protocolOptions.tcpData string tcp only; optional, omitted follows the platform default; data text to send.
content.task.protocolOptions.tcpVerify string tcp only; optional, omitted follows the platform default; expected response text.
content.task.protocolOptions.pingType integer ping only; optional, omitted follows the platform default; 1/2, defaults to 1.
content.task.protocolOptions.pingCount integer ping only; optional, omitted follows the platform default; number of packets to send, 1..10.
content.task.protocolOptions.pingTimeoutMs integer ping only; optional, omitted follows the platform default; timeout 1..10000 milliseconds.
content.task.protocolOptions.taskTimeoutMs integer http/dns/tcp/ping only; optional, omitted follows the platform default; task timeout 1..10000 milliseconds.
content.task.protocolOptions.flowLimit integer http/dns/tcp/ping only; optional, omitted follows the platform default; platform flow limit integer 1..10; Studio does not define additional unit conversion.
content.tagInfo array<object> Valid tag summary, empty []; may be omitted in regular modification and is returned for mobile modification. For reads, id is a database number; for write-generated summaries, id may be a tag UUID string.
content.tagInfo[].id integer or string Database number when read; tag UUID when written.
content.tagInfo[].uuid string Tag UUID when read; may be omitted in the write branch.
content.tagInfo[].name string Tag name.
content.tagInfo[].description string Tag description when read.
content.tagInfo[].colour string Tag color when read.
content.tagInfo[].scope array<string> Write summaries may include normalized scopes.
content.tagInfo[].scope[] string Single scope.
content.declaration object or null Workspace public declaration attached to non-empty response business objects; may be null or an empty object when not configured; empty objects are not added.
{
  "code": 200,
  "content": {
    "id": 100,
    "uuid": "dial_example",
    "workspaceUUID": "wksp_example",
    "type": "http",
    "status": 0,
    "isLocked": false,
    "regions": [
      "reg_example"
    ],
    "regionsInfo": [
      "reg_example"
    ],
    "task": {
      "name": "站点可用性",
      "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,
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

DNS request example (remove type when modifying; use the existing dns task in the path):

curl --request POST '<Endpoint>/api/v1/dialing_task/dial_example/modify' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  -H 'Content-Type: application/json' \
  --data-raw '{"regions":["reg_example"],"task":{"name":"DNS检查","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/dial_example/modify' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  -H 'Content-Type: application/json' \
  --data-raw '{"regions":["reg_example"],"task":{"name":"路径检查","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 applies only to an existing mobile task with the same protocol.

curl --request POST '<Endpoint>/api/v1/dialing_task/dial_example/modify' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  -H 'Content-Type: application/json' \
  --data-raw '{"regions":[],"task":{"name":"移动HTTPS检查","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": 100,
    "uuid": "dial_example",
    "workspaceUUID": "wksp_example",
    "type": "http",
    "status": 0,
    "isLocked": false,
    "regions": [
      "reg_example"
    ],
    "regionsInfo": [
      "reg_example"
    ],
    "task": {
      "name": "站点可用性",
      "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,
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Responses

For authentication, rate limiting and common request errors, see Common Error Definitions.

For regular synthetic test SDKs, downstream 4xx responses retain the actual HTTP status and error_code/message; downstream codes not in the fixed error table may also be returned. The node error code dialtesting.invalidRegion maps to ft.DialingRegionError and retains the actual HTTP status. Regular downstream >=500 errors are uniformly converted to 500 ft.InternalServerError; do not infer the public status from the SDK's internal 503 name. Mobile error content may contain 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 the declared validation conditions Parameter parsing failed Verify parameter location, field name, type and value.
400 ft.RequestJsonFormatError Invalid request JSON syntax Request JSON format error Fix the JSON according to content.reason, line and column.
400 ft.JsonFormatError Body top level is not a JSON object Some json file format error Submit a complete JSON object containing fields such as regions/task.
400 ft.InvalidDialingRegion regions is empty for a regular task Invalid synthetic testing 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 whitelists and units of different protocols.
406 ft.MissingSuccessWhen The corresponding protocol lacks success_when and has no supported script alternative Missing available judgment success_when Submit the complete availability judgment according to the protocol.
406 ft.MissingMethod HTTP does 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 is missing host/port, a required NetPath field is missing, or Cron mode is missing crontab {} field missing Fill in the required fields of 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 substitute character count for 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 A Free/Free Plan workspace uses an unsupported frequency Invalid time frequency Change to 30m/1h/6h/12h/24h or confirm plan support.
404 ft.ObjectNotExists DNS variable IDs do not all match valid variables in this workspace The specified object does not exist Obtain the variables of this workspace again; you cannot reference variables from other workspaces or deleted variables.
400 ft.TagScopeMismatch The tag cannot be used in the dialing scope Tag scope mismatch Use an all/dialing tag or update the scope after confirmation.
406 ft.NotFoundWorkspace The workspace record does not exist when acquiring the write lock The specified workspace was not found Verify the workspace status and stop writing to a released workspace.
400 ft.InvalidAction Mobile synthetic testing is not enabled or the operation status does not allow it Invalid operation Check content.reason; the administrator confirms service availability and task recovery status.
403 ft.MobileDialTermsNotAccepted The workspace has not accepted the terms of use before mobile task creation/recovery The workspace Owner or administrator must first confirm the mobile synthetic testing terms of use. The logged-in workspace Owner/administrator must read and confirm in the product; an API Key cannot replace acceptance.
409 ft.MobileDialingOperationBusy The mobile task timed out waiting for the workspace concurrent operation lock, so this operation was not executed Another operation is in progress in the current workspace, so this operation was not executed; try again later. When content.operationExecuted=false/retryable=true, back off and retry later; do not overwrite concurrently.
401 ft.WKSPNotExistOrReleased The workspace is no longer available after the mobile operation waited The workspace does not exist or has been released Stop retrying and confirm the workspace is still valid.
403 ft.WorkspaceIsLocked The workspace is locked after the mobile operation waited The workspace is locked and cannot be operated on First confirm the workspace is unlocked and operable.
400 ft.DialingServerError The mobile platform/binding/node selection/response does not match or the call fails, or the regular downstream returns a corresponding 400 Synthetic testing service API call failed Verify local and remote status according to content.reason/outcomeUnknown/taskUUID/localSaved; do not blindly recreate when the result is unknown.
400 ft.DialingRegionError The regular downstream 400 determines dialtesting.invalidRegion Some synthetic testing nodes for the current task are invalid; update the configuration and save again. Replace the invalid nodes and save again; handle other HTTP statuses according to the error range below.
500 ft.InternalServerError Uncaught storage/type error, regular synthetic testing downstream 5xx, connection timeout, or post-submission processing failure Internal error First read back by task UUID/name and verify the delivery status, then decide whether to retry; retain the traceId.
406 ft.DialingBrandNoSetError The workspace brand synthetic testing service required for regular task delivery is not configured The synthetic testing configuration for brand {} is not configured. The administrator verifies the synthetic testing service configuration for the current workspace.
400 ft.DialingAKNoSetError The signing credential for regular task delivery is not configured Synthetic testing AK information is not configured; check the Launcher activation configuration The administrator verifies the synthetic testing service activation and credential configuration; the client does not provide these credentials in this Body.
406 ft.InvalidDialingTask The browser lacks the required script or the compensation after a failed regular creation returns invalidTask Invalid task parameter The browser is limited by the current public whitelist; in other cases, first verify whether the task and delivery already exist.
404 ft.NotFoundDialTask The task to modify does not exist or has been deleted in the current workspace The specified cloud synthetic testing task was not found Get a valid task UUID from the list; do not use node or remote IDs.

Feedback

Is this page helpful?