{"referee":{"id":63,"refereeKey":"marat-kogut","name":"Marat Kogut","jerseyNumber":"32","officialId":"201245"},"queryMode":"All Roles","assignmentCounts":{"total":5,"byRole":{"Umpire":2,"Crew Chief":2,"Referee":1}},"recentAssignmentsRaw":[{"gameId":"0042500175","gameDate":"2026-04-29","matchup":"HOU @ LAL","role":"Referee","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:40:56Z","updatedAt":"2026-05-07T01:40:56Z"},{"gameId":"0042500104","gameDate":"2026-04-27","matchup":"DET @ ORL","role":"Umpire","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:41:23Z","updatedAt":"2026-05-07T01:41:23Z"},{"gameId":"0042500112","gameDate":"2026-04-21","matchup":"PHI @ BOS","role":"Crew Chief","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:44:22Z","updatedAt":"2026-05-07T01:44:22Z"},{"gameId":"0052500201","gameDate":"2026-04-17","matchup":"CHA @ ORL","role":"Umpire","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:47:34Z","updatedAt":"2026-05-07T01:47:34Z"},{"gameId":"0022501193","gameDate":"2026-04-12","matchup":"CHI @ DAL","role":"Crew Chief","source":"espn","sourceUrl":null,"createdAt":"2026-05-07T01:49:16Z","updatedAt":"2026-05-07T01:49:16Z"}],"recentGamesReturnedByPage":[{"gameId":"0042500175","date":"2026-04-29","matchup":"HOU @ LAL","awayTeamAbbr":"HOU","homeTeamAbbr":"LAL","awayScore":99,"homeScore":93,"selectedRefereeRole":"Referee","crew":[{"refereeId":24,"refereeKey":"mitchell-ervin","name":"Mitchell Ervin","jerseyNumber":"27","displayName":"Mitchell Ervin #27","role":"Crew Chief","officialId":"203591","profileUrl":null},{"refereeId":63,"refereeKey":"marat-kogut","name":"Marat Kogut","jerseyNumber":"32","displayName":"Marat Kogut #32","role":"Referee","officialId":"201245","profileUrl":null},{"refereeId":22,"refereeKey":"pat-fraher","name":"Pat Fraher","jerseyNumber":"26","displayName":"Pat Fraher #26","role":"Umpire","officialId":"2003","profileUrl":null},{"refereeId":1,"refereeKey":"tony-brothers","name":"Tony Brothers","jerseyNumber":"25","displayName":"Tony Brothers #25","role":"Alternate","officialId":"1146","profileUrl":null}],"metrics":{"totalFouls":42,"awayFouls":22,"homeFouls":20,"foulDifferential":-2,"totalFta":52,"awayFta":25,"homeFta":27,"ftaDifferential":2,"technicalFouls":0,"offensiveFouls":6,"shootingFouls":17,"looseBallFouls":4,"flagrantFouls":1,"clutchFouls":0,"clutchFta":null,"awayFtr":0.333,"homeFtr":0.355,"foulsPer100":null}},{"gameId":"0042500104","date":"2026-04-27","matchup":"DET @ ORL","awayTeamAbbr":"DET","homeTeamAbbr":"ORL","awayScore":88,"homeScore":94,"selectedRefereeRole":"Umpire","crew":[{"refereeId":5,"refereeKey":"scott-foster","name":"Scott Foster","jerseyNumber":"48","displayName":"Scott Foster #48","role":"Crew Chief","officialId":"1162","profileUrl":null},{"refereeId":3,"refereeKey":"eric-dalen","name":"Eric Dalen","jerseyNumber":"37","displayName":"Eric Dalen #37","role":"Referee","officialId":"200833","profileUrl":null},{"refereeId":63,"refereeKey":"marat-kogut","name":"Marat Kogut","jerseyNumber":"32","displayName":"Marat Kogut #32","role":"Umpire","officialId":"201245","profileUrl":null},{"refereeId":26,"refereeKey":"gediminas-petraitis","name":"Gediminas Petraitis","jerseyNumber":"50","displayName":"Gediminas Petraitis #50","role":"Alternate","officialId":"204058","profileUrl":null}],"metrics":{"totalFouls":54,"awayFouls":29,"homeFouls":25,"foulDifferential":-4,"totalFta":62,"awayFta":28,"homeFta":34,"ftaDifferential":6,"technicalFouls":2,"offensiveFouls":10,"shootingFouls":23,"looseBallFouls":8,"flagrantFouls":0,"clutchFouls":0,"clutchFta":null,"awayFtr":0.341,"homeFtr":0.37,"foulsPer100":null}},{"gameId":"0042500112","date":"2026-04-21","matchup":"PHI @ BOS","awayTeamAbbr":"PHI","homeTeamAbbr":"BOS","awayScore":111,"homeScore":97,"selectedRefereeRole":"Crew Chief","crew":[{"refereeId":63,"refereeKey":"marat-kogut","name":"Marat Kogut","jerseyNumber":"32","displayName":"Marat Kogut #32","role":"Crew Chief","officialId":"201245","profileUrl":null},{"refereeId":29,"refereeKey":"sean-wright","name":"Sean Wright","jerseyNumber":"4","displayName":"Sean Wright #4","role":"Referee","officialId":"2882","profileUrl":null},{"refereeId":40,"refereeKey":"marc-davis","name":"Marc Davis","jerseyNumber":"8","displayName":"Marc Davis #8","role":"Umpire","officialId":"1830","profileUrl":null}],"metrics":{"totalFouls":null,"awayFouls":null,"homeFouls":null,"foulDifferential":null,"totalFta":null,"awayFta":null,"homeFta":null,"ftaDifferential":null,"technicalFouls":1,"offensiveFouls":11,"shootingFouls":13,"looseBallFouls":3,"flagrantFouls":0,"clutchFouls":0,"clutchFta":null,"awayFtr":null,"homeFtr":null,"foulsPer100":null}},{"gameId":"0052500201","date":"2026-04-17","matchup":"CHA @ ORL","awayTeamAbbr":"CHA","homeTeamAbbr":"ORL","awayScore":90,"homeScore":121,"selectedRefereeRole":"Umpire","crew":[{"refereeId":40,"refereeKey":"marc-davis","name":"Marc Davis","jerseyNumber":"8","displayName":"Marc Davis #8","role":"Crew Chief","officialId":"1830","profileUrl":null},{"refereeId":29,"refereeKey":"sean-wright","name":"Sean Wright","jerseyNumber":"4","displayName":"Sean Wright #4","role":"Referee","officialId":"2882","profileUrl":null},{"refereeId":63,"refereeKey":"marat-kogut","name":"Marat Kogut","jerseyNumber":"32","displayName":"Marat Kogut #32","role":"Umpire","officialId":"201245","profileUrl":null},{"refereeId":32,"refereeKey":"justin-van-duyne","name":"Justin Van Duyne","jerseyNumber":"64","displayName":"Justin Van Duyne #64","role":"Alternate","officialId":"203593","profileUrl":null}],"metrics":{"totalFouls":64,"awayFouls":33,"homeFouls":31,"foulDifferential":-2,"totalFta":62,"awayFta":25,"homeFta":37,"ftaDifferential":12,"technicalFouls":null,"offensiveFouls":null,"shootingFouls":null,"looseBallFouls":null,"flagrantFouls":null,"clutchFouls":null,"clutchFta":null,"awayFtr":0.301,"homeFtr":0.44,"foulsPer100":null}},{"gameId":"0022501193","date":"2026-04-12","matchup":"CHI @ DAL","awayTeamAbbr":"CHI","homeTeamAbbr":"DAL","awayScore":128,"homeScore":149,"selectedRefereeRole":"Crew Chief","crew":[{"refereeId":63,"refereeKey":"marat-kogut","name":"Marat Kogut","jerseyNumber":"32","displayName":"Marat Kogut #32","role":"Crew Chief","officialId":"201245","profileUrl":null},{"refereeId":12,"refereeKey":"ben-taylor","name":"Ben Taylor","jerseyNumber":"46","displayName":"Ben Taylor #46","role":"Referee","officialId":"202049","profileUrl":null},{"refereeId":61,"refereeKey":"john-butler","name":"John Butler","jerseyNumber":"30","displayName":"John Butler #30","role":"Umpire","officialId":"1628951","profileUrl":null}],"metrics":{"totalFouls":44,"awayFouls":20,"homeFouls":24,"foulDifferential":4,"totalFta":46,"awayFta":19,"homeFta":27,"ftaDifferential":8,"technicalFouls":null,"offensiveFouls":null,"shootingFouls":null,"looseBallFouls":null,"flagrantFouls":null,"clutchFouls":null,"clutchFta":null,"awayFtr":0.179,"homeFtr":0.27,"foulsPer100":null}}],"tables":{"totalGames":244,"completedGames":235,"gamesWithAnyAssignments":99,"completedGamesWithoutAssignments":136},"possibleDuplicateRefereeRows":[],"roleBreakdownInSample":{"Referee":1,"Umpire":2,"Crew Chief":2},"diagnosis":{"status":"INSUFFICIENT_ASSIGNMENTS","reason":"Only 5 assignment row(s) exist for this referee. 136 completed games in DB have no referee assignments at all. Run POST /api/referees/sync-assignments to backfill historical games."}}