Graph Nodes
Graph Nodes
POST /api/v1/graphs/{id}/versions/{version_id}/nodes
Create Node
createNode creates a new node in the graph
Parameters
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
version_id | path | string | true |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
https://api.seeme.ai/api/v1/graphs/{id}/versions/{version_id}/nodesPOST /api/v1/graphs/{id}/versions/{version_id}/nodes/bulk
Create Nodes
createNodes creates multiple nodes in bulk
Parameters
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
version_id | path | string | true |
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/bulkGET /api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}
Get Node
getNode retrieves a node by UID
Parameters
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
version_id | path | string | true |
node_uid | path | string | true |
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
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
version_id | path | string | true |
node_uid | path | string | true |
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
| Name | In | Type | Required |
|---|---|---|---|
id | path | string | true |
version_id | path | string | true |
node_uid | path | string | true |
Example
curl -X DELETE \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/graphs/{id}/versions/{version_id}/nodes/{node_uid}