Interface: NamespaceAnswerCacheSavingsDto
@kortexya/reasoninglayer / NamespaceAnswerCacheSavingsDto
Interface: NamespaceAnswerCacheSavingsDto
Section titled “Interface: NamespaceAnswerCacheSavingsDto”Defined in: src/types/namespaces.ts:88
Engine-counted answer-cache outcomes for one namespace
(GET /api/v1/namespaces/{id}/answer-cache-savings).
Remarks
Section titled “Remarks”Durable, and summed across engine processes and restarts since
countedSince; another process’s counts arrive within its five-second
write interval. Only the response-generation call is counted.
Properties
Section titled “Properties”bypassed
Section titled “bypassed”bypassed:
number
Defined in: src/types/namespaces.ts:96
Answers the caller requested fresh (Cache-Control: no-cache / no-store).
countedSince
Section titled “countedSince”countedSince:
string
Defined in: src/types/namespaces.ts:90
When the engine first counted an outcome for the namespace, or now when it has counted none (ISO 8601).
disabled
Section titled “disabled”disabled:
number
Defined in: src/types/namespaces.ts:98
Answers under a disabled namespace policy.
freshModelCalls
Section titled “freshModelCalls”freshModelCalls:
number
Defined in: src/types/namespaces.ts:92
Response-generation calls made under an enabled policy.
reusedModelCalls
Section titled “reusedModelCalls”reusedModelCalls:
number
Defined in: src/types/namespaces.ts:94
Response-generation calls not made: exact or equivalent-read reuse after fresh native retrieval.
tokenUsageMeasured
Section titled “tokenUsageMeasured”tokenUsageMeasured:
boolean
Defined in: src/types/namespaces.ts:104
Whether token savings are measured; the engine reports false and does not estimate them.
unavailable
Section titled “unavailable”unavailable:
number
Defined in: src/types/namespaces.ts:100
Answers whose namespace policy or state could not be read.
unqualified
Section titled “unqualified”unqualified:
number
Defined in: src/types/namespaces.ts:102
Answers without a trusted effective-permission fingerprint.