Use EmbeddedServiceConfig to fetch all Embedded Service Deployments using Apache ANT tool from Salesforce.
Sample Package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>EmbeddedServiceConfig</name>
</types>
<version>54.0</version>
</Package>