Optically accessible flow channel