Possible to save auto Dashboard via API

I am working on using the Metabase API to create a new database connection and then provide links to auto generated dashboard (X-Rays) for the tables in the connection.

I see a way to save both cards and dashboards via the API. I also see a way to get info about "automagic" dashboards by passing a table ID and entity type. However, I don't see a way to save said dashboard. Is this possible? The desired end logic would allow me to then share the dashboard via a public link.

Thanks

Hi @Murphysc

Anything you can do in the Metabase interface, can also be done via the API, since that's what the frontend does, when it talks to the backend.

The best way to learn the API, is to just use Metabase while having your browser developer Network-tab open and looking at the request, and what data is being send/received.
https://www.metabase.com/docs/latest/api-documentation.html

Awesome, thanks. Thats what I thought the case was but good to have if confirmed.