API Reference45+ Endpoints
All endpoints accept and return JSON. Base URL: http://localhost:8000
| Method | Endpoint | Description |
|---|
| POST | /score/text | Score any text + domain |
| POST | /score/pr | Score PR title + description + diff |
| POST | /score/pr-url | Fetch and score a public GitHub PR URL |
| POST | /score/repo | Full repo analysis with timeline and hotspots |
| POST | /score/batch | Score many texts, returns clustering |
| POST | /score/citations | Citation verification (CrossRef + Semantic Scholar + PubMed) |
| POST | /improve | Improvement suggestions for flagged sentences |
| GET | /live/feed | Real content scored live from 10 sources |
| GET | /live/stats | Ingestion stats — items/min, slop rate, uptime |
| GET | /live/stream | SSE stream of scored items |
| POST | /live/score-url | Score any URL in real time |
| GET | /ticker | 60-second rolling window stats |
| GET | /ticker/live | SSE ticker stream |
| POST | /signals/epistemic-cowardice | Epistemic cowardice analysis |
| POST | /signals/counterfactual-absence | Counterfactual analysis |
| POST | /signals/vocabulary-novelty | Vocabulary novelty curve + visualization |
| GET | /evaluation/sample | F1/precision/recall on seed dataset |
| GET | /evaluation/hc3 | Multi-source evaluation (431 samples) |
| GET | /demo/scenarios | 8 built-in demo examples with expected scores |
| GET | /leaderboard/sites | Site quality leaderboard |
| GET | /leaderboard/repos | Repo oversight leaderboard |
| GET | /health | Service 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."]
}