---
title: "GET /api/database/views/{slug}/link-row-field-lookup/{field_id}/"
method: GET
path: "/api/database/views/{slug}/link-row-field-lookup/{field_id}/"
tags: ["Database table views"]
---

# GET /api/database/views/{slug}/link-row-field-lookup/{field_id}/

`GET /api/database/views/{slug}/link-row-field-lookup/{field_id}/`

If the view is publicly shared or if an authenticated user has access to the related workspace, then this endpoint can be used to do a value lookup of the link row fields that are included in the view. Normally it is not possible for a not authenticated visitor to fetch the rows of a table. This endpoint makes it possible to fetch the id and primary field value of the related table of a link row included in the view.

## Path parameters

- `field_id` integer, required
- `slug` string, required

## Query parameters

- `search` string
- `search_mode` string

## Response `200`

- PaginationSerializerLinkRowValue
  - `count` integer, required — The total amount of results.
  - `next` string, uri, nullable, required — URL to the next page.
  - `previous` string, uri, nullable, required — URL to the previous page.
  - `results` LinkRowValue[], required
    - `id` integer, required — The unique identifier of the row in the related table.
    - `value` string — The primary field's value as a string of the row in the related table.
    - `order` string, decimal

## Other responses

- `401`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
