Skip to content
SolidRusT.ai

Knowledge graph query

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
default: both
Allowed values: outgoing incoming both
depth

Graph traversal depth

integer
default: 1 >= 1 <= 5
limit
integer
default: 50

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