---
title: "Create Edge"
method: POST
path: "/data-map/edges"
tags: ["data-map"]
---

# Create Edge

`POST /data-map/edges`

## Request

- Base URL: `https://api.openproof.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openproof.io/data-map/edges`
- Auth: HTTP bearer

Editor+ role required.

## Request body

- EdgeCreate
  - `source_node_id` string, required
  - `target_node_id` string, required
  - `label` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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