---
title: "View relationships in your dataset."
method: GET
path: "/dataset/view_relationships"
tags: ["dataset"]
---

# View relationships in your dataset.

`GET /dataset/view_relationships`

You need to specify a dataset and the name of the relationship

## Query parameters

- `offset` integer
- `limit` integer
- `dataset` string, required
- `name` string, required
- `job_id` string, uuid
- `last_updated` string, date-time, nullable
- `sort_by` SortBy
  - `col_id` union, required
    - object
      - `user_defined_column` string, required
    - 'creation_time'
  - `sort` 'asc' | 'desc', required

## Response `200`

- KgRelationship[]
  - `created_at` string, date-time, required
  - `dataset_id` string, uuid, required
  - `from_id` string, uuid, required
  - `id` string, uuid, required
  - `label` string, required
  - `properties` object, required
  - `to_id` string, uuid, required
  - `updated_at` string, date-time, required

---

[API](https://skmtc.net/structifyai/apis/structify.md) · [All operations](https://skmtc.net/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/structifyai/structify/versions/1364930b6980/schema)
