![]() ![]() If the connector is supplied with only username and password, a session_token will be generated everytime anĪuthenticated query is running, which might trigger security alerts on the user's metabase account. The API is tightly coupled with the front end and is subject to change between releases. ![]() Perform bulk updates, tag PII, manage tech debt and more. Design automation that extracts, transforms and loads data between your. About the Metabase API The API is subject to change. Our API allows you to integrate data discovery into your workflow, without disrupting the flow. All changes are reflected in Metabase instantly. If you are hosting your own metabase instance, you can configure this session duration on your metabase server by setting the environment variable MAX_SESSION_AGE (value is in minutes). n8n lets you integrate Metabase with One Simple API and build powerful workflows. Methods that instantiate an object from the Metabase API require the using parameter which expects an instance of Metabase such as the one we just instantiated above. Note that these credentials tokens may expire after 14 days by default, and you might need to update your connector configuration with a new value when that happens (The connector should throw exceptions about Invalid and expired session tokens and return a 401 (Unauthorized) status code in that scenario). Here I showed you three ways to query data from Metabase: query from the card using Metabase rest API, query directly from the database with a user-defined query using Metabase rest API, and query from the card using a Python API metabasepy. But you are certainly welcome to try it out. You can use this id value as your session_token when configuring the connector. I feel like the Python API is less flexible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |