> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://contentful.com/developers/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/developers/docs/_mcp/server.

# Link Filtering

You can filter on Links within Entries. The same logic applies as for [nested filtering](/references/graphql/collection-filters#nested-collection-filters): your Content Model must include validations specifying the Content Type (or types) for the Link. For example, the following schema can be generated for a content model that contains a `Blog Post` content type, with the `Title` and `Content` fields as strings and a `Link` to an entry with a validation specifying an `Author`:

```graphql
type BlogPost {
  sys: Sys
  title: String
  content: String
  author: Author
}

type Author {
  sys: Sys
  name: String
}
```

You can filter on any fields of the `author` type. For example:

```graphql
query {
  blogPostCollection {
    items {
      title
      content
      author(where: {name: "Blog Post Author"}) {
        name
      }
    }
  }
}
```

If there is a match, the author will be returned. Otherwise, you will receive a `null` value. All of the same filters that are available on collections are available on this single link level.