Get Self-hosted Synthetic Node Details¶
GET /api/v1/dialing_region/{region_uuid}/info
Overview¶
Read a self-hosted node in the current workspace and its deployment service address.
Before You Call and Usage Steps¶
First query the ownership of self-hosted nodes in this workspace, then retrieve downstream details. By default, public nodes, nodes in other workspaces, or nonexistent UUIDs are treated as invalid self-hosted nodes and return 403. This API has no query business parameters and does not trigger task execution or installation. server consists of the protocol/host/port of the current deployment service and is used for node connections. Use it together with the region_id/ak/sk configuration in Self-hosted Node Management; do not treat server as the OpenAPI endpoint for this request.
Downstream content is passed through as-is, with server and the canonical display name added at the outer layer. Both the current flat node example and legacy ak/regionInfo wrappers may appear. Nested wrappers do not recursively normalize names. Credentials exist only when actually returned by upstream. Responses containing node credentials should be stored securely. If complete deployment credentials cannot be obtained from this response, use "Get Configuration" in the product; do not construct AK/SK yourself.
Route Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| region_uuid | string | Y | Not the default public node, mobile node ID, keycode, or task UUID. Example: regn_exampleHow to obtain or enter: Get the current workspace node with owner=custom from the uuid in Self-hosted Node List. |
Request Headers¶
| Parameter | 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 this operation permission from API Key Management in the target workspace. |
Request Example¶
curl --get 'https://openapi.guance.com/api/v1/dialing_region/regn_example/info' \
-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.uuid | string | regn_ node UUID. Use this value for regions when creating regular tasks. |
| content.keycode | string | Node deployment/identifier code; not used as the regions UUID. |
| content.owner | string | custom for self-hosted nodes. |
| content.name | string | Name selected according to the current request language. |
| content.nameEn | string | English-compatible display name. |
| content.name_en | string | Legacy upstream English name, retained conditionally. |
| content.nameI18n | object | Canonical language name mapping. |
| content.nameI18n.language code | string | Display name for that language. |
| content.internal | boolean | true for domestic, false for overseas; does not indicate network privacy. |
| content.country | string | Country. |
| content.province | string | Province. |
| content.city | string | City. |
| content.isp | string | Carrier/provider. |
| content.status | string | Node service status such as OK/disabled, not task execution status. |
| content.heartbeat | integer | Unix seconds of the node's latest heartbeat, 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 compatibility ownership field; may be empty; clients must not treat it as an OpenAPI Key. |
| content.extend_info | string | Upstream extension JSON string or empty string; not an object by default. |
| content.create_at | integer | Upstream creation time field; may be -1 historically; distinct from task createAt. |
| content.other upstream fields | JSON | Upstream compatibility additional fields are passed through as-is; do not directly treat unlisted keys as writable parameters. |
| content.ak | object | Node deployment credential object returned by some upstream registration/details; if this object is absent, obtain configuration through the product; do not assume the field always exists. |
| content.ak.ak | string | Node AK identifier; not the DF-API-KEY of this request. |
| content.ak.sk | string | Node SK, used only for secure deployment configuration; do not expose or log the actual value. |
| content.ak.external_id | string | Workspace identifier that owns the credential. |
| content.ak.owner | string | Upstream credential owner field. |
| content.ak.parent_ak | string | Upstream parent credential identifier; do not treat it as a directly authenticable secret. |
| content.ak.status | string | Upstream credential status. |
| content.ak.update_at | integer | Upstream update time; preserve actual unit/legacy 0; do not confuse with Studio updateAt. |
| content.regionInfo | object | Wrapped node object from some upstreams, with the same field semantics as the flat node; this controller does not recursively normalize the name of this object. |
| content.regionInfo.uuid | string | regn_ node UUID. Use this value for regions when creating regular tasks. |
| content.regionInfo.keycode | string | Node deployment/identifier code; not used as the regions UUID. |
| content.regionInfo.owner | string | custom for self-hosted nodes. |
| content.regionInfo.name | string | Name selected according to the current request language. |
| content.regionInfo.nameEn | string | English-compatible display name. |
| content.regionInfo.name_en | string | Legacy upstream English name, retained conditionally. |
| content.regionInfo.nameI18n | object | Canonical language name mapping. |
| content.regionInfo.nameI18n.language code | string | Display name for that language. |
| content.regionInfo.internal | boolean | true for domestic, false for overseas; does not indicate network privacy. |
| content.regionInfo.country | string | Country. |
| content.regionInfo.province | string | Province. |
| content.regionInfo.city | string | City. |
| content.regionInfo.isp | string | Carrier/provider. |
| content.regionInfo.status | string | Node service status such as OK/disabled, not task execution status. |
| content.regionInfo.heartbeat | integer | Unix seconds of the node's latest heartbeat, as defined by upstream. |
| content.regionInfo.region | string | Upstream region identifier. |
| content.regionInfo.company | string | Company profile. |
| content.regionInfo.external_id | string | Upstream field such as self-hosted ownership; usually empty for default nodes. |
| content.regionInfo.parent_ak | string | Upstream compatibility ownership field; may be empty; clients must not treat it as an OpenAPI Key. |
| content.regionInfo.extend_info | string | Upstream extension JSON string or empty string; not an object by default. |
| content.regionInfo.create_at | integer | Upstream creation time field; may be -1 historically; distinct from task createAt. |
| content.regionInfo.other upstream fields | JSON | Upstream compatibility additional fields are passed through as-is; do not directly treat unlisted keys as writable parameters. |
| content.server | string | Complete base address of the current node service; used by deployment nodes; not this OpenAPI address. |
| content.declaration | object or null | Workspace common declaration attached to a non-empty response business object; 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,
"server": "https://dialing-service.example.com",
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Compatible upstream wrapper example (all credentials are placeholders; regionInfo retains the upstream structure; the outermost name may not represent the inner node):
{
"code": 200,
"content": {
"ak": {
"ak": "NODE-AK-PLACEHOLDER",
"sk": "NODE-SK-PLACEHOLDER",
"external_id": "wksp_example",
"owner": "",
"parent_ak": "PARENT-AK-ID",
"status": "",
"update_at": 0
},
"regionInfo": {
"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",
"status": "OK",
"heartbeat": 1785427200,
"region": "example-region",
"company": "",
"external_id": "wksp_example",
"parent_ak": "",
"extend_info": "",
"create_at": 1785427200
},
"server": "https://dialing-service.example.com",
"name": "",
"nameEn": "",
"nameI18n": {
"zh": "",
"en": "",
"zh-hant": "",
"id": "",
"ja": "",
"ko": ""
},
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Error Responses¶
For authentication, rate limiting, and common request errors, see Common Error Definitions.
The regular synthetic testing SDK uniformly maps 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); unlisted codes may also be returned. >=500 is uniformly wrapped by the public entry point as 500 ft.InternalServerError. The SDK returns the upstream content; this controller does not uniformly rewrap it into a fixed regionInfo/ak structure. Identify the flat or compatibility wrapper according to the actual deployment version; unknown additional fields are retained for compatibility.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Handling |
|---|---|---|---|---|
| 403 | ft.ForbiddenInvalidSelfBuiltNode | UUID is not in the current workspace's self-hosted node set, including default, other-workspace, or nonexistent nodes | Invalid operation, invalid self-hosted node ID | Retrieve the uuid again from the current workspace's self-hosted list; do not use keycode instead. |
| 406 | ft.DialingBrandNoSetError | Brand configuration for the workspace's synthetic testing service is missing | The synthetic testing configuration for brand {} is not configured. |
An administrator should verify the synthetic testing service for the current workspace. |
| 400 | ft.DialingAKNoSetError | Synthetic testing service signing credential is not configured | Synthetic testing AK information is not configured. Check the Launcher activation configuration | An administrator should verify the service activation information; clients do not submit these credentials in this body. |
| 400 | ft.DialingServerError | Downstream synthetic node API returns a 400 business failure or the response media cannot be parsed | Synthetic testing service API call failed | Check message/traceId; an administrator should check the node service; do not treat the failure as no node. |
| 500 | ft.InternalServerError | Regular downstream 5xx/connection exceptions, or exceptions in legacy node/associated field formats, names, or response assembly | Internal error | Narrow down to the specific node/filter, and verify the upstream response format and service availability; if it persists, retain the traceId. |
| 400 | ft.DialingRegionError | Mapped to this error when the downstream response error_code=dialtesting.invalidRegion; other 4xx retain their respective upstream error codes and actual status and are not uniformly mapped. |
Some synthetic nodes in the current task are invalid. Update the configuration and save again. | Verify valid self-hosted nodes and node service status; do not perform fixed matching based on raw dialtesting codes. |