# findPath

**Kind:** API Endpoint

**Source:** [`atloria-monorepo/apps/api/src/graph/graph.controller.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/graph/graph.controller.ts#L107)

Find shortest path between two entities

## Endpoint

`GET /knowledge-graph/path`

| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| `projectId` | query | `string` | ✓ | Owning project ID |
| `from` | query | `string` | ✓ | Source entity ID |
| `to` | query | `string` | ✓ | Target entity ID |

## Referenced By

- `GraphController` (MODULE_DECLARES)
