Skip to main content
method
POST
/query
Authentication: Required (if enabled) Retrieve all stored attribute/value pairs for a specific node.

Request

{
  "type": "properties",
  "node_id": 0
}
FieldTypeRequiredDescription
typestringYesMust be "properties".
node_idinteger (u64)YesNode to get properties for.

Response

{
  "success": true,
  "found": true,
  "path": [],
  "edges": [],
  "properties": [
    {"attribute": "name", "value": "Alice"},
    {"attribute": "role", "value": "engineer"}
  ],
  "grounding": "fact",
  "error": null
}
The properties field is only included when non-empty. When found is false, diagnostic explains why (e.g. node_not_found).

Example

curl -X POST http://localhost:8080/query \
     -H "Content-Type: application/json" \
     -d '{"type": "properties", "node_id": 0}'
Last modified on February 21, 2026