curl -X POST "https://api.chatgrid.ai/v1/boards/a1b2c3d4-e5f6-7890-abcd-ef1234567890/nodes" \
-H "Authorization: Bearer cgk_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" \
-H "Content-Type: application/json" \
-d '{
"type": "chatNode",
"position": { "x": 250.5, "y": 120.0 },
"data": { "label": "Research Agent" }
}'
{
"object": "node",
"data": {
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"node_type": "chatNode",
"position_x": 250.5,
"position_y": 120.0,
"node_data": { "label": "Research Agent" },
"parent_node_id": null,
"created_at": "2026-03-15T10:31:00.000Z",
"updated_at": "2026-03-15T10:31:00.000Z"
}
}
Creates a new node on a board at the specified position.
curl -X POST "https://api.chatgrid.ai/v1/boards/a1b2c3d4-e5f6-7890-abcd-ef1234567890/nodes" \
-H "Authorization: Bearer cgk_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" \
-H "Content-Type: application/json" \
-d '{
"type": "chatNode",
"position": { "x": 250.5, "y": 120.0 },
"data": { "label": "Research Agent" }
}'
{
"object": "node",
"data": {
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"node_type": "chatNode",
"position_x": 250.5,
"position_y": 120.0,
"node_data": { "label": "Research Agent" },
"parent_node_id": null,
"created_at": "2026-03-15T10:31:00.000Z",
"updated_at": "2026-03-15T10:31:00.000Z"
}
}
chatNode, blockNoteNode, imageNode). 1-100 characters.x (number, required) - X positiony (number, required) - Y positioncurl -X POST "https://api.chatgrid.ai/v1/boards/a1b2c3d4-e5f6-7890-abcd-ef1234567890/nodes" \
-H "Authorization: Bearer cgk_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" \
-H "Content-Type: application/json" \
-d '{
"type": "chatNode",
"position": { "x": 250.5, "y": 120.0 },
"data": { "label": "Research Agent" }
}'
{
"object": "node",
"data": {
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"node_type": "chatNode",
"position_x": 250.5,
"position_y": 120.0,
"node_data": { "label": "Research Agent" },
"parent_node_id": null,
"created_at": "2026-03-15T10:31:00.000Z",
"updated_at": "2026-03-15T10:31:00.000Z"
}
}