---
title: Brand Protection
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Brand Protection

##### [Create new URL submissions](https://developers.cloudflare.com/api/typescript/resources/brand_protection/methods/submit)

client.brandProtection.submit(BrandProtectionSubmitParams {account\_id } params, RequestOptionsoptions?): [BrandProtectionSubmitResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection%20%3E%20(model)%20brand_protection_submit_response%20%3E%20(schema)>) {skipped\_urls, submitted\_urls }

POST/accounts/{account\_id}/brand-protection/submit

##### [Read submitted URLs by ID](https://developers.cloudflare.com/api/typescript/resources/brand_protection/methods/url_info)

client.brandProtection.urlInfo(BrandProtectionURLInfoParams {account\_id } params, RequestOptionsoptions?): SinglePage< [BrandProtectionURLInfoResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection%20%3E%20(model)%20brand_protection_url_info_response%20%3E%20(schema)>)>

GET/accounts/{account\_id}/brand-protection/url-info

##### ModelsExpand Collapse

<details>

<summary>

Info {categorizations, model\_results, rule\_matches, 4 more }

</summary>

<details>

<summary>

categorizations?: Array&lt;Categorization&gt;

List of categorizations applied to this submission.

</summary>

category?: string

Name of the category applied.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20categorizations%20%3E%20(items)%20%3E%20(property)%20category">Link to this property</a>

verification\_status?: string

Result of human review for this categorization.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20categorizations%20%3E%20(items)%20%3E%20(property)%20verification_status">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20categorizations">Link to this property</a>

<details>

<summary>

model\_results?: Array&lt;ModelResult&gt;

List of model results for completed scans.

</summary>

model\_name?: string

Name of the model.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20model_results%20%3E%20(items)%20%3E%20(property)%20model_name">Link to this property</a>

model\_score?: number

This is the score that is outputted by the model for this submission.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20model_results%20%3E%20(items)%20%3E%20(property)%20model_score">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20model_results">Link to this property</a>

<details>

<summary>

rule\_matches?: Array&lt;RuleMatch&gt;

List of signatures that matched against site content found when crawling the URL.

</summary>

banning?: boolean

For internal use.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20rule_matches%20%3E%20(items)%20%3E%20(property)%20banning">Link to this property</a>

blocking?: boolean

For internal use.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20rule_matches%20%3E%20(items)%20%3E%20(property)%20blocking">Link to this property</a>

description?: string

Description of the signature that matched.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20rule_matches%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

name?: string

Name of the signature that matched.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20rule_matches%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20rule_matches">Link to this property</a>

<details>

<summary>

scan\_status?: ScanStatus {last\_processed, scan\_complete, status\_code, submission\_id }

Status of the most recent scan found.

</summary>

last\_processed?: string

Timestamp of when the submission was processed.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20scan_status%20%3E%20(property)%20last_processed">Link to this property</a>

scan\_complete?: boolean

For internal use.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20scan_status%20%3E%20(property)%20scan_complete">Link to this property</a>

status\_code?: number

Status code that the crawler received when loading the submitted URL.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20scan_status%20%3E%20(property)%20status_code">Link to this property</a>

submission\_id?: number

ID of the most recent submission.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20scan_status%20%3E%20(property)%20submission_id">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20scan_status">Link to this property</a>

screenshot\_download\_signature?: string

For internal use.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20screenshot_download_signature">Link to this property</a>

screenshot\_path?: string

For internal use.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20screenshot_path">Link to this property</a>

url?: string

URL that was submitted.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)%20%3E%20(property)%20url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection%20%3E%20(model)%20info%20%3E%20(schema)>)

<details>

<summary>

Submit {excluded\_urls, skipped\_urls, submitted\_urls }

</summary>

<details>

<summary>

excluded\_urls?: Array&lt;ExcludedURL&gt;

URLs that were excluded from scanning because their domain is in our no-scan list.

</summary>

url?: string

URL that was excluded.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20excluded_urls%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20excluded_urls">Link to this property</a>

<details>

<summary>

skipped\_urls?: Array&lt;SkippedURL&gt;

URLs that were skipped because the same URL is currently being scanned.

</summary>

url?: string

URL that was skipped.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20skipped_urls%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

url\_id?: number

ID of the submission of that URL that is currently scanning.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20skipped_urls%20%3E%20(items)%20%3E%20(property)%20url_id">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20skipped_urls">Link to this property</a>

<details>

<summary>

submitted\_urls?: Array&lt;SubmittedURL&gt;

URLs that were successfully submitted for scanning.

</summary>

url?: string

URL that was submitted.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20submitted_urls%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

url\_id?: number

