Skip to content

CacheDetail

Structure Class

CacheDetail dataclass

Bases: _SerdeShape

Cache creation metrics for a specific TTL duration

Attributes

input_tokens instance-attribute
input_tokens: int

Number of tokens written to cache with this TTL (cache creation tokens)

ttl instance-attribute
ttl: str

TTL duration for these cached tokens