Skip to content

FragmentsResponse

Defined in: wire.ts:211

GET /embed/v1/fragments — cache-first microcopy for a declared context. NEVER blocks on generation. A cold miss returns an EMPTY map with pending:true; the client owns the fallback.

contextHash: string

Defined in: wire.ts:218

Server-computed canonical hash. THE identity. Third leg of the pin key.


optional degraded?: "quota" | "spend-cap" | "upstream" | "timeout"

Defined in: wire.ts:227

W8 vocabulary, verbatim.


optional disclosure?: DisclosurePayload

Defined in: wire.ts:232

Art.50 label + locale, for non-SDK renderers. Present whenever any field is non-static.


fragments: Record<string, FragmentField>

Defined in: wire.ts:216

Keyed by the caller’s own field names. Empty on a cold miss — never echoes caller-supplied text.


meta: unknown

Defined in: wire.ts:234

ttl, epoch, schemaHash, budget state.


optional pending?: boolean

Defined in: wire.ts:225

True when the client should POST /mint once.


warmth: "cold" | "warming" | "warm"

Defined in: wire.ts:223

cold = static now | warming = fill in flight | warm = generated for this bucket.