---
title: "v2_get_brands_brand_id_evidence_kind_key | Python SDK | AEO API"
description: "Look up keyword measurements in a saved dataset. Use its UUID as the key and supply the market and requested terms."
url: "https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-evidence-kind-key"
canonical: "https://aeoapi.dev/docs/sdks/python/v2-get-brands-brand-id-evidence-kind-key"
last_updated: "2026-11-30"
---

# v2_get_brands_brand_id_evidence_kind_key

Look up keyword measurements in a saved dataset. Use its UUID as the key and supply the market and requested terms.

See the REST reference for [`GET /v2/brands/{brand_id}/evidence/{kind}/{key}`](https://aeoapi.dev/docs/api-reference#get-v2-brands-brand_id-evidence-kind-key).

## Signature

```
v2_get_brands_brand_id_evidence_kind_key(
    brand_id: str,
    key: str,
    kind: str,
    *,
    country: str,
    keywords: Sequence[str],
    language: str,
    source_revision: int | None = None,
) -> Response[Any]
```

## Parameters

**`brand_id`**

Identifier for the brand.

**`key`**

Evidence identifier. For a keyword dataset, pass its UUID.

**`kind`**

Selects the kind of record. The accepted values depend on the operation.

**`country`**

Filter results by country.

**`keywords`**

Terms to look up in the keyword dataset. Send between 1 and 50.

**`language`**

Filter results by language.

**`source_revision`**

Source dataset revision. For revocation, provide the revision you intend to remove.

## Return value

The result in response.data identifies the dataset and revision, measurements for matching terms, and missing_keywords.

## Errors

- AeoApiError includes the HTTP status, error code and request ID. An invalid key raises UnauthenticatedError. Check the key’s scopes if you receive ForbiddenError.
- Invalid arguments can raise ValueError or TypeError before the SDK sends a request.
- AeoTransportError means the request could not reach the API after any allowed retries, or the response could not be read as JSON.

## Python example

```
import os
from aeo_sdk import AeoClient

with AeoClient(os.environ["AEO_API_KEY"], base_url=os.environ["AEO_API_BASE_URL"]) as client:
    response = client.v2_get_brands_brand_id_evidence_kind_key(
        brand_id='00000000-0000-4000-8000-000000000001',
        key='00000000-0000-4000-8000-000000000002',
        kind='keyword_dataset',
        country='US',
        keywords=['setup'],
        language='en',
    )
    print(response.body)
```

## Async example

```
import asyncio
import os
from aeo_sdk import AsyncAeoClient

async def main():
    async with AsyncAeoClient(os.environ["AEO_API_KEY"], base_url=os.environ["AEO_API_BASE_URL"]) as client:
        response = await client.v2_get_brands_brand_id_evidence_kind_key(
            brand_id='00000000-0000-4000-8000-000000000001',
            key='00000000-0000-4000-8000-000000000002',
            kind='keyword_dataset',
            country='US',
            keywords=['setup'],
            language='en',
        )
        print(response.body)

asyncio.run(main())
```

## Requests by feature

### Brand evidence

- [Look up keywords](https://aeoapi.dev/docs/features/brand-evidence/get-brands-brand-id-evidence-kind-key-keyword-dataset)

See [Python client setup](https://aeoapi.dev/docs/sdks/python) for the environment variables, response properties and retry settings.
