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

# checkLink

> Reference for the `checkLink` schema.

## Referenced In

* [Markup definition](/reference/schemas/markup-definition)
* [test](/reference/schemas/test)
* [Resolved context](/reference/schemas/resolved-context)

## Fields

| Field     | Type                                                                                       | Description                        | Default |
| :-------- | :----------------------------------------------------------------------------------------- | :--------------------------------- | :------ |
| checkLink | one of: - string - object([Check link (detailed)](/reference/schemas/check-link-detailed)) | Required. No description provided. | —       |

## Examples

```json
{
  "checkLink": "https://www.google.com"
}
```

```json
{
  "checkLink": "/search"
}
```

```json
{
  "checkLink": {
    "url": "https://www.google.com",
    "statusCodes": 200
  }
}
```

```json
{
  "checkLink": {
    "url": "/search",
    "origin": "https://www.google.com",
    "statusCodes": [
      200
    ]
  }
}
```

```json
{
  "checkLink": {
    "url": "/health",
    "origin": "https://my-app.com",
    "params": {
      "__clerk_testing_token": "$CLERK_TESTING_TOKEN"
    }
  }
}
```