The British Library hold the India Office Records: that is, all the documents relating to the British rule of India prior to independence in 1947. There is a long introduction to the material online on the British Library's website.
The India Office Records and private papers at The British Library