Palantir Integration with DSPM solution

Working on integration of Palantir with another DSPM solution. DSPM solution will connect with Palantir via API and run a scan to discover sensitive data based. Based on sensitive findings it should retrieve metadata and send it back to DSPM solution. How can accomplish it and DSPM solution support API connection