> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# shortest_path

> Get the shortest path between two objects and view the response as a graph..

## Summary

Get the shortest path between two objects and view the response as a graph..

### Arguments (Positional or Popup)

#### start\_node

The object\_id for the starting node

#### end\_node

The object\_id for the ending node

#### relationships

What kinds of edges to support in the path searching algorithm.

## Usage

```
shortest_path -start_node \"S-1-5-21-909015691-3030120388-2582151266\" -end_node \"S-1-5-21-909015691-3030120388-2582151739\"
```
