Dashboard Public API?

Herc
Herc Alpha Tester, Registered Posts: 6 ✭✭✭✭

I'd like to retrieve the complete list of dashboards in the system via the Public API - by project is probably fine.

I'm struggling to fine an API for this? Can anyone help?

Herc

Answers

  • Clément_Stenac
    Clément_Stenac Dataiker, Dataiku DSS Core Designer, Registered Posts: 753 Dataiker

    Hi,

    Unfortunately, Dataiku does not currently include an API for managing dashboards. We will be taking good note of your interest.

    As a workaround, you can enumerate the folders in the DSS data dir: config/projects/XXXX/dashboards. Each json file contains information about one dashboard.

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,160 Neuron
    edited July 17

    This is now available in v12:

    import dataiku
    client = dataiku.api_client()
    project = client.get_project('Project_Key')
    dashboards_list = project.list_dashboards()
Setup Info
    Tags
      Help me…