---
title: Brand Protection
---

[Skip to content](#_top)

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

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/python/resources/brand_protection/methods/submit)

brand\_protection.submit(BrandProtectionSubmitParams\*\*kwargs) -> [BrandProtectionSubmitResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection%20%3E%20(model)%20brand_protection_submit_response%20%3E%20(schema)>)

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

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

brand\_protection.url\_info(BrandProtectionURLInfoParams\*\*kwargs) -> SyncSinglePage\[[BrandProtectionURLInfoResponse](<https://developers.cloudflare.com/api/python/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>

class Info: …

</summary>

<details>

<summary>

categorizations: Optional\[List\[Categorization]]

List of categorizations applied to this submission.

</summary>

category: Optional\[str]

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: Optional\[str]

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: Optional\[List\[ModelResult]]

List of model results for completed scans.

</summary>

model\_name: Optional\[str]

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: Optional\[float]

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: Optional\[List\[RuleMatch]]

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

</summary>

banning: Optional\[bool]

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: Optional\[bool]

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: Optional\[str]

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: Optional\[str]

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: Optional\[ScanStatus]

Status of the most recent scan found.

</summary>

last\_processed: Optional\[str]

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: Optional\[bool]

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: Optional\[int]

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: Optional\[int]

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: Optional\[str]

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: Optional\[str]

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: Optional\[str]

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>

class Submit: …

</summary>

<details>

<summary>

excluded\_urls: Optional\[List\[ExcludedURL]]

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

</summary>

url: Optional\[str]

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: Optional\[List\[SkippedURL]]

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

</summary>

url: Optional\[str]

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: Optional\[int]

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: Optional\[List\[SubmittedURL]]

URLs that were successfully submitted for scanning.

</summary>

url: Optional\[str]

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: Optional\[int]

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>

class BrandProtectionSubmitResponse: …

</summary>

skipped\_urls: Optional\[List\[Dict\[str, object]]]

<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: Optional\[List\[Dict\[str, object]]]

<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)>)

Dict\[str, object]

[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/python/resources/brand_protection/subresources/queries/methods/create)

brand\_protection.queries.create(QueryCreateParams\*\*kwargs)

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

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

brand\_protection.queries.delete(QueryDeleteParams\*\*kwargs)

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

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

brand\_protection.queries.bulk(QueryBulkParams\*\*kwargs)

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

#### Brand ProtectionMatches

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

brand\_protection.matches.get(MatchGetParams\*\*kwargs) -> [MatchGetResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)>)

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

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

brand\_protection.matches.download(MatchDownloadParams\*\*kwargs) -> [MatchDownloadResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.matches%20%3E%20(model)%20match_download_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class MatchGetResponse: …

</summary>

matches: Optional\[List\[Dict\[str, object]]]

<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: Optional\[int]

<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>

class MatchDownloadResponse: …

</summary>

matches: Optional\[List\[Dict\[str, object]]]

<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: Optional\[int]

<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/python/resources/brand_protection/subresources/logos/methods/create)

brand\_protection.logos.create(LogoCreateParams\*\*kwargs) -> [LogoCreateResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)>)

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

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

brand\_protection.logos.delete(strlogo\_id, LogoDeleteParams\*\*kwargs)

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

##### ModelsExpand Collapse

<details>

<summary>

class LogoCreateResponse: …

</summary>

id: Optional\[int]

<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: Optional\[str]

<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: Optional\[str]

<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/python/resources/brand_protection/subresources/logo_matches/methods/get)

brand\_protection.logo\_matches.get(LogoMatchGetParams\*\*kwargs) -> [LogoMatchGetResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)>)

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

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

brand\_protection.logo\_matches.download(LogoMatchDownloadParams\*\*kwargs) -> [LogoMatchDownloadResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20logo_match_download_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class LogoMatchGetResponse: …

</summary>

matches: Optional\[List\[Dict\[str, object]]]

<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: Optional\[int]

<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>

class LogoMatchDownloadResponse: …

</summary>

matches: Optional\[List\[Dict\[str, object]]]

<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: Optional\[int]

<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/python/resources/brand_protection/subresources/v2/subresources/queries/methods/get)

brand\_protection.v2.queries.get(QueryGetParams\*\*kwargs) -> [QueryGetResponse](<https://developers.cloudflare.com/api/python/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>

<a href="https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.v2.queries%20%3E%20(model)%20query_get_response%20%3E%20(schema)">QueryGetResponse</a>

</summary>

One of the following:

<details>

<summary>

List\[UnionMember0]

</summary>

created: str

<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: Optional\[UnionMember0Parameters]

</summary>

<details>

<summary>

string\_matches: List\[UnionMember0ParametersStringMatch]

</summary>

pattern: str

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: Optional\[str]

<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: Optional\[str]

<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: int

<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: str

<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: bool

<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: str

<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>

class UnionMember1: …

</summary>

created: str

<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: Optional\[UnionMember1Parameters]

</summary>

<details>

<summary>

string\_matches: List\[UnionMember1ParametersStringMatch]

</summary>

pattern: str

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: Optional\[str]

<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: Optional\[str]

<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: int

<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: str

<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: bool

<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: str

<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/python/resources/brand_protection/subresources/v2/subresources/matches/methods/get)

brand\_protection.v2.matches.get(MatchGetParams\*\*kwargs) -> [MatchGetResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.v2.matches%20%3E%20(model)%20match_get_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class MatchGetResponse: …

</summary>

<details>

<summary>

matches: List\[Match]

</summary>

domain: str

<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: str

<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: Optional\[MatchPublicScans]

</summary>

submission\_id: str

<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: Optional\[str]

<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: str

<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: Optional\[int]

<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: Optional\[str]

<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: Optional\[bool]

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: Optional\[List\[MatchMatchDetail]]

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

</summary>

dismissed: bool

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: int

<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: int

<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: Optional\[str]

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: int

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/python/resources/brand_protection/subresources/v2/subresources/logos/methods/create)

brand\_protection.v2.logos.create(LogoCreateParams\*\*kwargs) -> [LogoCreateResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_create_response%20%3E%20(schema)>)

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

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

brand\_protection.v2.logos.delete(strquery\_id, LogoDeleteParams\*\*kwargs) -> [LogoDeleteResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_delete_response%20%3E%20(schema)>)

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

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

brand\_protection.v2.logos.get(LogoGetParams\*\*kwargs) -> [LogoGetResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.v2.logos%20%3E%20(model)%20logo_get_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class LogoCreateResponse: …

</summary>

message: str

<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: bool

<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: Optional\[int]

<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>

class LogoDeleteResponse: …

</summary>

message: str

<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: bool

<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>

List\[LogoGetResponseItem]

</summary>

id: int

<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: str

<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: float

<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: str

<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: Optional\[str]

<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: Optional\[str]

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: Optional\[str]

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/python/resources/brand_protection/subresources/v2/subresources/logo_matches/methods/get)

brand\_protection.v2.logo\_matches.get(LogoMatchGetParams\*\*kwargs) -> [LogoMatchGetResponse](<https://developers.cloudflare.com/api/python/resources/brand_protection#(resource)%20brand_protection.v2.logo_matches%20%3E%20(model)%20logo_match_get_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class LogoMatchGetResponse: …

</summary>

<details>

<summary>

matches: List\[Match]

</summary>

id: int

<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: Optional\[str]

<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: Optional\[str]

<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: int

<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: Optional\[str]

<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: float

<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: Optional\[str]

<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: Optional\[str]

<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: Optional\[str]

<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: int

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)>)