---
title: "List related rows"
method: GET
path: "/public/v1/objects/{name}/rows/{id}/relations/{relation}"
tags: ["Object relations"]
---

# List related rows

`GET /public/v1/objects/{name}/rows/{id}/relations/{relation}`

Returns rows linked to this row via the given relation field.

## Path parameters

- `name` string, required
- `id` string, required — Row id (Mongo ObjectId)
- `relation` string, required

## Response `200`

Related rows

- object
  - `ok` true, required
  - `data` object[], required
    - `id` string
    - `auto_id` number
    - `created_at` string, nullable
    - `updated_at` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.dev/getfrontline/apis/public-api.md) · [All operations](https://skmtc.dev/getfrontline/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getfrontline/public-api/revisions/9d33b6aad674/schema)
