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.京灵平台官网

Like all probes, ping is asynchronous通往agi之路: POST returns one task ID per node, then you poll the task endpoint.

Endpoint豆包和ai哪个更好

POSTai是人工智能吗
/v1/probe/ping
  • Base URL京灵平台官网 — https://api-prod.idcd.com/v1
  • Authai那个最好用 — Authorization: Bearer sk_live_...

Request body智普ai

{
  "target": "example.com",
  "node_ids": ["node_a", "node_b"],  // optional
  "params": { "count": 5 }
}
ParameterTypeRequiredDefaultDescription
targetstring
required石头扫地机器人官网
—Hostname or IP to ping.
node_idsstring[]optional—Probe from these node IDs (max 20). Auto-selected when omitted.
paramsobjectoptional—Probe-specific options (see below).

params fields

ParameterTypeRequiredDefaultDescription
countnumberoptional5Number of echo requests to send.

Responsesaylo国际版

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

GETai那个最好用
/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.

Exampleai人工智能免费

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}}}

Limitschart gpt

Ping online tool

Ping from global nodes in the browser — no API key required.ai大模型排行榜