Skip to content
SolidRusT.ai

Graph traversal with document resolution

POST
/data/v1/query/graph/documents

Traverse the knowledge graph from an entity and resolve connected entities to actual documents in Milvus.

This is the primary graph endpoint for the hybrid search pipeline. Combines Neo4j graph traversal with Milvus document lookup to return searchable documents for all entities connected to the query entity.

Example: querying “Nightmare” returns its SDE document plus documents for related ships, modules, skills, and fitting guides.

Authorizations

Request Body required

object
entity_name
required

Starting entity name

string
Nightmare
entity_type

Optional entity type filter

string
relationship_types

Filter by relationship types

Array<string>
max_depth

Maximum graph traversal depth

integer
default: 2 >= 1 <= 5
limit

Maximum documents to return

integer
default: 20 >= 1 <= 100
resolve_documents

Whether to resolve entity names to documents via Milvus

boolean
default: true

Responses

200

Successful response

object
entity_name
string
entity_type
string
results
Array<object>
object
id
string
title
string
content
string
source
string
source_id
string
content_type
string
game_item
url
string
score

Graph relationship score (1.0 = self, descending with distance)

number
relationship

Relationship type to the query entity

string
related_entity

Name of the related entity found in graph

string
related_entities

Names of all related entities found

Array<string>
total
integer

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