---
title: "Get a relationship definition from the mdm"
method: GET
path: "/mdm/v1/relationship-definitions/{relationshipDefinitionKey}"
tags: ["Relationship Definitions"]
---

# Get a relationship definition from the mdm

`GET /mdm/v1/relationship-definitions/{relationshipDefinitionKey}`

Get a relationship definition from the mdm.

## Path parameters

- `relationshipDefinitionKey` string, required

## Response `200`

The relationship definition.

- V1RelationshipDefinition
  - `key` string
  - `from` string, required
  - `to` string, required
  - `relationshipMapping` V1RelationshipDefinitionMappings, required

## Other responses

- `404` — Returned when the relationship definition does not exist.

---

[API](https://skmtc.dev/clinia/apis/mdm-api.md) · [All operations](https://skmtc.dev/clinia/apis/mdm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clinia/mdm-api/revisions/0ea93fa84bac/schema)
