---
title: "Copy a node from another of the caller's graphs into this one."
method: POST
path: "/graphs/{id}/nodes/from-existing"
tags: ["graphs"]
---

# Copy a node from another of the caller's graphs into this one.

`POST /graphs/{id}/nodes/from-existing`

## Request

- Base URL: `https://api.livegraph.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.livegraph.ai/graphs/{id}/nodes/from-existing`
- Auth: one of:
  - API key in cookie `livegraph_session`
  - API key in header `x-api-key`

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `sourceNodeId` string, uuid, required
  - `position` object, required
    - `x` number, required
    - `y` number, required

## Response `200`

Success — see summary for the response shape.

## Other responses

- `4XX`: Client error — body is the shared {error, code?} envelope.

---

[API](https://skmtc.dev/livegraph/apis/livegraph-api.md) · [All operations](https://skmtc.dev/livegraph/apis/livegraph-api/llms.txt) · [OpenAPI document](https://skmtc.dev/livegraph/apis/livegraph-api/revisions/551085d7719e?raw)
