cURL
FunctionNode
curl --request POST \ --url https://api.quiva.ai/hub/nodes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "collection": "ms.hub.config.collection.node.805092869", "data": { "name": "ProcessPayment", "description": "Processes a payment transaction via Stripe", "node_type": "function", "subject": "quiva-function.stripe-charge", "payload": { "amount": "{{trigger.amount}}", "currency": "{{trigger.currency}}", "customer_id": "{{trigger.customer_id}}" }, "options": { "timeout": 30000, "attempts": 3, "backoff_ms": 1000 } } } '
201
FunctionNodeCreated
{ "subject": "ms.hub.config.node.805092869.98765432", "collection": "ms.hub.config.collection.node.805092869", "data": { "id": "98765432", "name": "ProcessPayment", "description": "Processes a payment transaction via Stripe", "node_type": "function", "subject": "quiva-function.stripe-charge", "payload": { "amount": "{{trigger.amount}}", "currency": "{{trigger.currency}}", "customer_id": "{{trigger.customer_id}}" }, "options": { "timeout": 30000, "attempts": 3, "backoff_ms": 1000 } }, "type": "created", "modified": 1748533179 }
Creates a new node template within a collection
JWT Authorization header using the Bearer scheme
Subject of the collection this node belongs to
Show child attributes
Node created successfully
Subject identifier for the node
Node data
Action type (created)
Timestamp of last modification