上报失败
当某个代理 IP 被封锁或失败时上报,帮助 HydraSkill 改进路由决策。
POST /v1/proxy/{proxy_id}/report| 参数 | 类型 | 说明 |
|---|---|---|
reason | string | blocked、captcha、timeout、rate_limited |
status_code | integer | 收到的 HTTP 状态码 |
target_url | string | 被封锁的 URL |
curl -X POST "https://api.hydraskill.ai/v1/proxy/px_abc123/report" \ -H "Authorization: Bearer sk-your-key" \ -H "Content-Type: application/json" \ -d '{"reason": "blocked", "status_code": 403}'{ "acknowledged": true, "action_taken": "ip_rotated", "new_proxy_id": "px_def456"}启用 Auto-Heal 后,失败会被自动检测并处理。仅在 Auto-Heal 被禁用或需要手动上报时使用此端点。