Increase timeout

while using details parameter ia m getting timeout error,mayy be it is because of large data .Could you please let me know how to increase timeout