Hello Matthieu,
Thank you for reaching out. You could use the field segments.conversion_action to segment the reports using conversion_action via Google Ads API Beta. Please refer to the 'Selectable' section for the list of resources that can be selected along with this segment in the same Select clause. Let us know if you need any additional information.
Regards,
Nikisha Patel, Google Ads API Team