PRISM Nodes
Register a Node (REST)
Section titled “Register a Node (REST)”curl -X POST -H "X-API-Key: $KEY" \ -H "Content-Type: application/json" \ "https://api.marc27.com/api/v1/nodes/register" \ -d '{"name": "my-gpu-node", "capabilities": {"compute": true}}'WebSocket Connection
Section titled “WebSocket Connection”For real-time job dispatch:
WS wss://api.marc27.com/api/v1/nodes/connect?token=<jwt>E2EE Key Exchange
Section titled “E2EE Key Exchange”Exchange public keys for encrypted data transfer between nodes:
curl -X POST -H "X-API-Key: $KEY" \ -H "Content-Type: application/json" \ "https://api.marc27.com/api/v1/nodes/{node_id}/exchange-key" \ -d '{"public_key": "base64-x25519-public-key"}'Via PRISM CLI
Section titled “Via PRISM CLI”prism node up # register and connectprism node status # show capabilitiesprism node down # deregister