# Every domain of the workspace with its last drift check

> Every domain of the workspace with its last drift check: CustomDomain™ API reference in the monitor group. Covers parameters, request body and responses.

Source: https://docs.customdomain.ai/docs/api-reference/monitor/listMonitoredDomains

## `GET https://api.customdomain.ai/v1/monitor/domains`

The monitoring state of the domains in the API key's workspace (or one application with `app_id`), the ones needing attention first, a page at a time, with counts over every domain. Pass the previous page's `next_cursor` as `cursor` for the next page; there is no `next_cursor` on the last one. The per domain detail (watched records, repair route, history) is on `GET /connections/{id}/monitor`.

### Authentication

`apiKey`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `app_id` | query | string | no |  |
| `limit` | query | integer | no | Domains per page; a larger value is read as 1000. |
| `cursor` | query | string | no | The previous page's `next_cursor`. |

### Responses

| Status | Description |
| --- | --- |
| `200` | One page of domains, and a summary of all of them |
| `400` | Error envelope: {code, title, details}. |
| `401` | Error envelope: {code, title, details}. |

### `200` response body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `every` | string | yes |  |
| `auto_repair` | boolean | yes | Whether this deployment puts missing records back automatically (`MONITOR_AUTO_REPAIR`). |
| `next_cursor` | string | no | Present when more domains follow; pass it as `cursor`. |
| `summary` | object | yes |  |
| `domains` | array of object | yes |  |

The full specification is served at `GET https://api.customdomain.ai/v1/openapi.json`.
