KnowledgeOS API Reference
    Preparing search index...

    Interface GraphPathQuery

    interface GraphPathQuery {
        direction(dir: "outgoing" | "incoming" | "both"): GraphPathQuery;
        execute(): Promise<SDKResponse<TraversalResultDTO>>;
        executeRaw(): Promise<ApiResponse<TraversalResultDTO>>;
        maxDepth(depth: number): GraphPathQuery;
    }

    Hierarchy (View Summary)

    Index
    • Parameters

      • dir: "outgoing" | "incoming" | "both"

      Returns GraphPathQuery