---
title: "Get Shortest Path"
method: GET
path: "/api/v1/graph/path/{source_id}/{target_id}"
tags: ["graph"]
---

# Get Shortest Path

`GET /api/v1/graph/path/{source_id}/{target_id}`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/graph/path/{source_id}/{target_id}`
- Auth: none declared

Find shortest follow-path between two entities via BFS.

## Path parameters

- `source_id` string, uuid, required
- `target_id` string, uuid, required

## Query parameters

- `max_depth` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentavow/apis/agentavow-api.md) · [All operations](https://skmtc.dev/agentavow/apis/agentavow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentavow/apis/agentavow-api/revisions/e1e20476dbfc?raw)
