Real-time context for real-time insights
Some answers must be live; some can be minutes old; some are built overnight. Each context declares which, and every answer says how fresh it is.
Live, cached or refreshing, and always labelled
as_of and the context's freshness promise, whether it came from the cache, the stale window or a live query.Pick per context, not per platform
| Mode | How it works | Good for |
|---|---|---|
| Live | The context runs against the source when called: bound values, statement timeout, row cap. Cache TTL 0. | Open claims right now, today's orders, a queue an agent is working |
| Short TTL | Kept for the context's TTL; inside a stale window the old answer is returned at once while one refresh runs. Concurrent misses share one query. | Dashboards opened by many people at nine o'clock; agents that ask the same thing in a loop |
| Nightly or scheduled | Heavy 360 views, home pages and KPI tables are computed on a schedule and served instantly with the time they were built. | Book-of-business 360, portfolio KPIs, loss development |
| Static | Reference data that changes rarely, marked public or scoped like any other. | Code lists, territories, product catalogs |
as_of on every answer
The time the rows were read, plus the context's cadence and SLA, travel with every result over REST and MCP. An agent can say how fresh its answer is.
Cache keyed by everything that matters
Parameters (normalized), the caller's book and organization, whether masking applies, the row cap and the data version. Two callers who would see different rows never share an entry.
Retired when data lands
When a load finishes, bumping the data version makes every older cached answer unreachable at once, so the next call reads fresh rows.
Failures never cached
A refusal, a bad parameter, a timeout or a failure is never kept. An empty answer is kept briefly, since a loading table reads as empty.
Visible in headers
X-DataAPI-Cache says HIT, STALE or MISS and Age says how old a hit is. Admins can force a refresh.
Shared or local cache
An in-process cache, or a shared cache across workers and replicas. A cache outage falls back and never fails a query.
Agents that know when the data was read
A real-time insight is only useful if the reader knows what moment it describes. Because as_of and freshness travel with the rows, an agent can tell an underwriter that the open-claims count is live while the loss-ratio trend is from last night's build, and a dashboard can show both on one page.

See your own context layer, on your data
Bring one source and three questions your agents or apps need answered. We will stand up governed contexts over them in your environment and connect an agent to them in a working session.
We reply within one business day. Next comes a 45-minute executive briefing for your CIO or CDO, then, if it fits, a 12-week Innovation POD in your environment.