---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/anthropic_messages/types/type-aliases/AnthropicThinkingReplayPayload.md
description: Opaque payload stored on a replayable Anthropic thinking `Thought`.
---

# Type Alias: AnthropicThinkingReplayPayload

```ts
type AnthropicThinkingReplayPayload =
  | {
      prefixFingerprint: string;
      signature: string;
      thinking: string;
      variant: "thinking";
    }
  | {
      data: string;
      prefixFingerprint: string;
      variant: "redacted_thinking";
    };
```

Defined in: [src/batteries/llm/anthropic\_messages/types.ts:180](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L180)

Opaque payload stored on a replayable Anthropic thinking `Thought`.

## Union Members

### Type Literal

```ts
{
  prefixFingerprint: string;
  signature: string;
  thinking: string;
  variant: "thinking";
}
```

| Name                | Type         | Description                                           | Defined in                                                                                                                                                  |
| ------------------- | ------------ | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `prefixFingerprint` | `string`     | Stable fingerprint of the signed conversation prefix. | [src/batteries/llm/anthropic\_messages/types.ts:189](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L189) |
| `signature`         | `string`     | Signature exactly as emitted by Anthropic.            | [src/batteries/llm/anthropic\_messages/types.ts:187](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L187) |
| `thinking`          | `string`     | Thinking text exactly as emitted by Anthropic.        | [src/batteries/llm/anthropic\_messages/types.ts:185](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L185) |
| `variant`           | `"thinking"` | Payload variant for a signed thinking block.          | [src/batteries/llm/anthropic\_messages/types.ts:183](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L183) |

***

### Type Literal

```ts
{
  data: string;
  prefixFingerprint: string;
  variant: "redacted_thinking";
}
```

| Name                | Type                  | Description                                             | Defined in                                                                                                                                                  |
| ------------------- | --------------------- | ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data`              | `string`              | Redacted thinking data exactly as emitted by Anthropic. | [src/batteries/llm/anthropic\_messages/types.ts:195](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L195) |
| `prefixFingerprint` | `string`              | Stable fingerprint of the signed conversation prefix.   | [src/batteries/llm/anthropic\_messages/types.ts:197](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L197) |
| `variant`           | `"redacted_thinking"` | Payload variant for a redacted thinking block.          | [src/batteries/llm/anthropic\_messages/types.ts:193](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/anthropic_messages/types.ts#L193) |