ID assigned to this URL submission. Used to retrieve scanning results.

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20submitted_urls%20%3E%20(items)%20%3E%20(property)%20url_id">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)%20%3E%20(property)%20submitted_urls">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection%20%3E%20(model)%20submit%20%3E%20(schema)>)

<details>

<summary>

BrandProtectionSubmitResponse {skipped\_urls, submitted\_urls }

</summary>

skipped\_urls?: Array&lt;Record&lt;string, unknown&gt;&gt;

<a href="#(resource)%20brand_protection%20%3E%20(model)%20brand_protection_submit_response%20%3E%20(schema)%20%3E%20(property)%20skipped_urls">Link to this property</a>

submitted\_urls?: Array&lt;Record&lt;string, unknown&gt;&gt;

<a href="#(resource)%20brand_protection%20%3E%20(model)%20brand_protection_submit_response%20%3E%20(schema)%20%3E%20(property)%20submitted_urls">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection%20%3E%20(model)%20brand_protection_submit_response%20%3E%20(schema)>)

BrandProtectionURLInfoResponse = Record<string, unknown>

[Link to this property](<#(resource)%20brand_protection%20%3E%20(model)%20brand_protection_url_info_response%20%3E%20(schema)>)

#### Brand ProtectionQueries

##### [Create new saved string queries](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/queries/methods/create)

client.brandProtection.queries.create(QueryCreateParams {account\_id, id, body\_scan, 4 more } params, RequestOptionsoptions?): void

POST/accounts/{account\_id}/brand-protection/queries

##### [Delete saved string queries by ID](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/queries/methods/delete)

client.brandProtection.queries.delete(QueryDeleteParams {account\_id, id, scan, tag } params, RequestOptionsoptions?): void

DELETE/accounts/{account\_id}/brand-protection/queries

##### [Create new saved string queries in bulk](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/queries/methods/bulk)

client.brandProtection.queries.bulk(QueryBulkParams {account\_id, queries } params, RequestOptionsoptions?): void

POST/accounts/{account\_id}/brand-protection/queries/bulk

#### Brand ProtectionMatches

##### [Read matches for string queries by ID](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/matches/methods/get)

client.brandProtection.matches.get(MatchGetParams {account\_id, id, include\_dismissed, 3 more } params, RequestOptionsoptions?): [MatchGetResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)>) {matches, total }

GET/accounts/{account\_id}/brand-protection/matches

##### [Download matches for string queries by ID](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/matches/methods/download)

client.brandProtection.matches.download(MatchDownloadParams {account\_id, id, include\_dismissed, 3 more } params, RequestOptionsoptions?): [MatchDownloadResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.matches%20%3E%20(model)%20match_download_response%20%3E%20(schema)>) {matches, total }

GET/accounts/{account\_id}/brand-protection/matches/download

##### ModelsExpand Collapse

<details>

<summary>

MatchGetResponse {matches, total }

</summary>

matches?: Array&lt;Record&lt;string, unknown&gt;&gt;

<a href="#(resource)%20brand_protection.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches">Link to this property</a>

total?: number

<a href="#(resource)%20brand_protection.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)>)

<details>

<summary>

MatchDownloadResponse {matches, total }

</summary>

matches?: Array&lt;Record&lt;string, unknown&gt;&gt;

<a href="#(resource)%20brand_protection.matches%20%3E%20(model)%20match_download_response%20%3E%20(schema)%20%3E%20(property)%20matches">Link to this property</a>

total?: number

<a href="#(resource)%20brand_protection.matches%20%3E%20(model)%20match_download_response%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.matches%20%3E%20(model)%20match_download_response%20%3E%20(schema)>)

#### Brand ProtectionLogos

##### [Create new saved logo queries from image files](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/logos/methods/create)

client.brandProtection.logos.create(LogoCreateParams {account\_id, match\_type, tag, 2 more } params, RequestOptionsoptions?): [LogoCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)>) {id, tag, upload\_path }

POST/accounts/{account\_id}/brand-protection/logos

##### [Delete saved logo queries by ID](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/logos/methods/delete)

client.brandProtection.logos.delete(stringlogoID, LogoDeleteParams {account\_id } params, RequestOptionsoptions?): void

DELETE/accounts/{account\_id}/brand-protection/logos/{logo\_id}

##### ModelsExpand Collapse

<details>

<summary>

LogoCreateResponse {id, tag, upload\_path }

</summary>

id?: number

<a href="#(resource)%20brand_protection.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

tag?: string

<a href="#(resource)%20brand_protection.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)%20%3E%20(property)%20tag">Link to this property</a>

upload\_path?: string

<a href="#(resource)%20brand_protection.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)%20%3E%20(property)%20upload_path">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)>)

#### Brand ProtectionLogo Matches

