From 623f874d0f95042b9239c9bb38b6bc23a849fccc Mon Sep 17 00:00:00 2001 From: Michael Connell Date: Mon, 12 Aug 2024 16:29:14 -0700 Subject: [PATCH] Add saved_queries to example semantic_manifest file --- .../docs/docs/dbt-cloud-apis/sl-manifest.md | 31 ++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-cloud-apis/sl-manifest.md b/website/docs/docs/dbt-cloud-apis/sl-manifest.md index e203f4a0754..d5bcf5a6774 100644 --- a/website/docs/docs/dbt-cloud-apis/sl-manifest.md +++ b/website/docs/docs/dbt-cloud-apis/sl-manifest.md @@ -77,7 +77,36 @@ Top-level keys for the semantic manifest are: ], "metadata": null, "dsi_package_version": {} - } + }, + "saved_queries": [ + { + "name": "name of the saved query", + "query_params": { + "metrics": [ + "metrics used in the saved query" + ], + "group_by": [ + "TimeDimension('model_primary_key__date_column', 'day')", + "Dimension('model_primary_key__metric_one')", + "Dimension('model__dimension')" + ], + "where": null + }, + "description": "Description of the saved query", + "metadata": null, + "label": null, + "exports": [ + { + "name": "saved_query_name", + "config": { + "export_as": "view", + "schema_name": null, + "alias": null + } + } + ] + } + ] } ] }