Get Synthetic Test Details¶
GET /api/v1/dialing_task/{task_uuid}/get
Overview¶
Read the complete saved configuration of a single Synthetic Test and expired node warnings.
Before Calling and Usage Steps¶
Obtain the task UUID for the current Workspace from List. Only non-deleted objects are queried; the latest execution results are not queried. Regular node information supports UUID arrays/object arrays/UUID mappings; expired node names are displayed in the request language, and if the Node Center fails, they may degrade to an empty message.
Mobile details remove internal fields such as provider/reporting credentials, and remoteStatus is fixed to unknown; selectedNodeMappings only supplements selected static mappings and does not guarantee node availability in real time. For legacy browser secure variables, value returns null; do not use the response directly as a modification request. Details do not always include creatorInfo/updatorInfo; the list includes these identity details.
Path Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| task_uuid | string | Y | This is not the remote taskId, node UUID, template UUID, or task name. Example: dial_exampleHow to obtain or enter: Retrieve the dial_ task UUID for this Workspace from content.data[].uuid in the list. |
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 enter: Obtain an OpenAPI Key with permission for this operation from API Key management in the target Workspace. |
Additional Parameter Notes¶
For Mobile tasks, an optional selectedNodeMappings array is returned at the top level of content (alongside task), containing only database display mappings for the currently selected nodes. Each item reuses resources.nodes[].mapping: nodeId:string, continent/country/province/city/operator:{code,zh,en}|null, network/client_type:string. IDs are converted to strings and deduplicated; items that cannot be found are skipped. If mappings are missing or groups mode is used, [] is returned. vivo is not requested; this does not indicate node availability and does not change the original real-time node selection validation; regular tasks do not add this field.
Request Example¶
curl --get 'https://openapi.guance.com/api/v1/dialing_task/dial_example/get' \
-H 'DF-API-KEY: <DF-API-KEY>'
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 ID; may be null in a response constructed before a regular creation is submitted. |
| content.uuid | string | dial_ task UUID; used by subsequent get/modify/start-stop operations. |
| content.workspaceUUID | string | UUID of the Workspace it belongs to. |
| content.type | string | Saved task category; for Mobile, see task.protocol for the subtype protocol; multistep is multi. |
| content.status | integer | Entity status, usually 0, deleted 3; distinct from the task.status running toggle. |
| content.isLocked | integer or boolean | Local/Workspace lock flag; does not represent the remote actual test status. |
| content.regions | array<string> | Array of current node UUIDs for regular tasks; [] for Mobile. |
| content.regions[] | string | Node UUID. |
| content.regionsInfo | array or object | Historical node display may be a UUID array, object array, or UUID-keyed mapping; on creation/modification, it is usually the input UUID array. |
| content.regionsInfo[] | string or object | Node UUID or saved node details. |
| 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 | Individual display name. |
| content.regionsInfo.Node UUID | string or object | Node details in the historical UUID-key mapping, with the same semantics as node details in arrays. |
| content.task | object | Complete saved task configuration; does not include real-time Synthetic Test results. |
| content.task.status | string | ok enabled/stop stopped; local configuration value does not guarantee full remote synchronization. |
| content.task.external_id | string | Some regular write responses may contain a server-side task identifier; list/get remove this internal key, and 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 remove it, and it is not submitted. |
| content.task.post_url | string | Some legacy regular write responses may include a server-side reporting URL; list/get remove 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 a whitelist for this public write entry point. |
| content.remoteStatus | string | For Mobile, fixed to unknown; read locally only; does not query the platform in real time. |
| content.creator | string | Creator identity. |
| content.updator | string | Updater identity. |
| content.createAt | integer | Creation Unix seconds. |
| content.updateAt | integer | Update Unix seconds. |
| content.deleteAt | integer | Deletion Unix seconds; -1 if not deleted. |
| content.task.name | string | Required; after trim, 1..256 Python characters; the trimmed result is saved; all Synthetic Test types share uniqueness among non-deleted names. When modifying, provide the complete name. |
| content.task.frequency | string | Required with no default; free/Free Plan Workspaces only support 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, must be non-empty and pass Cron parsing; frequency is still required by the public contract; Mobile does not accept this field. Time zone/execution cadence must be validated against the actual node environment and cannot be treated as a Unix timestamp. |
| content.task.url | string | Fill in according to the HTTP/WebSocket protocol; optional at the public layer but required for task execution. Not used for Mobile; for Mobile, fill in address. Browser tasks have additional restrictions at the current entry point. |
| content.task.method | string | Required for HTTP business; if missing, MissingMethod is reported. Omit for other protocols; not all methods are guaranteed to be supported by the executor. |
| content.task.success_when_logic | string | Optional and/or; the executor usually defaults to and; NetPath must be explicitly specified; this does not control alert notification policies. |
| content.task.success_when | array | Required for HTTP when post_script is not non-empty, and for TCP/ICMP/WebSocket/SSL; DNS must have 1..20 valid leaves; NetPath must have a single outer object. Structures for different protocols cannot be mixed. Saving does not require real-time execution to succeed. |
| content.task.success_when[] | json | Single condition object; outer condition logic is controlled by success_when_logic. Inner condition semantics are validated by the corresponding executor. |
| content.task.enable_traceroute | boolean | Optional; if omitted, Studio does not fill a unified default; NetPath uses its own path protocol and does not share 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, non-empty after trim; no HTTP URL scheme is required. For Mobile TCP, fill in address=host:port instead. |
| content.task.port | string | Required for TCP/SSL business; NetPath TCP/UDP 1..65535 and numeric only (leading zeros may be retained); ICMP ignores it. DNS uses 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 pin the connection IP, retain the original service identity; do not directly enter an IP in place of the SNI. |
| content.task.timeout | string | For TCP, an integer-second string from 1s..60s; DNS defaults to 10s, executor range is (0,60s], and variable templates can be used; ICMP/SSL depends on executor support, and Studio does not fill a unified default. NetPath uses advance_options.timeout. |
| content.task.ignore_server_certificate_error | boolean | Optional for SSL; if omitted, the executor's secure default applies; the DNS certificate ignore switch is in certificate. |
| content.task.message | string | Required for WebSocket business; UTF-8 must not exceed 128KiB; not used for Mobile TCP tcpData. |
| content.task.post_mode | string | Optional; executor selection method; whether Studio HTTP needs success_when is actually determined by whether post_script is non-empty, not only by this field. |
| content.task.post_script | string | Optional; an empty string means no script is provided. For HTTP, when non-empty, success_when can be omitted; DNS/NetPath/Mobile do not bypass their dedicated whitelists and validation due to a script. |
| content.task.advance_options | json | Optional object; NetPath is required 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 | Reserved by the public contract but cannot replace the required browser_config. Currently, public creation/modification of browser cannot pass the 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 from request header names to string values; do not write real credentials into examples. |
| content.task.advance_options.request_options.headers.Header name | string | Applies to HTTP/WebSocket; optional; dynamic request header value; the name is the header required by the actual 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/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 retain the necessary business content. |
| content.task.advance_options.request_body.form | json | Applies to HTTP/WebSocket; optional; mapping from multipart form fields to strings; 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; total HTTP timeout duration; executor default 60s; Studio does not replace validation by the actual executor. |
| content.task.advance_options.protocol | string | Applies to HTTP/WebSocket; optional; HTTP protocol auto/http/1.1/http/2/http/2-only/http/3; support depends on the node version; do not configure a proxy at the same time as HTTP3. |
| content.task.advance_options.certificate | json | Applies to HTTP/WebSocket; optional; request TLS certificate configuration. |
| content.task.advance_options.certificate.ignore_server_certificate_error | boolean | Applies to HTTP/WebSocket; optional; whether to ignore certificate 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 directly according to its protocol. |
| content.task.advance_options.proxy | json | Applies to HTTP/WebSocket; optional; HTTP proxy object; do not assume a 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.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; does not replace masking of returned documents/logs. |
| content.task.success_when[].body | array | Optional assertion set; key names follow the actual response; use only comparisons supported by the executor. |
| content.task.success_when[].body[].contains | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].body[].not_contains | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].body[].is | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].body[].is_not | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].body[].match_regex | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].body[].not_match_regex | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].header.Response header name | array | Optional assertion set; 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; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].header.Response header name[].not_contains | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].header.Response header name[].is | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].header.Response header name[].is_not | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].header.Response header name[].match_regex | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].header.Response header name[].not_match_regex | string | Single text comparison; choose according to the required operation; regex semantics are validated by the executor; a successful save does not prove a match. |
| content.task.success_when[].header | json | Optional mapping from header names to condition sets. |
| content.task.success_when[].status_code | array | Optional HTTP status assertion set; 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, a duration threshold string; for legacy TCP/ICMP, it can be a condition array; see the corresponding leaf field for the response time unit; it cannot be uniformly interpreted 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; established/refused/timeout connection result. |
| content.task.domain | string | Required for the business; domain to query; verified variable templates can be used. |
| content.task.dns_server | string | Required for non-DoH; server domain/IP, excluding the port; for DoH it can be derived from the URL. |
| content.task.server_ip | string | Optional fixed connection IP; retains the logical server identity; if omitted, the executor resolves it. |
| content.task.record_types | array | Optional A/AAAA/CNAME/MX/NS/TXT; can be inferred from assertions; executor default A. |
| content.task.record_types[] | string | Single record type or valid variable template. |
| content.task.protocol | string | For DNS, select auto/udp/tcp/dot/doh/doq (omit for auto); for NetPath, select tcp/udp/icmp (required); for Mobile, select 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 DoH URL. |
| 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 HTTP request header string mapping. |
| content.task.doh.headers.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, 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 validation. |
| 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 have only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_a[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_a[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_aaaa[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_cname[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_cname[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_mx[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_mx[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_ns[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_ns[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].at_least_one_record.of_type_txt[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].at_least_one_record.of_type_txt[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].every_record.of_type_a[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_a[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].every_record.of_type_aaaa[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_aaaa[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].every_record.of_type_cname[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_cname[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].every_record.of_type_mx[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_mx[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].every_record.of_type_ns[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_ns[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 have only one comparison key. |
| content.task.success_when[].every_record.of_type_txt[].exists | boolean | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].is | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].contains | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must total 1..20, and each item cannot contain multiple operations at the same time. |
| content.task.success_when[].every_record.of_type_txt[].not_match_regex | string | Single DNS condition; exists can only be true, and other values must be non-empty strings. All DNS conditions must 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 integer 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; if empty, it is deleted. |
| content.task.advance_options.target_name | string | NetPath only; optional target display name, ≤128 characters after trim; if empty, it is deleted. |
| content.task.success_when[].e2e_rtt_avg | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_avg[].op | string | For status, only eq is allowed; for numeric/duration 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 cannot be used. |
| content.task.success_when[].e2e_rtt_min | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_min[].op | string | For status, only eq is allowed; for numeric/duration 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 cannot be used. |
| content.task.success_when[].e2e_rtt_max | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_max[].op | string | For status, only eq is allowed; for numeric/duration 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 cannot be used. |
| content.task.success_when[].e2e_rtt_variation_avg | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_variation_avg[].op | string | For status, only eq is allowed; for numeric/duration 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 cannot be used. |
| content.task.success_when[].e2e_rtt_variation_max | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_rtt_variation_max[].op | string | For status, only eq is allowed; for numeric/duration 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 cannot be used. |
| content.task.success_when[].e2e_probe_loss_percent | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_probe_loss_percent[].op | string | For status, only eq is allowed; for numeric/duration values, lt/gt/leq/geq/eq are allowed. |
| content.task.success_when[].e2e_probe_loss_percent[].target | number | Packet loss percentage 0..100, JSON number. |
| content.task.success_when[].hop_count | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].hop_count[].op | string | For status, only eq is allowed; for numeric/duration values, lt/gt/leq/geq/eq are allowed. |
| content.task.success_when[].hop_count[].target | integer | Non-negative JSON integer for hop count. |
| content.task.success_when[].e2e_status | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].e2e_status[].op | string | For status, only eq is allowed; for numeric/duration values, lt/gt/leq/geq/eq are allowed. |
| content.task.success_when[].e2e_status[].target | string | Status reached/partial/failed; e2e_status additionally allows unknown. |
| content.task.success_when[].traceroute_status | array | Non-empty condition array; select at least one metric; unknown metrics cannot be added. |
| content.task.success_when[].traceroute_status[].op | string | For status, only eq is allowed; for numeric/duration values, lt/gt/leq/geq/eq are allowed. |
| content.task.success_when[].traceroute_status[].target | string | Status reached/partial/failed; e2e_status additionally allows unknown. |
| content.task.config_vars | array | Optional, default []; NetPath allows only []; Mobile does not support it; modification rebinds the input set. IDs referenced by DNS must all belong to valid variables in the current Workspace; they are not silently filtered. |
| content.task.config_vars[].id | string | DNS validates the type using these fields; global variable UUID; required when type=global. |
| content.task.config_vars[].type | string | DNS validates the type using these fields; global or a local type for the current task; Browser secret types secret/password/secure have separate retention rules. |
| content.task.config_vars[].name | string | DNS validates the type using these fields; variable name referenced by the template. |
| content.task.config_vars[].value | string | DNS validates the type using these fields; local variable value; inject from a secure source; omit fields that do not apply. |
| content.task.config_vars[].example | string | DNS validates the type using these fields; preview/example value; not a substitute for the actual target source. |
| content.task.config_vars[].secure | boolean | DNS validates the type using these fields; whether it is a secure variable; 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 forbidden; valid ports/paths/Query are allowed; TCP must have a valid port; ping cannot include a port. |
| content.task.nodeSelection | json | Required for Mobile; must have exactly the three keys mode/ids/sampleCount; saves a snapshot and does not dynamically follow the template. nodes only validates the ID structure and retains the original IDs/order; it does not guarantee real-time existence or mapping; groups queries the current group and members and verifies the node set. |
| content.task.nodeSelection.mode | string | Required for Mobile; nodes specifies nodes; groups specifies node groups. |
| content.task.nodeSelection.ids | array | Required for Mobile; non-empty, unique string array; use 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 alphanumeric characters, underscores, and hyphens. |
| 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 {}; replaced completely. For HTTP, when legacy detection fields exist, a modification must explicitly provide the object; only omitting a detection field from the object clears it; an empty string/null/empty array is not a clear instruction. HTTP defaults to httpMethod=GET, ping defaults to pingType=1; Studio does not fill defaults for other numeric values. |
| content.task.protocolOptions.httpMethod | string | http only; optional; if omitted, platform default applies; GET/POST. |
| content.task.protocolOptions.body | string | http only; optional; if omitted, platform default applies; request body string. |
| content.task.protocolOptions.httpHost | json | http only; optional; if omitted, platform default applies; string mapping, configured according to the target Host. |
| content.task.protocolOptions.httpHost.Key name | string | Dynamic string member; variable templates are not allowed (except expectedResponseBody). |
| content.task.protocolOptions.httpParams | json | http only; optional; if omitted, platform default applies; 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; if omitted, platform default applies; 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; if omitted, platform default applies; non-empty raw-text contains match; no trim is performed, and template markers in it are not interpreted. |
| content.task.protocolOptions.expectedResponseCode | array | http only; optional; if omitted, platform default applies; non-empty JSON integer array; allows a set of codes; do not mix with text regex; the combined evaluation of multiple checks is subject to the actual contract of the execution platform. |
| content.task.protocolOptions.expectedResponseCode[] | integer | http only; optional; if omitted, platform default applies; single JSON integer code; strings/booleans are not allowed. |
| content.task.protocolOptions.dnsHost | string | dns only; optional; if omitted, platform default applies; DNS server/host string. |
| content.task.protocolOptions.dnsIpVerify | string | dns only; optional; if omitted, platform default applies; expected DNS resolved IP string. |
| content.task.protocolOptions.tcpHost | string | tcp only; optional; if omitted, platform default applies; TCP target Host configuration. |
| content.task.protocolOptions.tcpTimeoutMs | integer | tcp only; optional; if omitted, platform default applies; timeout 1..10000 ms. |
| content.task.protocolOptions.tcpData | string | tcp only; optional; if omitted, platform default applies; text data to send. |
| content.task.protocolOptions.tcpVerify | string | tcp only; optional; if omitted, platform default applies; expected response text. |
| content.task.protocolOptions.pingType | integer | ping only; optional; if omitted, platform default applies; 1/2; defaults to 1 if omitted. |
| content.task.protocolOptions.pingCount | integer | ping only; optional; if omitted, platform default applies; number of packets sent, 1..10. |
| content.task.protocolOptions.pingTimeoutMs | integer | ping only; optional; if omitted, platform default applies; timeout 1..10000 ms. |
| content.task.protocolOptions.taskTimeoutMs | integer | http/dns/tcp/ping only; optional; if omitted, platform default applies; task timeout 1..10000 ms. |
| content.task.protocolOptions.flowLimit | integer | http/dns/tcp/ping only; optional; if omitted, platform default applies; platform traffic limit integer 1..10; Studio does not define additional unit conversion. |
| content.tagInfo | array<object> | Valid tag summary, [] when empty; regular modifications may omit it, Mobile modifications return it. On read, id is a database number; on write, the generated summary id can be a tag UUID string. |
| content.tagInfo[].id | integer or string | On read, a database number; on write, a tag UUID. |
| content.tagInfo[].uuid | string | Tag UUID on read; can be omitted in the write branch. |
| content.tagInfo[].name | string | Tag name. |
| content.tagInfo[].description | string | Tag description on read. |
| content.tagInfo[].colour | string | Tag color on read. |
| content.tagInfo[].scope | array<string> | Write summaries may include normalized scopes. |
| content.tagInfo[].scope[] | string | Single scope. |
| content.ifContainExpiredRegion | boolean | Whether identified expired nodes are included. If the node service read fails, this may degrade to false; this is not a real-time availability guarantee. |
| content.expiredRegionList | array<string> | get only: list of display names for identified expired nodes; [] for Mobile. |
| content.expiredRegionList[] | string | Node display name. |
| content.selectedNodeMappings | array<object> | Mobile details only: static display mappings for selected nodes; [] if groups or mappings are missing; does not prove current real-time availability. |
| content.selectedNodeMappings[].nodeId | string | Selected node ID. |
| content.selectedNodeMappings[].network | string | Static network type. |
| content.selectedNodeMappings[].client_type | string | Static client type. |
| content.selectedNodeMappings[].continent | object or null | Static region/operator label; defaults to null. |
| content.selectedNodeMappings[].continent.code | string | Source code. |
| content.selectedNodeMappings[].continent.zh | string | Chinese display name. |
| content.selectedNodeMappings[].continent.en | string | English display name. |
| content.selectedNodeMappings[].country | object or null | Static region/operator label; defaults to null. |
| content.selectedNodeMappings[].country.code | string | Source code. |
| content.selectedNodeMappings[].country.zh | string | Chinese display name. |
| content.selectedNodeMappings[].country.en | string | English display name. |
| content.selectedNodeMappings[].province | object or null | Static region/operator label; defaults to null. |
| content.selectedNodeMappings[].province.code | string | Source code. |
| content.selectedNodeMappings[].province.zh | string | Chinese display name. |
| content.selectedNodeMappings[].province.en | string | English display name. |
| content.selectedNodeMappings[].city | object or null | Static region/operator label; defaults to null. |
| content.selectedNodeMappings[].city.code | string | Source code. |
| content.selectedNodeMappings[].city.zh | string | Chinese display name. |
| content.selectedNodeMappings[].city.en | string | English display name. |
| content.selectedNodeMappings[].operator | object or null | Static region/operator label; defaults to null. |
| content.selectedNodeMappings[].operator.code | string | Source code. |
| content.selectedNodeMappings[].operator.zh | string | Chinese display name. |
| content.selectedNodeMappings[].operator.en | string | English display name. |
| content.declaration | object or null | Workspace public declaration attached to a non-empty response business object; when not configured, it may be null or an empty object; 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": "Site Availability",
"frequency": "5m",
"method": "GET",
"url": "https://example.com/health",
"success_when": [
{
"status_code": [
{
"is": "200"
}
]
}
],
"status": "ok"
},
"creator": "wsak_example",
"updator": "wsak_example",
"createAt": 1785427200,
"updateAt": 1785427200,
"deleteAt": -1,
"tagInfo": [],
"ifContainExpiredRegion": false,
"expiredRegionList": [],
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Error Responses¶
For authentication, rate limiting, and common request errors, see Common Error Definitions.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Handling |
|---|---|---|---|---|
| 404 | ft.ObjectNotExists | No such non-deleted task in this Workspace | The specified object does not exist | Retrieve a valid uuid again from the list; deleted objects cannot be restored through this API. |
| 500 | ft.InternalServerError | Uncaught exception in brand/Workspace/database/legacy JSON format or result assembly | Internal error | Narrow it down to the specific task UUID for verification and retain the traceId. Failure to fetch expired nodes may cause degradation; do not use false to conclude that nodes are normal. |