URL parameters
The unique identifier of the dashboard or template to export.
Headers
Bearer $TOKEN
Retrieves the full configuration of a dashboard or a public template as a JSON object. This is useful for backing up dashboards or creating new dashboards via the import endpoint.
This endpoint can be used to export both your own dashboards and dashboard templates.
URL parameters
The unique identifier of the dashboard or template to export.
Headers
Bearer $TOKEN
Returns the dashboard's exported configuration.
Response body
Invalid or missing authentication token.
Resource with the provided ID was not found.
Response body
Response attributes
The ID of the exported dashboard or template.
The name of the exported dashboard or template.
The dashboard's full configuration, which the Import dashboard endpoint accepts as data.
The name of the dashboard.
How often the dashboard refreshes its charts, in seconds. 0 means it doesn't refresh automatically.
The start of the dashboard's default time range, such as now-3h.
The end of the dashboard's default time range, such as now.
The SQL condition that decides which sources can be used with the dashboard, or null when not set.
The preset that holds the dashboard's variables.
The ID of the preset.
The name of the preset, or null when it has none.
The kind of preset, implicit or explicit. A dashboard's own variables live in an implicit preset.
The dashboard's variables, ordered by when they were created.
The name of the variable.
The type of the variable: source, date, datetime, string, number, sql_expression, select_value, boolean, select_with_sql, or select_predefined_sql.
The variable's current values. A template export empties them for source, select_with_sql, and select_predefined_sql variables.
The variable's default values, or null when it has none.
The SQL query that lists the options of a select_with_sql variable, or null when not set.
Additional settings of the variable, such as the selected sources and services of a source variable, or null when not set. A template export leaves out the source and service IDs.
Whether a select_value or select_with_sql variable accepts more than one value at a time.
The dashboard's charts, ordered by ID.
The type of the chart: line_chart, table_chart, bar_chart, number_chart, heatmap_chart, anomalies_chart, pie_chart, scatter_chart, gauge_chart, tail_chart, static_text_chart, map_chart, text_chart, funnel_chart, funnel_trend_chart, or hierarchy_chart.
The name of the chart.
The chart's description, or null when not set.
The chart's horizontal position on the 12-column dashboard grid, counted from 0 on the left.
The chart's vertical position on the dashboard grid, counted from 0 at the top.
The chart's width in grid columns.
The chart's height in grid rows.
A JavaScript function that transforms the query results before the chart renders them, or null when not set.
A JavaScript function that runs on the data after transform_with, or null when not set.
A JavaScript function that generates sample data for template previews, or null when not set.
Chart-specific display settings, such as the unit and axis scale. The keys depend on the chart type.
An explanation of the chart, or null when not set.
A link the chart offers for exploring its data further, or null when not set.
The chart's queries, ordered by ID.
The name of the query, or null when not set.
The type of the query: sql_expression, tail_query, tail_query_builder, promql_query, promql_v2_query, promql_via_llm, query_builder, static_text, pql_expression, or funnel_query.
The SQL the query runs, or null when the query type doesn't use SQL.
The filter of a tail_query or tail_query_builder query, or null.
The Markdown content of a static_text query, or null.
The query builder's X axis blocks, or an empty array when not used.
The query builder's Y axis blocks, or null when not used.
The query builder's point size blocks, or null when not used.
The query builder's coordinate blocks, or an empty array when not used.
The query builder's filter blocks, or null when not used.
The query builder's WHERE condition blocks, or an empty array when not used.
The query builder's GROUP BY blocks, or null when not used.
The query builder's HAVING condition blocks, or an empty array when not used.
The query builder's ORDER BY blocks, or an empty array when not used.
The sources the query reads, either the name of a source variable such as source or a source: reference to specific sources, or null when not set.
The PromQL of a PromQL query, or null.
The PQL of a pql_expression query, or null.
The funnel definition of a funnel_query query, or null.
Maps result columns to sum, min, or max so the query can run in parts and merge the results, or null when not set.
The chart's alerts, ordered by ID, each with the alert's configuration as the Import dashboard endpoint accepts it, with escalation_target as a string. A template export sets every escalation_target to current_team.
The dashboard's sections, ordered by ID.
The section's title, or null when it has none.
The section's vertical position on the dashboard grid, counted from 0 at the top.
Whether the section is collapsed.
An explanation of the section, or null when not set.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.