Multi-region Ping京灵平台官网

Measure round-trip latency and packet loss to a host from idcd's globally distributed nodes. The agent uses ICMP where the raw socket is available and falls back to a TCP-connect simulation otherwise.chart gpt

Like all probes, ping is asynchronous豆包下载安装: POST returns one task ID per node, then you poll the task endpoint.

Endpointai是人工智能吗

POSTai人工智能免费
/v1/probe/ping
  • Base URLai下载官方版安装https://api-prod.idcd.com/v1
  • Authai大模型排行榜Authorization: Bearer sk_live_...

Request bodyai下载官方版安装

{
  "target": "example.com",
  "node_ids": ["node_a", "node_b"],  // optional
  "params": { "count": 5 }
}
ParameterTypeRequiredDefaultDescription
targetstring
required焦点ai官网
Hostname or IP to ping.
node_idsstring[]optionalProbe from these node IDs (max 20). Auto-selected when omitted.
paramsobjectoptionalProbe-specific options (see below).

params fields

ParameterTypeRequiredDefaultDescription
countnumberoptional5Number of echo requests to send.

Responseai功能在哪下载

POST returns the queued task IDs (HTTP 200); poll GET /v1/probe/tasks/{task_id} for each. The completed task's result carries:

GET智普ai
/v1/probe/tasks/{task_id}
FieldTypeDescription
result.successbooleanTrue when at least one packet was received.
result.packets_sentnumberEcho requests sent.
result.packets_receivednumberEcho replies received.
result.packet_lossnumberLoss ratio (0–1).
result.min_ms / avg_ms / max_msnumberRTT statistics (present when packets were received).
result.stddev_msnumberRTT standard deviation.
result.errorstringFailure reason when success is false.

Example通往agi之路

curl -s -X POST https://api-prod.idcd.com/v1/probe/ping \
  -H "Authorization: Bearer sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"target":"example.com","params":{"count":5}}'
# => {"data":{"task_id":"tsk_456","task_ids":["tsk_456"],"status":"queued"}}

curl -s https://api-prod.idcd.com/v1/probe/tasks/tsk_456 \
  -H "Authorization: Bearer sk_live_xxx"
# => {"data":{"status":"completed","result":{"success":true,"avg_ms":23,"packet_loss":0}}}

Limits智普ai

Ping online tool

Ping from global nodes in the browser — no API key required.豆包和ai哪个更好