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.
The search is bounded: it stops at depth 100 or after 50,000 node visits, whichever comes first, and returns the strongest path found within those bounds. On dense graphs that path may not be the strongest one overall.

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 August 5, 2026