> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Site Audit Issues

> List the issues found by an Ahrefs Site Audit crawl: issue name, category, importance (Error, Warning, Notice), number of affected URLs, and added, removed, new, missing and net change against a co...

List the issues found by an Ahrefs Site Audit crawl: issue name, category, importance (Error, Warning, Notice), number of affected URLs, and added, removed, new, missing and net change against a compared crawl. Fixed cost of 50 Ahrefs API units per request. Use the issue\_id with ahrefs\_get\_site\_audit\_pages to list the affected URLs.

|                      |                                |
| -------------------- | ------------------------------ |
| **App**              | Ahrefs                         |
| **Operation ID**     | `ahrefs_get_site_audit_issues` |
| **Type**             | Action                         |
| **Connection**       | `ahrefs` (required)            |
| **Credits per run**  | Free                           |
| **Agent / MCP tool** | Yes                            |

## Inputs

| Field           | Type                 | Required | Default | Description                                                                                                                                                    |
| --------------- | -------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_id`    | string or SelectItem | Yes      | -       | The Site Audit project (numeric ID from the Ahrefs project URL). Use ahrefs\_get\_site\_audit\_health to list projects and crawl dates.                        |
| `date`          | string               | No       | -       | Crawl to report on, as YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). Defaults to the most recent crawl, whose counts keep rising while that crawl is still running. |
| `date_compared` | string               | No       | -       | Earlier crawl to compare against (same format); fills added, removed, new, missing and change per issue.                                                       |

### SelectItem

| Field   | Type   | Required | Default | Description                                                                                          |
| ------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `value` | string | Yes      | -       | The value of the selectable item.                                                                    |
| `label` | string | Yes      | -       | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `List[Dict]`

Returns one row per issue: issue\_id, name, category, importance, is\_indexable, crawled, added, removed, new, missing, change.

**Fields**: `issue_id`, `name`, `category`, `importance`, `is_indexable`, `crawled`, `added`, `removed`, `new`, `missing`, `change`

**Example**:

```json theme={"dark"}
[
  {
    "issue_id": "404_page",
    "name": "4XX page",
    "category": "Indexability",
    "importance": "Error",
    "is_indexable": false,
    "crawled": 6,
    "added": 2,
    "removed": 1,
    "new": 2,
    "missing": 1,
    "change": 1
  }
]
```
