Can you use the search_dashboards() API endpoint to get information about LookML dashboards?

Knowledge Drop

Last tested: Mar 9, 2020

No. The search_dashboards() endpoint doesn't return LookML dashboards at all, even if we input the space_id of lookml as a parameter. It will return a 200 in the interactive API docs, but the response body is an empty array [].

As a workaround, you should be able to use the get_space api endpoint to achieve the result you want (e.g. something like get_space('lookml'). The space that is returned should have a dashboards field with all the lookml dashboards in it.

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 12:51 PM
Updated by: