BuildSearch & Query
Graph Traversal
Direct graph traversal queries using Neo4j.
Overview
Beyond the Argo DSL, Arke provides direct graph traversal endpoints powered by Neo4j. Entities and their relationships are synced to a graph database for efficient traversal.
Graph Endpoints
Get Entity Neighbors
GET /graph/:id/neighbors
Authorization: Bearer <token>Returns entities directly connected to the given entity.
Query Parameters
| Parameter | Description |
|---|---|
predicate | Filter by relationship type |
direction | inbound, outbound, or both |
type | Filter neighbor entities by type |
depth | Traversal depth (default 1) |
When to Use Graph vs Argo
| Use Case | Recommended |
|---|---|
| Semantic search + traversal | Argo DSL |
| Known-entity neighborhood exploration | Graph endpoints |
| Multi-hop path finding | Argo DSL |
| Relationship-type-specific queries | Either |