MPs
/api/mps/statsPer-MP scoreboard — opportunities vs votes cast, and how often each MP's vote sided with the AI impact verdict (helped vs hurt people)
/mpsMP scoreboard UI — sort by participation, helped or hurt counts
/api/mpsList all tracked MPs with vote totals. Filter with
?party=Reform UKGET/api/mps/{id}Single MP profile with aye/no summary
GET/api/mps/{id}/recentMost recent votes for one MP ?limit=10
GET/api/mps/activityLast vote date and time since last vote for every tracked MP, sorted by most recent
GET/api/mps/{id}/votesFull vote history with filters:
?voted=aye|no|abstain ?working_class_impact=hurts ?q=searchDivisions (Votes)
GET/api/divisions/{id}Full division detail: AI analysis, MP votes, linked bill
POST/api/divisions/{id}/analyseRe-run AI analysis on a single division using the local LLM
Bills
GET/api/bills/{id}Bill detail with every linked division and MP votes
POST/api/bills/syncRe-sync bill data from the Parliament Bills API
Sentiment & Impact
GET/api/sentiment/overviewCross-impact summary — most harmful and most beneficial divisions for working class and business
GET/api/sentiment/working-classDivisions filtered by working class impact ?impact=helps|hurts|neutral|mixed
GET/api/sentiment/women-childrenDivisions filtered by women & children impact ?impact=helps|hurts|neutral|mixed
Search & Stats
GET/api/searchFull-text search across division titles, AI explanations, bills. Returns divisions + bills