We had an overnight stay in a cavern hotel, and that allowed us to explore the Sassi after dark as well as by day. You may want to allocate at least two nights/one full day to Matera. It's definitely a unique place, also sleeping in a sasso (heritage districts) is a special experience itself.