Skip to content

Get Self-hosted Synthetic Test Node List



GET /api/v1/dialing_region/list

Overview

Retrieve the list of self-hosted Synthetic Test nodes in the current workspace.

Before Calling and Usage Steps

Only nodes with owner=custom that belong to this workspace are included; default public nodes and mobile resources are excluded. If isAlive is omitted, liveness is not restricted; true returns only alive nodes, and false returns only non-alive nodes. Results are sorted in descending order by the upstream create_at and have no pagination or total count. Names are displayed using fallback based on the current request language; nameI18n retains the multilingual mapping.

createAt/creator/updateAt/updator are completed from extend_info and differ from the upstream create_at/heartbeat; the list additionally supplements identity profiles, with {} when missing. The node uuid in the list is used for regions in standard tasks; a node that is successfully registered but not installed/has not sent a heartbeat is not necessarily online. See Self-hosted Node Management for installation and acceptance; default nodes use the Default Region List, and mobile nodes use the mobile resource entry.

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 in: Obtain an OpenAPI Key with the required permissions from API Key Management in the target workspace.

Query Request Parameters

Parameter Name Type Required Description
isAlive string Optional; if omitted, liveness is not restricted; a query string, not a JSON boolean or task ok/stop.
Allows null: True
Allowed values: ['true', 'false']
Example: true
How to obtain or fill in: Select the true/false string based on whether to view only online nodes.

Request Example

curl --get 'https://openapi.guance.com/api/v1/dialing_region/list' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  --data-urlencode isAlive=true

Response

HTTP 200, application/json. The example below shows the main fields that can be read directly.

Field Type Description
content array<object> Array of self-hosted nodes; empty [] when none; does not contain pageInfo.
content[].uuid string regn_ node UUID; use this value when creating regions for standard tasks.
content[].keycode string Node deployment/identifier code; not used as the regions UUID.
content[].owner string Self-hosted node owner: custom.
content[].name string Name selected according to the current request language.
content[].nameEn string English-compatible display name.
content[].name_en string Legacy English name from upstream; retained conditionally.
content[].nameI18n object Canonical language name mapping.
content[].nameI18n. string Display name for that language.
content[].internal boolean true for domestic (China), false for overseas; does not indicate network privacy.
content[].country string Country.
content[].province string Province.
content[].city string City.
content[].isp string ISP/provider.
content[].status string Node service status, such as OK/disabled; not task execution status.
content[].heartbeat integer Most recent node heartbeat in Unix seconds, as defined by upstream.
content[].region string Upstream region identifier.
content[].company string Company profile.
content[].external_id string Upstream field such as self-hosted ownership; usually empty for default nodes.
content[].parent_ak string Upstream-compatible ownership field; may be empty; clients do not treat it as an OpenAPI Key.
content[].extend_info string Upstream extended JSON string or empty string; not an object by default.
content[].create_at integer Upstream creation time field; may be -1 for historical data; different from the task createAt.
content[].Other upstream fields JSON Upstream-compatible additional fields are passed through as-is; do not treat unlisted keys directly as writable parameters.
content[].createAt integer Creation time in Unix seconds read from extend_info; -1 if missing.
content[].creator string Creator identity read from the extension; empty string if missing.
content[].updateAt integer Update time in Unix seconds read from the extension; -1 if missing.
content[].updator string Updater identity read from the extension; empty string if missing.
content[].creatorInfo object Identity profile supplemented only in the list; {} if no match.
content[].creatorInfo.uuid string Returned conditionally; identity UUID.
content[].creatorInfo.name string Returned conditionally; display name.
content[].creatorInfo.email string Returned conditionally; email.
content[].creatorInfo.username string Returned conditionally; login name.
content[].creatorInfo.status integer Returned conditionally; account status.
content[].creatorInfo.wsAccountStatus integer Returned conditionally; workspace relationship status.
content[].creatorInfo.iconUrl string Returned conditionally; avatar URL.
content[].creatorInfo.mobile string Returned conditionally; mobile number.
content[].creatorInfo.countryCode string Returned conditionally; mobile country code.
content[].creatorInfo.acntWsNickname string Returned conditionally; workspace nickname.
content[].updatorInfo object Identity profile supplemented only in the list; {} if no match.
content[].updatorInfo.uuid string Returned conditionally; identity UUID.
content[].updatorInfo.name string Returned conditionally; display name.
content[].updatorInfo.email string Returned conditionally; email.
content[].updatorInfo.username string Returned conditionally; login name.
content[].updatorInfo.status integer Returned conditionally; account status.
content[].updatorInfo.wsAccountStatus integer Returned conditionally; workspace relationship status.
content[].updatorInfo.iconUrl string Returned conditionally; avatar URL.
content[].updatorInfo.mobile string Returned conditionally; mobile number.
content[].updatorInfo.countryCode string Returned conditionally; mobile country code.
content[].updatorInfo.acntWsNickname string Returned conditionally; workspace nickname.
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": [
    {
      "uuid": "regn_example",
      "keycode": "example-self-node",
      "owner": "custom",
      "name": "生产自建节点",
      "nameEn": "Production self node",
      "nameI18n": {
        "zh": "生产自建节点",
        "en": "Production self node"
      },
      "internal": true,
      "country": "China",
      "province": "Zhejiang",
      "city": "Hangzhou",
      "isp": "example-isp",
      "status": "OK",
      "heartbeat": 1785427200,
      "region": "example-region",
      "company": "example",
      "external_id": "wksp_example",
      "parent_ak": "",
      "extend_info": "{\"createAt\":1785427200,\"updateAt\":1785427200,\"creator\":\"wsak_example\",\"updator\":\"wsak_example\"}",
      "create_at": 1785427200,
      "creator": "wsak_example",
      "updator": "wsak_example",
      "createAt": 1785427200,
      "updateAt": 1785427200,
      "creatorInfo": {},
      "updatorInfo": {},
      "declaration": {}
    }
  ],
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Responses

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

