v1

latestOpenAPI 3.1.0Apache-2.02026-07-17111518.0 KB

Import nodes from JSON

Create nodes from an array of JSON objects. Each object becomes one node with the specified label. Object keys become property names; values must be string, number, or boolean (other types are silently skipped).

post/api/import/json

Request body

labelstring required

Node label to assign to all created nodes

nodesobject[] required

Array of JSON objects, each becoming a node

graphstring

Target graph/tenant name (default: 'default')

Response

Import successful

statusstring
nodes_createdinteger
labelstring

Example response

{
  "status": "ok"
}