Get logo queries
brand_protection.v2.logos.get(LogoGetParams**kwargs) -> LogoGetResponse
GET/accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/queries
Get all saved brand protection logo queries for an account. Optionally specify id to get a single query. Set download=true to include base64-encoded image data.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Parameters
Get logo queries
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
logos = client.brand_protection.v2.logos.get(
account_id="x",
)
print(logos)[
{
"id": 0,
"r2_path": "r2_path",
"similarity_threshold": 0,
"tag": "tag",
"uploaded_at": "uploaded_at",
"content_type": "content_type",
"image_data": "image_data"
}
]Returns Examples
[
{
"id": 0,
"r2_path": "r2_path",
"similarity_threshold": 0,
"tag": "tag",
"uploaded_at": "uploaded_at",
"content_type": "content_type",
"image_data": "image_data"
}
]