Applied the select filter such that only startObject and endObject gets exported in CSV format while performing the relations export. However, the observation was that the exported file was a blank file and there were no details of startObject and endObject.
The below API was used
Currently, startObject and endObject are not supported in the 'select' query while exporting as a CSV file for a Relations export.
This information is available in the documentation portal as well.