API Reference

45+ Endpoints

All endpoints accept and return JSON. Base URL: http://localhost:8000

MethodEndpointDescription
POST/score/textScore any text + domain
POST/score/prScore PR title + description + diff
POST/score/pr-urlFetch and score a public GitHub PR URL
POST/score/repoFull repo analysis with timeline and hotspots
POST/score/batchScore many texts, returns clustering
POST/score/citationsCitation verification (CrossRef + Semantic Scholar + PubMed)
POST/improveImprovement suggestions for flagged sentences
GET/live/feedReal content scored live from 10 sources
GET/live/statsIngestion stats — items/min, slop rate, uptime
GET/live/streamSSE stream of scored items
POST/live/score-urlScore any URL in real time
GET/ticker60-second rolling window stats
GET/ticker/liveSSE ticker stream
POST/signals/epistemic-cowardiceEpistemic cowardice analysis
POST/signals/counterfactual-absenceCounterfactual analysis
POST/signals/vocabulary-noveltyVocabulary novelty curve + visualization
GET/evaluation/sampleF1/precision/recall on seed dataset
GET/evaluation/hc3Multi-source evaluation (431 samples)
GET/demo/scenarios8 built-in demo examples with expected scores
GET/leaderboard/sitesSite quality leaderboard
GET/leaderboard/reposRepo oversight leaderboard
GET/healthService health check

Example Request

curl -X POST http://localhost:8000/score/text \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Updated the auth module to improve security.",
    "domain": "code_review"
  }'

# Response:
{
  "score": 32,
  "oversight": "low",
  "summary": "Generic improvement claim without specifics",
  "signals": [...],
  "highlights": ["Updated the auth module to improve security."]
}
Try It Livearrow_forward