How to extract pipeline details from asset search?

how to extract pipeline details from asset search and save in CSV?
thanks