Determine if data is from cache

dj200
Participant I

Hi,

Is there a way to determine if data retrieval is from cache from get_look API, https://docs.looker.com/reference/api-and-integration/api-reference/v3.1/look#get_look?

Thanks,

0 3 112
3 REPLIES 3

Dawid
Participant V

Hi @dj200

For a Look/Explore you can see details in the top right corner:

image

I don’t believe we can see that in the Dashboards

dj200
Participant I

Thanks, @Dawid. It seems, I can only access cache status from UI, but not from API, correct?

If you use the json_detail result_format, you should get back some cache related parameters (like from_cache) that tell you if the results were cached and if so, how old they are.