How can I get the smart ansible variable values for a specific host?

Problem:
I am looking for a way to read the smart ansible variables created via foreman for a specific host. Either via the API interface (for example like: curl --request GET --insecure --user xxx:yyy https://FOREMANHOST/ansible/api/ansible_variables (where all variables are output in the basic version) but for a specific host (if customized)). It would be even better to be able to read this within a playbook (similar to var: foreman or var: foreman_ansible_roles).
Is there an idea for this?

Best regards

Frank (Betonmoewe)

Foreman and Proxy versions:
3.5.2

can be closed … was a mistake on my part as I had mistakenly “overwritten” the inventory created during each run with all hostsvars (duplicated all:) in my ansible playbook during inventory “manipulation”.

Best regards

Frank (Betonmoewe)