SourceFinder API
OpenAPI reference for the SourceFinder service.
Base URL
text
https://api.coinpost.ai/sourcefinderAuthentication
Send the API key in the CP-X-API-KEY header.
Example format:
text
CP-X-API-KEY: <your-api-key>Endpoints
GET /health— Health checkPOST /sources— Submit an asynchronous source-finding jobGET /sources/{id}— Get source-finding job status or resultPOST /entities/extractions— Submit an asynchronous entity extraction jobGET /entities/extractions/{id}— Get entity extraction job status or resultGET /entities— List aggregated entities observed in recent tasks
Request Notes
POST /sourcesrequires at least one oftitle,content, orsource_urls- Optional request-level LLM overrides belong under
llm collected_atcan provide a reference timestamp for incomplete or relative dates- Entity extraction is asynchronous because it runs the planner LLM path: call
POST /entities/extractionswithtext, then pollGET /entities/extractions/{id}with the returnedjob_id - Source-finding job IDs and entity extraction job IDs use separate result endpoints
Response Convention
- Job responses wrap data in a
datafield;/healthreturns service metadata directly - Error responses return
errorwith a message string - Job results include a
statusfield (pending,processing,completed,failed) - Completed source-finding results can include
primary_sources,original_urls, metrics, andtruth_assessment; completed entity extraction results includeentities
