﻿---
title: inbound-links validate-link-reference
description: Validate a locally published links.json file against all published links.json files in the registry 
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2777/cli/links/inbound-links-validate-link-reference
---

# inbound-links validate-link-reference
Validate a locally published links.json file against all published links.json files in the registry

## Usage

```
docs-builder inbound-links validate-link-reference [options...] [-h|--help] [--version]
```


## Options

<definitions>
  <definition term="--file <string>">
    Path to `links.json` defaults to '.artifacts/docs/html/links.json' (optional)
  </definition>
  <definition term="-p|--path <string>">
    Defaults to the `{pwd}` folder (optional)
  </definition>
</definitions>