Skip to content

CachePointBlock

Structure Class

CachePointBlock dataclass

Bases: _SerdeShape

Defines a section of content to be cached for reuse in subsequent API calls.

Attributes

ttl class-attribute instance-attribute
ttl: str | None = ...

Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses type value for caching behavior.

type instance-attribute
type: str

Specifies the type of cache point within the CachePointBlock.