---
title: "Ajouter une arête"
method: POST
path: "/api/v1/neural-link/projects/{uuid}/edges"
tags: ["Neural Link"]
---

# Ajouter une arête

`POST /api/v1/neural-link/projects/{uuid}/edges`

## Request

- Base URL: `https://lucidnest.test`
- URL: `https://lucidnest.test/api/v1/neural-link/projects/{uuid}/edges`
- Auth: HTTP bearer

Crée une connexion entre deux nœuds du canvas.

## Request body

- object
  - `source` string, required: UUID du nœud source.
  - `target` string, required: UUID du nœud cible.
  - `type` string, nullable: Type d'arête.
  - `label` string, nullable: Libellé.
  - `data` object, nullable: Données additionnelles.

## Response `201`

- object
  - `success` boolean
  - `edge` object
    - `id` string
    - `source` string
    - `target` string
    - `type` string
    - `label` string

---

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