Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
nodes
Batch upsert nodes
curl --request POST \
  --url https://api.example.com/v1/projects/{projectId}/nodes \
  --header 'Content-Type: application/json' \
  --data '
{
  "nodes": [
    {
      "id": "<string>",
      "nodeType": "<string>",
      "title": "<string>",
      "structuredData": {},
      "positionX": 123,
      "positionY": 123,
      "width": 123,
      "height": 123,
      "collapsed": true
    }
  ]
}
'
projectId
string
required
Project UUID.
nodes
array
required
Array of 1-100 node objects.
curl -X POST https://api.getkommit.ai/v1/projects/a1b2c3d4-e5f6-7890-abcd-ef1234567890/nodes \
  -H "Authorization: Bearer km_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "nodes": [
      {
        "nodeType": "feature",
        "title": "Billing dashboard",
        "structuredData": {
          "description": "Show subscription status and invoices",
          "priority": "medium"
        },
        "positionX": 400,
        "positionY": 100,
        "width": 280,
        "height": 180
      }
    ]
  }'