Skip to content

Interface: NamespaceAnswerCacheSavingsDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / NamespaceAnswerCacheSavingsDto

Defined in: src/types/namespaces.ts:88

Engine-counted answer-cache outcomes for one namespace (GET /api/v1/namespaces/{id}/answer-cache-savings).

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.

bypassed: number

Defined in: src/types/namespaces.ts:96

Answers the caller requested fresh (Cache-Control: no-cache / no-store).


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: number

Defined in: src/types/namespaces.ts:98

Answers under a disabled namespace policy.


freshModelCalls: number

Defined in: src/types/namespaces.ts:92

Response-generation calls made under an enabled policy.


reusedModelCalls: number

Defined in: src/types/namespaces.ts:94

Response-generation calls not made: exact or equivalent-read reuse after fresh native retrieval.


tokenUsageMeasured: boolean

Defined in: src/types/namespaces.ts:104

Whether token savings are measured; the engine reports false and does not estimate them.


unavailable: number

Defined in: src/types/namespaces.ts:100

Answers whose namespace policy or state could not be read.


unqualified: number

Defined in: src/types/namespaces.ts:102

Answers without a trusted effective-permission fingerprint.