---
title: "v2PutBrandsBrandIdEvidenceKindKey | TypeScript SDK | AEO API"
description: "Save evidence under a brand, key and evidence kind. A keyword dataset needs its measurements, source revision and permission to use the data."
url: "https://aeoapi.dev/docs/sdks/typescript/v2PutBrandsBrandIdEvidenceKindKey"
canonical: "https://aeoapi.dev/docs/sdks/typescript/v2PutBrandsBrandIdEvidenceKindKey"
last_updated: "2026-11-30"
---

# v2PutBrandsBrandIdEvidenceKindKey

Save evidence under a brand, key and evidence kind. A keyword dataset needs its measurements, source revision and permission to use the data.

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

## Signature

```
v2PutBrandsBrandIdEvidenceKindKey(
  brand_id: string,
  key: string,
  kind: string,
  body: Record<string, unknown>,
  options?: {
    signal?: AbortSignal;
  },
): Promise<ApiResponse<unknown>>
```

## Parameters

**`brand_id`**

ID of the brand that owns the record.

**`key`**

The record key within this evidence kind. Use a dataset UUID for keyword_dataset.

**`kind`**

Type of saved evidence. The example uses keyword_dataset.

**`body`**

JSON object for this action. The example includes the fields for keyword_dataset.

**`options`**

Pass the named options in the signature. The selected action or view determines which fields are required.

**`options.signal`**

Optional AbortSignal to cancel the HTTP request.

## Return value

Promise\<ApiResponse\<unknown\>\>. For keyword_dataset, data includes dataset_id, source_revision, stored_keywords, rights_expires_at and state.

## Errors

- The SDK throws AeoApiError if the API returns an error. Inspect status, code, fieldErrors and requestId.
- AeoTransportError means the request failed to connect or the client could not finish reading a successful response. Invalid JSON in a successful response throws SyntaxError. If you abort the request, the SDK throws the reason from the AbortSignal.
- For HTTP 422, check fieldErrors for the input field and validation message.

## TypeScript example

```
import { AeoClient } from "@aeoapi/aeo-sdk";

const apiKey = process.env.AEO_API_KEY;
if (!apiKey) throw new Error("Set AEO_API_KEY on your server.");
const client = new AeoClient(apiKey, { baseUrl: "https://api.aeoapi.dev" });

// Substitute your own record IDs and values.
const body = {
  "rights_basis": "customer_licensed",
  "rights_expires_at": "2026-12-24T10:00:00Z",
  "rights_reference": "fixture-license",
  "rows": [
    {
      "country": "US",
      "estimated_monthly_searches": 120,
      "keyword": "setup",
      "language": "en",
      "measured_on": "2026-11-24",
      "source": "example",
      "source_reference": "fixture-measurement",
      "volume_period_end": "2026-10-31",
      "volume_period_start": "2026-10-01"
    }
  ],
  "source_revision": 1
};
const response = await client.v2PutBrandsBrandIdEvidenceKindKey("00000000-0000-4000-8000-000000000001", "00000000-0000-4000-8000-000000000003", "keyword_dataset", body);
console.log(response.status, response.body);
```

## Requests by feature

### Brand evidence

- [Import verified facts](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-verified-facts)
- [Set accuracy facts](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-accuracy-facts)
- [Import page text](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-passage-document)
- [Import asset text](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-asset-document)
- [Save a citation review](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-citation-review)
- [Save a keyword dataset](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-keyword-dataset)
- [Save a target URL](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-impact-target)
- [Import URL traffic](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-traffic)
- [Save daily access totals](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-access-logs)
- [Save page measurements](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-page-experience)
- [Import Search Console data](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-google-import)
- [Save a draft for review](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-prepublish-draft)
- [Save review prompts](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-prepublish-prompts)
- [Save competitor pages](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-prepublish-competitors)
- [Save a page capture](https://aeoapi.dev/docs/features/brand-evidence/put-brands-brand-id-evidence-kind-key-prepublish-capture)

See [TypeScript client setup](https://aeoapi.dev/docs/sdks/typescript) for authentication, timeouts and retry settings.