The standard Synthetic Test SDK uniformly maps the downstream error_code=dialtesting.invalidRegion to ft.DialingRegionError and preserves the actual HTTP status (not limited to 400); other downstream 4xx responses preserve the actual HTTP status and error_code/message (including upstream codes without the ft prefix), and unlisted codes may also be returned; responses >=500 are uniformly wrapped by the public entry point as 500 ft.InternalServerError. The SDK returns the upstream content; this controller does not uniformly re-wrap it into a fixed regionInfo/ak structure. You must identify flat or compatible wrapping according to the actual deployment version; unknown additional fields are retained for compatibility.

HTTP Status errorCode Trigger Condition Message or Response Description Handling Method
406 ft.ParameterValidationFailed Request field is missing, or the field value violates the declared validation conditions Parameter parsing failed Check the parameter location, field name, type, and value.
406 ft.DialingBrandNoSetError The Synthetic Test service brand configuration for the workspace is missing No Synthetic Test configuration for the {} brand is configured. Ask the administrator to check the Synthetic Test service for the current workspace.
400 ft.DialingAKNoSetError Synthetic Test service signing credentials are not configured Synthetic Test AK information is not configured; check the Launcher activation configuration Ask the administrator to check the service activation information; the client does not submit these credentials in this body.
400 ft.DialingServerError The downstream Synthetic Test node API returns a 400 business failure or the response media cannot be parsed Synthetic Test service API call failed Check message/traceId and ask the administrator to inspect the node service; do not treat the failure as no nodes.
500 ft.InternalServerError Regular downstream 5xx/connection exceptions, or exceptions in historical node/associated field formats, names, and response assembly Internal error Narrow down to the specific node/filter, and verify the upstream response format and service availability; if the failure persists, retain the traceId.
400 ft.DialingRegionError Mapped to this error when the downstream response has error_code=dialtesting.invalidRegion; other 4xx responses retain their respective upstream error codes and actual statuses and are not uniformly mapped. Some Synthetic Test nodes in the current task are invalid. Update the configuration and save it again. Verify valid self-hosted nodes and node service status; do not perform fixed matching based on the raw dialtesting code.

Feedback

Is this page helpful?