POSThttps://api.deepinfo.com/v1/easm/deleted-assets/search:export

Exports every record matching filters (no pagination). format=csv returns CSV text; format=json returns a JSON array. Large exports can time out: narrow them with filters.

Authentication

Send your API key in the apikey request header.

Query Parameters

ParameterRequiredDescription
formatOptional
One of: json, csv.
Examplecsv

Request Body

ParameterTypeRequiredDescription
filtersobjectOptional
See Filtering below
sortarrayOptional
List of {field, order}
application/json
{}

Filtering

Example body:

JSON
{
  "filters": {
    "must": [
      {
        "name": "asset",
        "type": "eq",
        "value": "<value>"
      }
    ]
  },
  "sort": [
    {
      "field": "asset",
      "order": "desc"
    }
  ]
}

See Getting Started → Search & Filters for the operators.

The Request Template example holds this body with every filter of this endpoint, one entry per field, each with an operator the field accepts and a placeholder value. Copy it, keep the filters you need and set their values.

Searchable Fields

Grouped by the operators they accept (measured against the API; sending another operator returns 400).

Operators eq in gte lte exists

FieldDescription
added_dateWhen the asset was added to your inventory, before it was removed (UTC date-time).
deleted_dateWhen the asset was removed from your inventory (UTC date-time).
latest_scan_dateWhen the asset was last scanned before it was removed (UTC date-time).
seems_inactive_first_seenWhen the asset was first found to seem inactive (UTC date-time).
seems_inactive_last_seenWhen the asset was most recently found to seem inactive (UTC date-time).

Operators eq exists

FieldDescription
is_main_assetTrue when the asset was set as a main asset, the primary asset for all related assets, configurations and reports.
seems_inactiveTrue when the asset seemed inactive: no active DNS records or WHOIS information were found (for a subdomain: no DNS records). The Deleted Assets list flags such assets.
discovery_enabledTrue when discovery used the asset as a starting point to find related assets.

Operators eq in exists

FieldDescription
asset_typeThe asset type: domain, subdomain, ip or website.
creation_methodHow the asset entered your inventory: manually_added (added directly), manually_approved (approved by someone in Discovery) or auto_approved (added by a discovery rule with auto approval).

Operators eq in startswith endswith contains_any contains_all exists

FieldDescription
assetThe removed asset's name: a domain, subdomain or IP address, or for a website asset host:port.
tagsYour own labels on the removed asset, such as a business unit or an environment.

Sortable Fields

FieldDescription
assetThe removed asset's name: a domain, subdomain or IP address, or for a website asset host:port.
asset_typeThe asset type: domain, subdomain, ip or website.
added_dateWhen the asset was added to your inventory, before it was removed (UTC date-time).
deleted_dateWhen the asset was removed from your inventory (UTC date-time).
creation_methodHow the asset entered your inventory: manually_added (added directly), manually_approved (approved by someone in Discovery) or auto_approved (added by a discovery rule with auto approval).
latest_scan_dateWhen the asset was last scanned before it was removed (UTC date-time).
is_main_assetTrue when the asset was set as a main asset, the primary asset for all related assets, configurations and reports.
seems_inactiveTrue when the asset seemed inactive: no active DNS records or WHOIS information were found (for a subdomain: no DNS records). The Deleted Assets list flags such assets.
seems_inactive_first_seenWhen the asset was first found to seem inactive (UTC date-time).
seems_inactive_last_seenWhen the asset was most recently found to seem inactive (UTC date-time).
discovery_enabledTrue when discovery used the asset as a starting point to find related assets.

Examples

Selecting one loads it into the request and response panels.

Reference updated