List of User Permissions per Group and Project

how can we generate any kind of csv from Gitlab api
version : 6.4.3

Easiest way would be to script/code it. For example: Convert JSON to CSV in Python - GeeksforGeeks shows how to convert JSON to CSV using python. So you could adapt that and integrate the Gitlab API using python-requests for example.