##### [Read matches for logo queries by ID](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/logo_matches/methods/get)

client.brandProtection.logoMatches.get(LogoMatchGetParams {account\_id, limit, logo\_id, offset } params, RequestOptionsoptions?): [LogoMatchGetResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)>) {matches, total }

GET/accounts/{account\_id}/brand-protection/logo-matches

##### [Download matches for logo queries by ID](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/logo_matches/methods/download)

client.brandProtection.logoMatches.download(LogoMatchDownloadParams {account\_id, limit, logo\_id, offset } params, RequestOptionsoptions?): [LogoMatchDownloadResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_download_response%20%3E%20(schema)>) {matches, total }

GET/accounts/{account\_id}/brand-protection/logo-matches/download

##### ModelsExpand Collapse

<details>

<summary>

LogoMatchGetResponse {matches, total }

</summary>

matches?: Array&lt;Record&lt;string, unknown&gt;&gt;

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches">Link to this property</a>

total?: number

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)>)

<details>

<summary>

LogoMatchDownloadResponse {matches, total }

</summary>

matches?: Array&lt;Record&lt;string, unknown&gt;&gt;

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_download_response%20%3E%20(schema)%20%3E%20(property)%20matches">Link to this property</a>

total?: number

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_download_response%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_download_response%20%3E%20(schema)>)

#### Brand ProtectionV2

#### Brand ProtectionV2Queries

##### [Get queries](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/v2/subresources/queries/methods/get)

client.brandProtection.v2.queries.get(QueryGetParams {account\_id, id, page, per\_page } params, RequestOptionsoptions?): [QueryGetResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/cloudforce-one/v2/brand-protection/domain/queries

##### ModelsExpand Collapse

<details>

<summary>

QueryGetResponse = Array&lt;UnionMember0&gt;| UnionMember1 {created, parameters, query\_id, 3 more }

</summary>

One of the following:

<details>

<summary>

Array&lt;UnionMember0&gt;

</summary>

created: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20created">Link to this property</a>

<details>

<summary>

parameters: Parameters| null

</summary>

<details>

<summary>

string\_matches: Array&lt;StringMatch&gt;

</summary>

pattern: string

maxLength200

minLength1

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20parameters%20%3E%20(property)%20string_matches%20%3E%20(items)%20%3E%20(property)%20pattern">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20parameters%20%3E%20(property)%20string_matches">Link to this property</a>

max\_time?: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20parameters%20%3E%20(property)%20max_time">Link to this property</a>

min\_time?: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20parameters%20%3E%20(property)%20min_time">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20parameters">Link to this property</a>

query\_id: number

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20query_id">Link to this property</a>

query\_tag: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20query_tag">Link to this property</a>

scan: boolean

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20scan">Link to this property</a>

updated: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(items)%20%3E%20(property)%20updated">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

UnionMember1 {created, parameters, query\_id, 3 more }

</summary>

created: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20created">Link to this property</a>

<details>

<summary>

parameters: Parameters| null

</summary>

<details>

<summary>

string\_matches: Array&lt;StringMatch&gt;

</summary>

pattern: string

maxLength200

minLength1

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20parameters%20%3E%20(property)%20string_matches%20%3E%20(items)%20%3E%20(property)%20pattern">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20parameters%20%3E%20(property)%20string_matches">Link to this property</a>

max\_time?: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20parameters%20%3E%20(property)%20max_time">Link to this property</a>

min\_time?: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20parameters%20%3E%20(property)%20min_time">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20parameters">Link to this property</a>

query\_id: number

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20query_id">Link to this property</a>

query\_tag: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20query_tag">Link to this property</a>

scan: boolean

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20scan">Link to this property</a>

updated: string

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20updated">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)>)

#### Brand ProtectionV2Matches

##### [List saved query matches](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/v2/subresources/matches/methods/get)

client.brandProtection.v2.matches.get(MatchGetParams {account\_id, query\_id, domain\_search, 6 more } params, RequestOptionsoptions?): [MatchGetResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)>) {matches, total }

GET/accounts/{account\_id}/cloudforce-one/v2/brand-protection/domain/matches

##### ModelsExpand Collapse

<details>

<summary>

MatchGetResponse {matches, total }

</summary>

<details>

<summary>

matches: Array&lt;Match&gt;

</summary>

domain: string

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20domain">Link to this property</a>

first\_seen: string

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20first_seen">Link to this property</a>

<details>

<summary>

public\_scans: PublicScans| null

</summary>

submission\_id: string

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20public_scans%20%3E%20(property)%20submission_id">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20public_scans">Link to this property</a>

registrar: string| null

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20registrar">Link to this property</a>

scan\_status: string

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20scan_status">Link to this property</a>

