Copy Report
copy_reportDuplicates a Visual Analytics report into a new report and returns the new report's ID. Use it to tailor a report for a different audience or prepare the result for redirection to a new data source.
Instructions
Copy a Visual Analytics report to a new report, returning the copy's id.
Useful for tailoring a report to a new audience or for the copy-and-replace
pattern — copy, then apply_report_operations with a changeData op to
point the copy at a different table. Returns
{"status": "copied", "id": ..., "name": ..., "source_report_id": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the copy (``resultReportName``); omit to let Viya name it. | |
| folder | No | Optional target folder URI (``resultFolder``); omit for the caller's My Folder. | |
| report_id | Yes | The source report id to copy. | |
| on_conflict | No | Name-conflict policy — ``rename`` (default), ``abort``, or ``replace``. | rename |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||