# Broken links

{% hint style="info" %}
This feature is available on [Pro and Enterprise plans](https://www.gitbook.com/pricing).
{% endhint %}

<div data-full-width="false"><figure><img src="/files/r1PIFL06H4Vsv82XMZer" alt="A GitBook screenshot showing the Broken links panel"><figcaption><p>The <strong>Broken links</strong> panel that you can open on the right of a space to check for broken internal links.</p></figcaption></figure></div>

You can add different [types of links](/docs/creating-content/formatting/inline.md#links) to your pages in GitBook. If someone has broken a [relative link](/docs/creating-content/formatting/inline.md#relative-links) while making a change request by updating it or changing its location, you’ll see a notification letting you know there’s something to fix.

{% hint style="info" %}
Broken link detection currently works only for relative links to other GitBook content in your organization. It will not detect broken links to external URLs.
{% endhint %}

To view broken links, click the broken link symbol in the [space header](/docs/resources/gitbook-ui.md#space-header) when inside a change request.

### Fix a broken link

If GitBook finds a broken link, you’ll see a notification in this section with a link to the page that includes the broken link. Then, simply replace or update the link with a valid one.

As you view your broken links, you can also set the scope and filter of broken links inside of the sidebar:

#### Scope: Current change request

This will find newly broken links within the scope of the current change request you are working in.

#### Scope: Current space

This will find broken links within the scope of the current space you are in.

#### Filter by: Broken links

Show any broken or missing links in the space or change request you are in.

#### Filter by: Internal links

This filter is useful for making sure your published docs don’t link to internal content within your GitBook organization. It’ll show any links to internal, unpublished content that readers of your published content won’t have access to (i.e. links that start `app.gitbook.com/o/<organizationID>/…`). You can fix them by replacing the links with the URL of the published GitBook page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/creating-content/broken-links.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
