Cache Creation JSONL Schema
- Entity ID:
ent-20260419-b1749ec790d7 - Type:
concept - Scope:
shared - Status:
active - Aliases: cache_creation, ephemeral_5m_input_tokens, ephemeral_1h_input_tokens
Description
Server-authored per-assistant-message object in ~/.claude/projects/*/.jsonl recording which cache TTL tier an API call consumed. Contains ephemeral_5m_input_tokens and ephemeral_1h_input_tokens; written by Anthropic's API, not the CLI client — cannot be falsified by display layer. Basis for both community TTL audits and the /insights command.
Key claims
- /recap is the real-time session-level version of /insights
- JSONL cache_creation fields cannot be falsified by the client
- /insights generates CLAUDE.md rules from user failure modes
Relations
- Cache TTL Scandal (95-Day JSONL Analysis) --[derived_from]--> Cache Creation JSONL Schema
- /recap Command --[uses]--> Cache Creation JSONL Schema
- /insights Command --[uses]--> Cache Creation JSONL Schema
- Four-Phase Cache TTL Timeline --[derived_from]--> Cache Creation JSONL Schema