---
search:
  tags:
    - Node Graphs
    - POST
seo:
  description: >-
    Take a copy of any graph, yours or not — the way to change one you…
    Reference for the POST /api/v1/graphs/{graph_id}/duplicate endpoint in the
    Kumquat API API.
sidebar:
  badge: POST
  label: Duplicate Graph
title: Duplicate Graph
type: openapi-operation
---
Take a copy of any graph, yours or not — the way to change one you do not own, and the only
way to get a deleted one back into use.

The source's newest successful run comes with it and `run_id` names it, so the copy opens on
results rather than empty nodes — and that is the version worth working from, a graph's own
definition having stopped moving once the editing continued on its instances. Nothing is
re-paid: an unchanged copy re-runs entirely from cache.

<Operation source="api" id="duplicate-graph-api-v1-graphs-graph-id-duplicate-post" />
