ChatContentCacheControl - TypeScript SDK

ChatContentCacheControl type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Cache control for the content part

Example Usage

1import { ChatContentCacheControl } from "@openrouter/sdk/models";
2
3let value: ChatContentCacheControl = {
4 type: "ephemeral",
5};

Fields

FieldTypeRequiredDescriptionExample
ttlmodels.AnthropicCacheControlTtlN/A5m
typemodels.ChatContentCacheControlType✔️N/A