---
title: "Get relationship"
method: GET
path: "/storage/relationships/{uuid}"
tags: ["Storage - Relationships"]
---

# Get relationship

`GET /storage/relationships/{uuid}`

Get a relationship by UUID

## Path parameters

- `uuid` string, uuid, required — Relationship identifier.

## Response `200`

Successful response

- object
  - `relationship` object, required — Relationship details.
    - `uuid` string, required
    - `workspaceUuid` string, required
    - `fromDatasetUuid` string, required
    - `fromModelUuid` string, required
    - `fromColumnSlug` string, required
    - `fromPropertySlug` string, nullable, required
    - `toDatasetUuid` string, required
    - `toModelUuid` string, required
    - `toColumnSlug` string, required
    - `toPropertySlug` string, nullable, required
    - `fromSelectedColumnSlugs` string[], nullable, required
    - `toSelectedColumnSlugs` string[], nullable, required
    - `relation` 'oneToMany' | 'oneToOne' | 'manyToOne', required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/revisions/1d5a19e01d83/schema)
