# Asset Discovery Smart Discovery Rule Detail

GET /easm/discovery/smart-discovery-rules/{rule_id}: Returns one smart discovery rule.

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

Last updated: 2026-09-27

---
`GET https://api.deepinfo.com/v1/easm/discovery/smart-discovery-rules/{rule_id}`

Returns one smart discovery rule.

## Authentication

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

## Path Parameters

| Parameter | Required | Description | Example |
|---|---|---|---|
| `rule_id` | Required |  | `00000000000000000000000e8e040001` |

## Response Fields

| Field | Type |
|---|---|
| `id` | string |
| `name` | string |
| `description` | string |
| `excluded_seed_assets` | array of string |
| `excluded_seed_values` | array of string |
| `auto_approval` | boolean |
| `global_blocklist` | boolean |
| `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.

| Field | Type |
|---|---|
| `id` | string |
| `name` | string |
| `description` | null |
| `excluded_seed_assets` | array |
| `excluded_seed_values` | array |
| `auto_approval` | boolean |
| `global_blocklist` | boolean |
| `enabled` | boolean |

## Examples

### 200 · OK

```bash
curl 'https://api.deepinfo.com/v1/easm/discovery/smart-discovery-rules/00000000000000000000000e8e040001' \
  -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",
  "description": null,
  "excluded_seed_assets": [],
  "excluded_seed_values": [],
  "auto_approval": false,
  "global_blocklist": true,
  "enabled": true
}
```

### 404 · Not Found (nonexistent rule_id)

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

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

```json
{
  "code": 30003,
  "details": [
    "Smart Discovery Rule does not exist."
  ],
  "solution": "https://docs.deepinfo.com/reference/"
}
```
