---
title: "Ajouter un nœud"
method: POST
path: "/api/v1/neural-link/projects/{uuid}/nodes"
tags: ["Neural Link"]
---

# Ajouter un nœud

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

## Request

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

Ajoute un nœud au canvas d'un projet. La position est auto-calculée si non fournie.

## Request body

- object
  - `type` string, required: Type du nœud (idea, feature, task, note, question).
  - `label` string, required: Libellé du nœud.
  - `position_x` number, nullable: Position X.
  - `position_y` number, nullable: Position Y.
  - `data` object, nullable: Données additionnelles.
  - `style` object, nullable: Style CSS du nœud.
  - `parent_id` string, nullable: UUID du nœud parent.

## Response `201`

- object
  - `success` boolean
  - `node` object
    - `id` string
    - `type` string
    - `label` string
    - `position` object
      - `x` integer
      - `y` integer

---

[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)
