Skip to content

Observability

The observability API provides dashboard-grade analytics for a project’s memory engine. All routes are project-scoped and require the same auth as MCP calls.

Terminal window
curl https://YOUR_API_HOST/v1/projects/my-project/observability/summary \
-H "Authorization: Bearer mt_live_..."

Returns a 7-day overview: query stats (count, avg latency, mode breakdown), memory stats (total, by kind), search leg performance, and the top-accessed memories.

Terminal window
curl "https://YOUR_API_HOST/v1/projects/my-project/observability/queries?limit=50&mode=auto" \
-H "Authorization: Bearer mt_live_..."
paramtypenotes
limitnumber1–200, default 50
offsetnumberPagination offset, default 0
modestring?Filter by search mode (auto, chunks, summaries, entities, code)
sincenumber?Start of time window (ms epoch)
untilnumber?End of time window (ms epoch)

Returns recent search queries with their latency, result count, and mode.

Terminal window
curl https://YOUR_API_HOST/v1/projects/my-project/observability/memories/health \
-H "Authorization: Bearer mt_live_..."

Returns a breakdown of memory states by salience and recency:

statemeaning
activeRecently accessed, high salience
idleNot recently accessed, but salience above threshold
staleSalience decayed below threshold, candidate for consolidation
dormantVery low salience, rarely accessed
Terminal window
curl "https://YOUR_API_HOST/v1/projects/my-project/observability/timeseries?metric=queries&bucket=day" \
-H "Authorization: Bearer mt_live_..."
paramtypenotes
metric"queries" | "latency" | "accesses"Default "queries"
bucket"hour" | "day" | "week"Default "day"
sincenumber?Start of time window (ms epoch)
untilnumber?End of time window (ms epoch)

Returns { data: [{ bucket_start, value }] } for charting.