Knowledge graph query
POST /data/v1/query/knowledge-graph
POST
/data/v1/query/knowledge-graph
Queries the knowledge graph for entities and relationships. Supports traversal with configurable depth and relationship filtering.
Authorizations
Request Body required
object
entity
required
The entity name to query
string
Python relationship_types
Filter to specific relationship types
Array<string>
direction
string
depth
Graph traversal depth
integer
limit
integer
Responses
200
Successful response
object
entity
string
entities
Array<object>
object
name
string
type
string
properties
object
relationships
Array<object>
object
source
string
target
string
type
string
properties
object
latency_ms
number
400
Invalid request
object
error
object
message
string
type
string
code
string
param
string
401
Invalid or missing API key
object
error
object
message
string
type
string
code
string
param
string