---
title: "List Entity Relationships"
method: GET
path: "/api/v1/ontology/entities/{entity_id}/relationships"
tags: ["ontology-relationships"]
---

# List Entity Relationships

`GET /api/v1/ontology/entities/{entity_id}/relationships`

## Request

- Base URL: `https://api.netter.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.netter.ai/api/v1/ontology/entities/{entity_id}/relationships`
- Auth: none declared

List relationships for one entity (both directions).

VIEWER on the subject entity, and the far end of each edge is filtered to
the caller's accessible set — seeing one entity must not disclose the
names and ids of everything it happens to join to.

## Path parameters

- `entity_id` string, uuid, required

## Response `200`

Successful Response

- RelationshipRead[]
  - `id` string, uuid, required
  - `company_id` string, uuid, required
  - `from_entity_id` string, uuid, required
  - `from_entity_name` string
  - `to_entity_id` string, uuid, required
  - `to_entity_name` string
  - `name` string, required
  - `relationship_type` string, required
  - `cardinality` string, required
  - `from_key` string, required
  - `to_key` string, required
  - `description` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/netter/apis/dmi-backend.md) - [All operations](https://skmtc.dev/netter/apis/dmi-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/netter/apis/dmi-backend/revisions/8774ff8257cc?raw)
