---
title: "Api Get Relationships"
method: GET
path: "/v1/relationships/{application_id}/{edge_id}"
tags: ["edges"]
---

# Api Get Relationships

`GET /v1/relationships/{application_id}/{edge_id}`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/relationships/{application_id}/{edge_id}`
- Auth: HTTP bearer

## Path parameters

- `application_id` string, uuid, required
- `edge_id` string, uuid, required

## Query parameters

- `labels` string[]

## Response `200`

Successful Response

- RelationshipsAPI
  - `outgoing_nodes` ExtendedEdgeAPI[]
    - `id` string, uuid, required
    - `pk` string, uuid, required
    - `label` 'has' | 'next' | 'next_node' | 'reference'
    - `_vertexId` string, uuid, nullable
    - `_vertexLabel` string, nullable
    - `_sink` string, uuid, nullable
    - `_sinkLabel` string, nullable
    - `weight` number, nullable
    - `weight_manual` number, nullable
    - `weight_rolling_30` number, nullable
    - `weight_rolling_60` number, nullable
    - `weight_rolling_alltime` number, nullable
    - `vertex_title` object, nullable
    - `sink_title` object, nullable
  - `ingoing_nodes` ExtendedEdgeAPI[]
    - `id` string, uuid, required
    - `pk` string, uuid, required
    - `label` 'has' | 'next' | 'next_node' | 'reference'
    - `_vertexId` string, uuid, nullable
    - `_vertexLabel` string, nullable
    - `_sink` string, uuid, nullable
    - `_sinkLabel` string, nullable
    - `weight` number, nullable
    - `weight_manual` number, nullable
    - `weight_rolling_30` number, nullable
    - `weight_rolling_60` number, nullable
    - `weight_rolling_alltime` number, nullable
    - `vertex_title` object, nullable
    - `sink_title` object, nullable

## Other responses

- `422`: Validation Error

---

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