Skip to main content

domain_matches

Creates, updates, deletes, gets or lists a domain_matches resource.

Overview

Namedomain_matches
TypeResource
Idcloudflare.brand_protection.domain_matches

Fields

The following fields are returned by SELECT queries:

Successfully retrieved query matches

NameDatatypeDescription
scan_submission_idinteger
dismissedbooleanWhether the match is dismissed. Only present for single-query requests. For multi-query requests, use the dismissed field in each match_details entry.
domainstring
first_seenstring
match_detailsarrayPer-match detail objects with query metadata and individual dismissed state. Only present when multiple query_ids are requested.
public_scansobject
registrarstring
scan_statusstring
sourcestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idoffset, limit, query_id, include_domain_id, include_dismissed, domain_search, orderBy, orderGet paginated list of domain matches for one or more brand protection queries. When multiple query_ids are provided (comma-separated), matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and individual dismissed state.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
include_dismissedstring
include_domain_idstring
limitstring
offsetstring
orderstring
orderBystring
query_idarray

SELECT examples

Get paginated list of domain matches for one or more brand protection queries. When multiple query_ids are provided (comma-separated), matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and individual dismissed state.

SELECT
scan_submission_id,
dismissed,
domain,
first_seen,
match_details,
public_scans,
registrar,
scan_status,
source
FROM cloudflare.brand_protection.domain_matches
WHERE account_id = '{{ account_id }}' -- required
AND offset = '{{ offset }}'
AND limit = '{{ limit }}'
AND query_id = '{{ query_id }}'
AND include_domain_id = '{{ include_domain_id }}'
AND include_dismissed = '{{ include_dismissed }}'
AND domain_search = '{{ domain_search }}'
AND orderBy = '{{ orderBy }}'
AND order = '{{ order }}'
;