As explained by @SerhiiFomenko the issue was in my api.py endpoint method signature
@router.get('/programs', response=list[MentorOutSchema]) async def mentor_programs(request): return Program.objects.filter(mentor=request.user)