# domainErrors

Get all errors for a domain grouped by channels and error categories. Useful for identifying which channels have issues and what types of errors are occurring.

### Parameters

| Parameter   | Type              | Required | Description                                                 |
| ----------- | ----------------- | -------- | ----------------------------------------------------------- |
| `domainId`  | string (UUID)     | Yes      | The domain ID (tagId). Get this from the `domains` tool.    |
| `teamId`    | string (UUID)     | Yes      | The team ID the domain belongs to.                          |
| `startDate` | string (datetime) | Yes      | Start of the time range. Format: `YYYY-MM-DDTHH:mm:ss.SSSZ` |
| `endDate`   | string (datetime) | Yes      | End of the time range. Format: `YYYY-MM-DDTHH:mm:ss.SSSZ`   |

### Output

Returns errors grouped by:

* Channel/provider name
* Error category
* Error count and timestamps

### Example

> "Show me all errors for my store in the last 24 hours"

The AI assistant will call `domainErrors` with the appropriate time range and display a breakdown of errors by channel and category.
