获取任务状态或结果
GET
/sources/{id}
获取先前提交的溯源任务的当前状态,若已完成则返回结果。完成结果包含一手来源、指标和真实性评估。
授权
apiKeyAuth
API key passed in the CP-X-API-KEY header.
类型
API Key (header: CP-X-API-KEY)
参数
路径参数
id*
Job ID returned by POST /sources
类型
必填string
格式
"uuid"响应
Job status or result
application/json
JSON "data": { "id": "string", "status": "string", "created_at": "string", "started_at": "string", "completed_at": "string", "error": "string", "result": { "statement": "string", "refined_query": "string", "primary_sources": [ { "url": "string", "title": "string", "authority_score": 0, "relevance_score": 0, "source_type": "string", "summary": "string", "content": "string", "published_at": "string", "validated": true, "is_news_like": true } ], "search_results_count": 0, "processing_time_ms": 0, "truth_assessment": { "truth_probability": 0, "false_probability": 0, "confidence_level": "string", "assessment": "string", "reasoning": "string" }, "search_metrics": { "search_rounds": 0, "analysis_rounds": 0, "total_sources": 0, "quality_sources_found": 0 }, "original_urls": [ "string" ] } }
{
}
