POSThttps://api.deepinfo.com/v1/easm/discovery/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
{
  "filters": {
    "must": [
      {
        "name": "state",
        "type": "eq",
        "value": "approved"
      }
    ]
  }
}

Filtering

Example body:

JSON
{
  "filters": {
    "must": [
      {
        "name": "state",
        "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 startswith endswith wildcard fuzzy contains_any contains_all exists

FieldDescription
assetThe discovered asset's name: a domain, subdomain or IP address, or for a website asset host:port.
discovery_history.idThe ID of a discovery rule that found the asset, a 32-character hex string; the Discovery page's rule name filter sends this ID.
discovery_history.seed_valueThe seed value a rule started from when it found the asset, such as an IP address, a certificate fingerprint, a phone number or an organization name.
organization_nameAn organization name recorded for the discovered asset; in the samples it is set only on some domains and holds WHOIS-style values such as redacted for privacy.

Operators eq in gte lte exists

FieldDescription
last_discovery_dateWhen a rule last found the asset, shown as the discovery date in Discovery (UTC date-time).
ignore_dateWhen the asset was ignored in Discovery (UTC date-time); empty unless it is ignored.
approve_dateWhen the asset was approved into your inventory (UTC date-time); empty unless it is approved.

Operators eq in exists

FieldDescription
asset_typeThe discovered asset's type: domain, subdomain, ip or website.
stateThe review state: in_review (found by a rule, waiting for a decision), approved (added to your inventory) or ignored (dismissed; it stays out of your inventory).

Sortable Fields

FieldDescription
assetThe discovered asset's name: a domain, subdomain or IP address, or for a website asset host:port.
stateThe review state: in_review (found by a rule, waiting for a decision), approved (added to your inventory) or ignored (dismissed; it stays out of your inventory).
discovery_historyThe rule matches that found the asset, each with the rule ID, rule name, rule type (smart_discovery, smart_monitoring or custom), seed value and discovery date.
last_discovery_dateWhen a rule last found the asset, shown as the discovery date in Discovery (UTC date-time).
organization_nameAn organization name recorded for the discovered asset; in the samples it is set only on some domains and holds WHOIS-style values such as redacted for privacy.
ignore_dateWhen the asset was ignored in Discovery (UTC date-time); empty unless it is ignored.
approve_dateWhen the asset was approved into your inventory (UTC date-time); empty unless it is approved.

Examples

Selecting one loads it into the request and response panels.

Reference updated