# Asset Discovery Rule List

GET /easm/discovery/rules: Lists all discovery rules (smart discovery, smart monitoring and custom) with their counts.

Source: https://docs.deepinfo.com/reference/easm/asset-discovery-rule-list/

Last updated: 2026-09-27

---
`GET https://api.deepinfo.com/v1/easm/discovery/rules`

Lists all discovery rules (smart discovery, smart monitoring and custom) with their counts.

## Authentication

Send your API key in the `apikey` request header.

## Response Fields

An array of objects:

| Field | Type | Description |
|---|---|---|
| `id` | string |  |
| `name` | string |  |
| `type` | string | One of `smart_discovery`, `smart_monitoring`, `custom` |
| `enabled` | boolean |  |

## Response Schema

_Inferred from examples._ Built from the saved 2xx example response: the fields it contains, with the types seen there. It is not a contract. The response body is an array; `[]` marks its elements.

| Field | Type |
|---|---|
| `[].id` | string |
| `[].name` | string |
| `[].type` | string |
| `[].enabled` | boolean |

## Examples

### 200 · OK

```bash
curl 'https://api.deepinfo.com/v1/easm/discovery/rules' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

`Content-Type: application/json` · `deepinfo-request-id: 00000000-0000-4000-8000-0000356d0001`

```json
[
  {
    "id": "00000000000000000000000e8e040001",
    "name": "Main domains",
    "type": "smart_discovery",
    "enabled": true
  },
  {
    "id": "00000000000000000000000e8e040002",
    "name": "Subsidiary domains",
    "type": "smart_discovery",
    "enabled": true
  }
]
```
