Hi Shiv,
You can go to manage -> Administration -> Site Manager -> Data Import/Export -> Click on Export tab -> run event "Export Contracts Header Data (ZIP)" . This will give you header data of all the contracts in your instance. The only way to get the contract documents from documents folder of all contracts out of the Ariba system is to do it manually by going to each contract workspace.
Regards
Vilas