Get Node
AI-generatedSummary
Retrieve nodes from a Neo4j graph database that have a specified label, optionally filtering by a single property name and value, and limit the number of returned nodes.
Inputs
- Label (required) — The label of the nodes to retrieve.
- Filter Property — The node property name to filter nodes by; if empty, all nodes with the label are returned.
- Filter Value — The value to match for the filter property.
- Limit — The maximum number of nodes to return, defaulting to 25.
Output shape
a list of node records, each containing the internal node id as '_id', labels as '_labels', and all node properties as individual fields
Returns up to the specified limit of nodes matching the label and optional filter. If filter property is specified, only nodes matching the exact value are returned. Each node is represented as a JSON object with its properties and metadata.
Examples
Example 1: Get all 'Person' nodes with the property 'name' equal to 'Alice' and return up to 10 nodes
Label = 'Person', Filter Property = 'name', Filter Value = 'Alice', Limit = 10