Graph Nodes

POST /api/v1/graphs/{id}/versions/{version_id}/nodes

Create Node

createNode creates a new node in the graph

Parameters

NameInTypeRequired
idpathstringtrue
version_idpathstringtrue

Example

curl -X POST \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  https://api.seeme.ai/api/v1/graphs/{id}/versions/{version_id}/nodes

POST /api/v1/graphs/{id}/versions/{version_id}/nodes/bulk

Create Nodes

createNodes creates multiple nodes in bulk

Parameters

NameInTypeRequired
idpathstringtrue
version_idpathstringtrue

Example

curl -X POST \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  https://api.seeme.ai/api/v1/graphs/{id}/versions/{version_id}/nodes/bulk

GET /api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}

Get Node

getNode retrieves a node by UID

Parameters

NameInTypeRequired
idpathstringtrue
version_idpathstringtrue
node_uidpathstringtrue

Response

Type: map[string]interface{}

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}

PUT /api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}

Update Node

updateNode updates a node’s properties

Parameters

NameInTypeRequired
idpathstringtrue
version_idpathstringtrue
node_uidpathstringtrue

Example

curl -X PUT \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  https://api.seeme.ai/api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}

DELETE /api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}

Delete Node

deleteNode deletes a node and its edges

Parameters

NameInTypeRequired
idpathstringtrue
version_idpathstringtrue
node_uidpathstringtrue

Example

curl -X DELETE \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}