Skip to content

Get job status or result

GET
/sources/{id}

Retrieves the current status and, if completed, the result of a previously submitted source-finding job. Completed results include primary sources, metrics, and a truth assessment.

Authorizations

apiKeyAuth

API key passed in the CP-X-API-KEY header.

Type
API Key (header: CP-X-API-KEY)

Parameters

Path Parameters

id*

Job ID returned by POST /sources

Type
string
Required
Format
"uuid"

Responses

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

Playground

Authorization
Variables
Key
Value

Samples