Edit dashboards / questions programmatically (python, bash)

hello to the wonderful metabase community.

i’m trying to figure out how to edit or create questions (or dashboards) programmatically. By that I mean using python/bash and editing the underlying SQL and structure to create questions.

the front end is great but there are a few dashboards and questions we’re wanting that could really benefit from batch processing. I see the postgres database for metabase but haven’t been able to find any documentation for the different tables.

any references are welcome!

There’s an API introduced in the GitHub wiki at: https://github.com/metabase/metabase/wiki/Using-the-REST-API and it seems questions are called cards in the API.