---
title: "GET /integrity/base/{baseId}/link-check"
method: GET
path: "/integrity/base/{baseId}/link-check"
tags: ["integrity"]
---

# GET /integrity/base/{baseId}/link-check

`GET /integrity/base/{baseId}/link-check`

Check integrity of link fields in a base

## Path parameters

- `baseId` string, required

## Query parameters

- `tableId` string, required

## Response `200`

Returns integrity check results for the base

- object
  - `hasIssues` boolean, required
  - `linkFieldIssues` object[], required
    - `baseId` string — The base id of the link field with is cross-base
    - `baseName` string
    - `tableId` string
    - `tableName` string
    - `issues` object[], required
      - `type` 'ForeignTableNotFound' | 'ForeignKeyNotFound' | 'SelfKeyNotFound' | 'SymmetricFieldNotFound' | 'MissingRecordReference' | 'InvalidLinkReference' | 'ForeignKeyHostTableNotFound' | 'ReferenceFieldNotFound' | 'UniqueIndexNotFound' | 'EmptyString', required
      - `message` string, required
      - `fieldId` string, required
      - `tableId` string

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/revisions/7515f3b33d79/schema)
