Prompt via natural language - API

Hi everyone,
I’m enjoying first tests prompting via Natural Language, and it looks very powerful! I’m would like to test the functionality outside Compass and query my Atlas DB (or even better Atlas Data Federation) via API. Is this possible?

Thanks for any hint!
Danilo