HTTP / HTTPS probesaylo国际版

Probe an HTTP/HTTPS endpoint from idcd's globally distributed nodes and capture reachability, phased timing, status code and TLS details — per node.saylo国际版

The probe is asynchronousai人工智能对话: you POST a request and receive one task ID per node, then poll the task endpoint for results.

Endpointsaylo国际版

POSTchart gpt
/v1/probe/http
  • Base URLsaylo国际版https://api-prod.idcd.com/v1
  • Authai人工智能对话Authorization: Bearer sk_live_... (a live API key; use sk_test_... against the test environment)

Request bodyai是人工智能吗

{
  "target": "https://example.com",
  "node_ids": ["node_a", "node_b"],  // optional; one task is created per node
  "params": {                          // probe-specific options, nested here
    "method": "GET",
    "follow_redirects": true
  }
}
ParameterTypeRequiredDefaultDescription
targetstring
requiredagi和ai的区别
Target URL. A scheme is added (https://) when omitted.
node_idsstring[]optionalProbe from these node IDs (max 20). When omitted, idcd auto-selects nodes. List nodes via GET /v1/nodes.
paramsobjectoptionalProbe-specific options (see below). A flat body is silently ignored — options must be nested under params.

params fields

ParameterTypeRequiredDefaultDescription
methodstringoptionalGETHTTP method (GET / HEAD / POST / PUT / DELETE / OPTIONS / PATCH).
headersobjectoptionalCustom request headers as a string→string map.
follow_redirectsbooleanoptionaltrueFollow up to 5 redirects. SSRF policy re-validates every hop.
insecure_skip_verifybooleanoptionalfalseSkip TLS certificate verification. Result is flagged tls_verification_skipped.

Responseai人工智能免费

POST returns immediately with the queued task IDs (HTTP 200):

FieldTypeDescription
task_idstringFirst task ID (back-compat for single-node calls).
task_idsstring[]All task IDs — one per node probed.
statusstringAlways "queued" on creation.

Then poll each task until it completes:焦点ai官网

GETtrae国际版
/v1/probe/tasks/{task_id}
FieldTypeDescription
task_idstringThe task being polled.
statusstringqueued / running / completed / failed / cancelled.
result.node_idstringNode that ran this task.
result.successbooleanTrue for a 2xx/3xx response.
result.duration_msnumberTotal request time.
result.status_codenumberHTTP status code.
result.response_time_msnumberTotal time in milliseconds.
result.dns_ms / connect_ms / ssl_ms / ttfb_ms / download_msnumberPhased timing breakdown.
result.headersobjectResponse headers (multi-value joined by ', ').
result.tls_versionstringNegotiated TLS version (HTTPS only).
result.resolved_ipstringIP the target resolved to.
result.errorstringFailure reason when success is false.

Example通往agi之路

# 1. Create the probe — capture the task_id
curl -s -X POST https://api-prod.idcd.com/v1/probe/http \
  -H "Authorization: Bearer sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"target":"https://example.com","params":{"method":"GET"}}'
# => {"data":{"task_id":"tsk_123","task_ids":["tsk_123"],"status":"queued"}}

# 2. Poll until status is "completed"
curl -s https://api-prod.idcd.com/v1/probe/tasks/tsk_123 \
  -H "Authorization: Bearer sk_live_xxx"
# => {"data":{"task_id":"tsk_123","status":"completed","result":{"success":true,"status_code":200,"response_time_ms":142}}}

Limitsai人工智能免费

HTTP online tool

Run an HTTP probe from the browser — no API key required.ai下载官方版安装