scan\_submission\_id: number| null

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20scan_submission_id">Link to this property</a>

source: string| null

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20source">Link to this property</a>

dismissed?: boolean

Whether the match is dismissed. Only present for single-query requests. For multi-query requests, use the dismissed field in each match\_details entry.

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20dismissed">Link to this property</a>

<details>

<summary>

match\_details?: Array&lt;MatchDetail&gt;

Per-match detail objects with query metadata and individual dismissed state. Only present when multiple query\_ids are requested.

</summary>

dismissed: boolean

Individual dismissed state for this specific match.

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20match_details%20%3E%20(items)%20%3E%20(property)%20dismissed">Link to this property</a>

match\_id: number

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20match_details%20%3E%20(items)%20%3E%20(property)%20match_id">Link to this property</a>

query\_id: number

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20match_details%20%3E%20(items)%20%3E%20(property)%20query_id">Link to this property</a>

query\_tag: string| null

Tag associated with the query, if one exists.

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20match_details%20%3E%20(items)%20%3E%20(property)%20query_tag">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20match_details">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches">Link to this property</a>

total: number

minimum0

<a href="#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)>)

#### Brand ProtectionV2Logos

##### [Insert logo query](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/v2/subresources/logos/methods/create)

client.brandProtection.v2.logos.create(LogoCreateParams {account\_id, image\_data, similarity\_threshold, 2 more } params, RequestOptionsoptions?): [LogoCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)>) {message, success, query\_id }

POST/accounts/{account\_id}/cloudforce-one/v2/brand-protection/logo/queries

##### [Delete logo query](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/v2/subresources/logos/methods/delete)

client.brandProtection.v2.logos.delete(stringqueryID, LogoDeleteParams {account\_id } params, RequestOptionsoptions?): [LogoDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_delete_response%20%3E%20(schema)>) {message, success }

DELETE/accounts/{account\_id}/cloudforce-one/v2/brand-protection/logo/queries/{query\_id}

##### [Get logo queries](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/v2/subresources/logos/methods/get)

client.brandProtection.v2.logos.get(LogoGetParams {account\_id, id, download } params, RequestOptionsoptions?): [LogoGetResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)>) {id, r2\_path, similarity\_threshold, 4 more }

GET/accounts/{account\_id}/cloudforce-one/v2/brand-protection/logo/queries

##### ModelsExpand Collapse

<details>

<summary>

LogoCreateResponse {message, success, query\_id }

</summary>

message: string

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

success: boolean

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

query\_id?: number

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)%20%3E%20(property)%20query_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)>)

<details>

<summary>

LogoDeleteResponse {message, success }

</summary>

message: string

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_delete_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

success: boolean

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_delete_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_delete_response%20%3E%20(schema)>)

<details>

<summary>

LogoGetResponse = Array&lt;LogoGetResponseItem&gt;

</summary>

id: number

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

r2\_path: string

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20r2_path">Link to this property</a>

similarity\_threshold: number

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20similarity_threshold">Link to this property</a>

tag: string

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20tag">Link to this property</a>

uploaded\_at: string| null

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20uploaded_at">Link to this property</a>

content\_type?: string

MIME type of the image (only present when download=true)

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20content_type">Link to this property</a>

image\_data?: string

Base64-encoded image data (only present when download=true)

<a href="#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20image_data">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)>)

#### Brand ProtectionV2Logo Matches

##### [List logo matches](https://developers.cloudflare.com/api/typescript/resources/brand_protection/subresources/v2/subresources/logo_matches/methods/get)

client.brandProtection.v2.logoMatches.get(LogoMatchGetParams {account\_id, query\_id, download, 4 more } params, RequestOptionsoptions?): [LogoMatchGetResponse](<https://developers.cloudflare.com/api/typescript/resources/brand_protection#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)>) {matches, total }

GET/accounts/{account\_id}/cloudforce-one/v2/brand-protection/logo/matches

##### ModelsExpand Collapse

<details>

<summary>

LogoMatchGetResponse {matches, total }

</summary>

<details>

<summary>

matches: Array&lt;Match&gt;

</summary>

id: number

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

domain: string| null

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20domain">Link to this property</a>

matched\_at: string| null

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20matched_at">Link to this property</a>

query\_id: number

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20query_id">Link to this property</a>

registrar: string| null

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20registrar">Link to this property</a>

similarity\_score: number

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20similarity_score">Link to this property</a>

url\_scan\_id: string| null

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20url_scan_id">Link to this property</a>

content\_type?: string

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20content_type">Link to this property</a>

image\_data?: string

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches%20%3E%20(items)%20%3E%20(property)%20image_data">Link to this property</a>

</details>

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20matches">Link to this property</a>

total: number

minimum0

<a href="#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)>)