Skip to main content

Copy a chart

Use this call to create a copy of a chart, based on the published chart version. The published version of the source chart is used as the published version of the new chart.

The chart name and tags are copied as well.

Note that the new chart name will have " (copy)" appended to it. E.g. if the original chart name was "My Super Chart", the copy's name will be "My Super Chart (copy)".

Events linked to the original chart and the draft version are not copied.

The response contains the chartKey of the new chart. You can store this in your database, and use it to refer to the newly created chart in the future.

POST https://api-{region}{chartKey}/version/published/actions/copy
curl -X POST https://api-{region} \
-u aSecretKey:
"name":"chart2 (copy)",
"tags": ["tag1", "tag2"],
"archived": false,
"publishedVersionThumbnailUrl": ""