Skip to main content
For every production interaction, The Context Company records the complete execution alongside the transcript. That data is what powers patterns, failure detection, Insight Search, Recaps, and MCP.

Captured for every run

Why execution-level data matters

Conversation-only analytics can only see what was said. Execution-aware analytics can see what actually happened. That difference matters because agents can produce plausible-looking transcripts on top of broken executions. Concrete examples that execution data makes visible:
  • A support agent tells the user “your refund has been processed” but the issueRefund tool returned an error the model ignored.
  • A retrieval agent generates a confident answer even though the retrieval tool returned an empty result.
  • An agent retries the same tool with the same arguments five times in a loop, burning tokens without progress.
  • A tool call succeeds technically (200 OK) but writes the wrong record to a downstream system.
  • The agent calls the wrong tool for the user’s intent and produces a fluent but incorrect answer.
Because tool arguments, results, and errors are stored per run, these failures show up in patterns, the failures view, and Insight Search even when the transcript looks fine and the user never complained.

The data hierarchy

Everything The Context Company captures rolls up through the same structure:
Read the Concepts page for the full definition of each level and the exact metadata keys used to populate them.

How to attach identity and context

Reserved tcc.* metadata keys promote fields into first-class dimensions:
  • tcc.sessionId, tcc.conversational, tcc.agent
  • tcc.userId, tcc.userName
  • tcc.orgId, tcc.orgName
Everything else you attach becomes custom metadata that can be filtered in the dashboard, API, and MCP. Framework-specific syntax is documented on each integration page.

Concepts

Runs, steps, tool calls, sessions, users, and organizations.

Traces

How captured data renders as a full trace.

Data collection

What is stored, where, and for how long.

PII redaction

Redact sensitive fields at ingest.