Change semantic field types programmatically

Hi,

I already know that I can change the semantic field types in the Admin settings (Documenation).

But that seems very unhandy if I want to do it for a lot of fields from different tables.
Isn't this kind of metadata stored in an internal database as well that can be modified programatically?
I couldn't find a corresponding API-Endpoint.

Thanks in advance!

Everything has an API endpoint. Have 2 browser windows open, with one showing the logs from Metabase (from the admin bit). You'll see which endpoints are used as you click in your first window.