How to get the latest result of a Card?

Hi, in the past few weeks I implemented the API with a React Native App to be able to see the result of some specific cards. But I found out that the API answer throws me the same result everyday, I have to enter the card in metabase so the value refreshes. Any way of how to do it via API?

Hi @Kollerman
So you have caching enabled?
Include {"ignore_cache":true} in your POST /api/card/:id/query.
Everything that you can do in GUI can be done in the API, since the GUI just sends API requests.

Thanks! I will give it a try!

{"ignore_cache":true} Should be in the header or body of the post?

@Kollerman Please use your browser developer Network-tab to see requests. It's the best way to learn.
It's the body.

1 Like