Cache TTL
APIDefinition
The time-to-live for cached prompt content in Claude's prompt caching system. The cache entry is refreshed (TTL resets) each time the cached content is used. If unused beyond the TTL window, the cache entry expires and the content must be re-processed and billed at full rate.
Example Usage
Make at least one request using cached content within the TTL window to keep the cache warm and avoid re-processing costs.