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

# Get a relationship definition from the registry

`GET /sources/{sourceKey}/v1/relationship-definitions/{relationshipDefinitionKey}`

Get a relationship definition from the registry.

## Path parameters

- `sourceKey` string, required
- `relationshipDefinitionKey` string, required

## Response `200`

The relationship definition.

- V1RelationshipDefinition
  - `key` string
  - `from` V1RelationshipRefDefinition, required
    - `profileKey` string, required
    - `includeKey` string, required
    - `includeCardinality` '0:*' | '0:1', required
  - `to` V1RelationshipRefDefinition, required
    - `profileKey` string, required
    - `includeKey` string, required
    - `includeCardinality` '0:*' | '0:1', required
  - `description` string — Description of the relationship definition.
  - `properties` object, required

## Other responses

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

---

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