Skip to main content
POST
/query
Authentication: Required (if enabled) Uses DFS with backtracking to find the simple path with maximum total weight between two nodes, correctly handling all graph topologies including cycles.

Request

Response

When found is false, diagnostic explains why: start_not_found, end_not_found, or no_path (both nodes exist but no path connects them).

Example

Last modified on March 21, 2026