Copy a report version into the editable draft.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/admin/reporting/reports/example/versions/1/clone-draft"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/reporting/reports/example/versions/1/clone-draft';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/admin/reporting/reports/example/versions/1/clone-draft \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
Report definition detail.
object
Report definition summary.
object
Definition id.
Definition key.
Definition title.
Definition description.
Lifecycle state for a dashboard or report definition.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Current published version number.
Last modification timestamp.
Optimistic concurrency token.
Report definition document.
object
Stable report key.
Report title.
Report description.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Visibility policy for dashboard and report definitions.
object
Role ids that can see the definition.
User ids that can see the definition.
Permission keys that can see the definition.
Whether all permission keys are required instead of any one key.
Modules that must be active before the definition is visible.
Modules required by the report.
Report sections; each section owns its filters.
One section inside a report definition document.
object
Stable section id.
Section title.
Section description.
Section sort order.
Data-source blocks in the section.
Reusable data-source block used by dashboard widgets and report blocks.
object
Stable block id inside the definition document.
Display title.
Stable data-source reference stored by dashboard widgets and report blocks.
object
Identifies the authoring surface that provides a DataSource.
Stable provider identifier.
Human-readable provider key.
Descriptor fingerprint validated at publish time.
Parameter bindings keyed by data-source parameter key.
object
Parameter binding for one data-source parameter.
object
How a dashboard/report block supplies a data-source parameter value.
Shared filter key when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Filter.
Static JSON value when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Static.
Defines renderer families that can consume a DataSource output.
Dashboard/report-owned runtime options that must stay within source-owned limits.
object
Configured page size for table/list sources.
Whether this block exposes export.
Configured export row limit.
Options of the renderer a dashboard widget or report block uses. Publish accepts bar options only for a bar chart and the share measure only for a source that declares a share field. A null option means its default.
object
Direction of the bars of a bar chart block.
How the bars of several series share one category.
What the length of a bar shows.
Drilldown configuration JSON.
Empty-state configuration JSON.
Error-behavior configuration JSON.
Export behavior JSON.
Block widths as JSON { "Items": [{ "WidgetId", "Columns" }] } on a 12-column grid, as in dashboards; blocks without an item are half width.
Filter JSON definition of this section, keyed by filter key, as on a dashboard. Section blocks bind only to these filters.
Report export policy JSON.
Report definition version.
object
Version id.
Version number scoped to the definition.
Publish timestamp.
Publishing user id.
Report definition document.
object
Stable report key.
Report title.
Report description.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Visibility policy for dashboard and report definitions.
object
Role ids that can see the definition.
User ids that can see the definition.
Permission keys that can see the definition.
Whether all permission keys are required instead of any one key.
Modules that must be active before the definition is visible.
Modules required by the report.
Report sections; each section owns its filters.
One section inside a report definition document.
object
Stable section id.
Section title.
Section description.
Section sort order.
Data-source blocks in the section.
Reusable data-source block used by dashboard widgets and report blocks.
object
Stable block id inside the definition document.
Display title.
Stable data-source reference stored by dashboard widgets and report blocks.
object
Identifies the authoring surface that provides a DataSource.
Stable provider identifier.
Human-readable provider key.
Descriptor fingerprint validated at publish time.
Parameter bindings keyed by data-source parameter key.
object
Parameter binding for one data-source parameter.
object
How a dashboard/report block supplies a data-source parameter value.
Shared filter key when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Filter.
Static JSON value when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Static.
Defines renderer families that can consume a DataSource output.
Dashboard/report-owned runtime options that must stay within source-owned limits.
object
Configured page size for table/list sources.
Whether this block exposes export.
Configured export row limit.
Options of the renderer a dashboard widget or report block uses. Publish accepts bar options only for a bar chart and the share measure only for a source that declares a share field. A null option means its default.
object
Direction of the bars of a bar chart block.
How the bars of several series share one category.
What the length of a bar shows.
Drilldown configuration JSON.
Empty-state configuration JSON.
Error-behavior configuration JSON.
Export behavior JSON.
Block widths as JSON { "Items": [{ "WidgetId", "Columns" }] } on a 12-column grid, as in dashboards; blocks without an item are half width.
Filter JSON definition of this section, keyed by filter key, as on a dashboard. Section blocks bind only to these filters.
Report export policy JSON.
Validated data-source references.
Published data-source reference snapshot for a definition version.
object
Widget or report block id.
Identifies the authoring surface that provides a DataSource.
Stable provider id.
Provider key.
Validated descriptor fingerprint.
Defines renderer families that can consume a DataSource output.
Materialized publishing user display name.
Published version history.
Report definition version.
object
Version id.
Version number scoped to the definition.
Publish timestamp.
Publishing user id.
Report definition document.
object
Stable report key.
Report title.
Report description.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Visibility policy for dashboard and report definitions.
object
Role ids that can see the definition.
User ids that can see the definition.
Permission keys that can see the definition.
Whether all permission keys are required instead of any one key.
Modules that must be active before the definition is visible.
Modules required by the report.
Report sections; each section owns its filters.
One section inside a report definition document.
object
Stable section id.
Section title.
Section description.
Section sort order.
Data-source blocks in the section.
Reusable data-source block used by dashboard widgets and report blocks.
object
Stable block id inside the definition document.
Display title.
Stable data-source reference stored by dashboard widgets and report blocks.
object
Identifies the authoring surface that provides a DataSource.
Stable provider identifier.
Human-readable provider key.
Descriptor fingerprint validated at publish time.
Parameter bindings keyed by data-source parameter key.
object
Parameter binding for one data-source parameter.
object
How a dashboard/report block supplies a data-source parameter value.
Shared filter key when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Filter.
Static JSON value when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Static.
Defines renderer families that can consume a DataSource output.
Dashboard/report-owned runtime options that must stay within source-owned limits.
object
Configured page size for table/list sources.
Whether this block exposes export.
Configured export row limit.
Options of the renderer a dashboard widget or report block uses. Publish accepts bar options only for a bar chart and the share measure only for a source that declares a share field. A null option means its default.
object
Direction of the bars of a bar chart block.
How the bars of several series share one category.
What the length of a bar shows.
Drilldown configuration JSON.
Empty-state configuration JSON.
Error-behavior configuration JSON.
Export behavior JSON.
Block widths as JSON { "Items": [{ "WidgetId", "Columns" }] } on a 12-column grid, as in dashboards; blocks without an item are half width.
Filter JSON definition of this section, keyed by filter key, as on a dashboard. Section blocks bind only to these filters.
Report export policy JSON.
Validated data-source references.
Published data-source reference snapshot for a definition version.
object
Widget or report block id.
Identifies the authoring surface that provides a DataSource.
Stable provider id.
Provider key.
Validated descriptor fingerprint.
Defines renderer families that can consume a DataSource output.
Materialized publishing user display name.
object
object
object
object
Example
{ "Data": { "Summary": { "State": 0 }, "Draft": { "Sections": [ { "Blocks": [ { "DataSource": { "SourceKind": 0 }, "ParameterBindings": { "additionalProperty": { "Kind": 0 } }, "Renderer": 1, "RendererOptions": { "BarOrientation": 0, "BarArrangement": 0, "BarMeasure": 0 } } ] } ] }, "Published": { "Document": { "Sections": [ { "Blocks": [ { "DataSource": { "SourceKind": 0 }, "ParameterBindings": { "additionalProperty": { "Kind": 0 } }, "Renderer": 1, "RendererOptions": { "BarOrientation": 0, "BarArrangement": 0, "BarMeasure": 0 } } ] } ] }, "DataSources": [ { "SourceKind": 0, "Renderer": 1 } ] }, "Versions": [ { "Document": { "Sections": [ { "Blocks": [ { "DataSource": { "SourceKind": 0 }, "ParameterBindings": { "additionalProperty": { "Kind": 0 } }, "Renderer": 1, "RendererOptions": { "BarOrientation": 0, "BarArrangement": 0, "BarMeasure": 0 } } ] } ] }, "DataSources": [ { "SourceKind": 0, "Renderer": 1 } ] } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
Report definition detail.
object
Report definition summary.
object
Definition id.
Definition key.
Definition title.
Definition description.
Lifecycle state for a dashboard or report definition.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Current published version number.
Last modification timestamp.
Optimistic concurrency token.
Report definition document.
object
Stable report key.
Report title.
Report description.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Visibility policy for dashboard and report definitions.
object
Role ids that can see the definition.
User ids that can see the definition.
Permission keys that can see the definition.
Whether all permission keys are required instead of any one key.
Modules that must be active before the definition is visible.
Modules required by the report.
Report sections; each section owns its filters.
One section inside a report definition document.
object
Stable section id.
Section title.
Section description.
Section sort order.
Data-source blocks in the section.
Reusable data-source block used by dashboard widgets and report blocks.
object
Stable block id inside the definition document.
Display title.
Stable data-source reference stored by dashboard widgets and report blocks.
object
Identifies the authoring surface that provides a DataSource.
Stable provider identifier.
Human-readable provider key.
Descriptor fingerprint validated at publish time.
Parameter bindings keyed by data-source parameter key.
object
Parameter binding for one data-source parameter.
object
How a dashboard/report block supplies a data-source parameter value.
Shared filter key when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Filter.
Static JSON value when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Static.
Defines renderer families that can consume a DataSource output.
Dashboard/report-owned runtime options that must stay within source-owned limits.
object
Configured page size for table/list sources.
Whether this block exposes export.
Configured export row limit.
Options of the renderer a dashboard widget or report block uses. Publish accepts bar options only for a bar chart and the share measure only for a source that declares a share field. A null option means its default.
object
Direction of the bars of a bar chart block.
How the bars of several series share one category.
What the length of a bar shows.
Drilldown configuration JSON.
Empty-state configuration JSON.
Error-behavior configuration JSON.
Export behavior JSON.
Block widths as JSON { "Items": [{ "WidgetId", "Columns" }] } on a 12-column grid, as in dashboards; blocks without an item are half width.
Filter JSON definition of this section, keyed by filter key, as on a dashboard. Section blocks bind only to these filters.
Report export policy JSON.
Report definition version.
object
Version id.
Version number scoped to the definition.
Publish timestamp.
Publishing user id.
Report definition document.
object
Stable report key.
Report title.
Report description.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Visibility policy for dashboard and report definitions.
object
Role ids that can see the definition.
User ids that can see the definition.
Permission keys that can see the definition.
Whether all permission keys are required instead of any one key.
Modules that must be active before the definition is visible.
Modules required by the report.
Report sections; each section owns its filters.
One section inside a report definition document.
object
Stable section id.
Section title.
Section description.
Section sort order.
Data-source blocks in the section.
Reusable data-source block used by dashboard widgets and report blocks.
object
Stable block id inside the definition document.
Display title.
Stable data-source reference stored by dashboard widgets and report blocks.
object
Identifies the authoring surface that provides a DataSource.
Stable provider identifier.
Human-readable provider key.
Descriptor fingerprint validated at publish time.
Parameter bindings keyed by data-source parameter key.
object
Parameter binding for one data-source parameter.
object
How a dashboard/report block supplies a data-source parameter value.
Shared filter key when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Filter.
Static JSON value when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Static.
Defines renderer families that can consume a DataSource output.
Dashboard/report-owned runtime options that must stay within source-owned limits.
object
Configured page size for table/list sources.
Whether this block exposes export.
Configured export row limit.
Options of the renderer a dashboard widget or report block uses. Publish accepts bar options only for a bar chart and the share measure only for a source that declares a share field. A null option means its default.
object
Direction of the bars of a bar chart block.
How the bars of several series share one category.
What the length of a bar shows.
Drilldown configuration JSON.
Empty-state configuration JSON.
Error-behavior configuration JSON.
Export behavior JSON.
Block widths as JSON { "Items": [{ "WidgetId", "Columns" }] } on a 12-column grid, as in dashboards; blocks without an item are half width.
Filter JSON definition of this section, keyed by filter key, as on a dashboard. Section blocks bind only to these filters.
Report export policy JSON.
Validated data-source references.
Published data-source reference snapshot for a definition version.
object
Widget or report block id.
Identifies the authoring surface that provides a DataSource.
Stable provider id.
Provider key.
Validated descriptor fingerprint.
Defines renderer families that can consume a DataSource output.
Materialized publishing user display name.
Published version history.
Report definition version.
object
Version id.
Version number scoped to the definition.
Publish timestamp.
Publishing user id.
Report definition document.
object
Stable report key.
Report title.
Report description.
Report navigator metadata used by the dynamic report navigator.
object
Navigator category.
Navigator group.
Navigator icon.
Navigator ordering priority.
Searchable tags.
Whether the report is featured.
Optional additional search text.
Visibility policy for dashboard and report definitions.
object
Role ids that can see the definition.
User ids that can see the definition.
Permission keys that can see the definition.
Whether all permission keys are required instead of any one key.
Modules that must be active before the definition is visible.
Modules required by the report.
Report sections; each section owns its filters.
One section inside a report definition document.
object
Stable section id.
Section title.
Section description.
Section sort order.
Data-source blocks in the section.
Reusable data-source block used by dashboard widgets and report blocks.
object
Stable block id inside the definition document.
Display title.
Stable data-source reference stored by dashboard widgets and report blocks.
object
Identifies the authoring surface that provides a DataSource.
Stable provider identifier.
Human-readable provider key.
Descriptor fingerprint validated at publish time.
Parameter bindings keyed by data-source parameter key.
object
Parameter binding for one data-source parameter.
object
How a dashboard/report block supplies a data-source parameter value.
Shared filter key when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Filter.
Static JSON value when Kind is Moltaro.Reporting.Models.ReportingParameterBindingKindEnum.Static.
Defines renderer families that can consume a DataSource output.
Dashboard/report-owned runtime options that must stay within source-owned limits.
object
Configured page size for table/list sources.
Whether this block exposes export.
Configured export row limit.
Options of the renderer a dashboard widget or report block uses. Publish accepts bar options only for a bar chart and the share measure only for a source that declares a share field. A null option means its default.
object
Direction of the bars of a bar chart block.
How the bars of several series share one category.
What the length of a bar shows.
Drilldown configuration JSON.
Empty-state configuration JSON.
Error-behavior configuration JSON.
Export behavior JSON.
Block widths as JSON { "Items": [{ "WidgetId", "Columns" }] } on a 12-column grid, as in dashboards; blocks without an item are half width.
Filter JSON definition of this section, keyed by filter key, as on a dashboard. Section blocks bind only to these filters.
Report export policy JSON.
Validated data-source references.
Published data-source reference snapshot for a definition version.
object
Widget or report block id.
Identifies the authoring surface that provides a DataSource.
Stable provider id.
Provider key.
Validated descriptor fingerprint.
Defines renderer families that can consume a DataSource output.
Materialized publishing user display name.
object
object
object
object
Example
{ "Data": { "Summary": { "State": 0 }, "Draft": { "Sections": [ { "Blocks": [ { "DataSource": { "SourceKind": 0 }, "ParameterBindings": { "additionalProperty": { "Kind": 0 } }, "Renderer": 1, "RendererOptions": { "BarOrientation": 0, "BarArrangement": 0, "BarMeasure": 0 } } ] } ] }, "Published": { "Document": { "Sections": [ { "Blocks": [ { "DataSource": { "SourceKind": 0 }, "ParameterBindings": { "additionalProperty": { "Kind": 0 } }, "Renderer": 1, "RendererOptions": { "BarOrientation": 0, "BarArrangement": 0, "BarMeasure": 0 } } ] } ] }, "DataSources": [ { "SourceKind": 0, "Renderer": 1 } ] }, "Versions": [ { "Document": { "Sections": [ { "Blocks": [ { "DataSource": { "SourceKind": 0 }, "ParameterBindings": { "additionalProperty": { "Kind": 0 } }, "Renderer": 1, "RendererOptions": { "BarOrientation": 0, "BarArrangement": 0, "BarMeasure": 0 } } ] } ] }, "DataSources": [ { "SourceKind": 0, "Renderer": 1 } ] } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}