Feature Request: API / Terraform / CLI support for linking custom dashboards to KG entity types

Currently, linking custom dashboards to Knowledge Graph entity types (via KPI display options) can only be done through the Grafana Cloud UI at Observability > Configuration > KPI display options. There is no programmatic way to manage this configuration.

Use case
We have custom dashboards linked to entity types such as Account and Store in our Knowledge Graph model. Managing these as code would allow us to version-control, review, and automate deployment of these configurations alongside the rest of our infrastructure-as-code. This is to enable business context to our IT stack.

What I’d like
Support for managing custom dashboard-to-entity-type mappings via one or more of:

  • A grafana_asserts_kpi_dashboard Terraform resource in the terraform-provider-grafana
  • A documented REST API endpoint
  • gcx CLI support

hi @imkhan
At this time, mappings between KPI dashboards and entity types can only be managed through the Grafana Cloud UI under:

Observability > Configuration > KPI display options
Support for Terraform, REST API, or gcx CLI management is not currently available. However, this is definitely a valuable improvement request, and any future enhancements to this functionality would be reflected in the Grafana documentation and release notes.