Request a demo
Use cases

Six jobs people use the record for

Each one starts from a question somebody outside the agent team asks, and names the screen or API call that answers it.

Examples use a made-up insurer and fictional references. They describe what the product does, not customer results.

Engineering

Find out why one run went wrong

A submission was routed to the wrong queue. Search the runs view for the submission id, open the run and read the span tree: which tool was called, which model call came before it, which prompt version was in force, and where the time went.

You look at

  • Run detail and the span tree
  • Step errors recovered inside the run

It needs

Spans from your agent, by OTLP or the Python SDK, carrying the business reference as entity_ref or correlation_id.

Good to know

Prompt and response text is shown only if the emitter captures it. Without it you still get the sequence, tokens, cost and timings.

Risk and line management

Show that the limits fired

An agent with authority to quote up to a limit asked to quote above it. The product refused or escalated, and the agent runtime reported that outcome. Guardrail events lists every such call with the level held, the level needed and the reason, and counts them per agent.

You look at

It needs

The runtime posting each tool call to /api/security/agent-actions with outcome, autonomy_held and autonomy_required.

Good to know

InsightLense records the decision. The decision itself is made in the product that owns the action.

Internal audit and compliance

Reconstruct what happened to one account

Eighteen months later someone asks how a reserve came to be $250,000. The thread for the claim’s correlation id returns the business events in order, each with old and new value, the actor, whether it was an agent, a person or a system, and the run that caused it.

You call

  • GET /api/business-events/thread/{id}
  • GET /api/business-events/summary for the agent share over a period

It needs

Products posting business events with a shared correlation_id and an actor_kind.

Good to know

This is a copy for cross-product reading. The owning product’s own audit table remains the system of record, and the thread is read through the API.

Finance

Put a cost on a piece of work

An agent decides for itself how many model calls a task takes, so cost per month says little. Filter runs by a claim or submission reference to read the model spend for that one piece of work, or break spend down by product, agent, model and prompt version.

You look at

It needs

Token counts on model-call spans and a price list for the models in use.

Good to know

A model missing from the price list is shown as unpriced, so a gap is visible instead of a silent zero.

AI engineering

Check whether the new prompt version did better

Every model call records the prompt and version behind it. Compare versions on production runs: calls, tokens, cost and time per version, and the scores recorded against the runs each one produced.

You look at

It needs

prompt_id and prompt_version on the span, and scores posted to /api/scores.

Good to know

Writing, reviewing and releasing prompts is done in InsightPrompts, not here.

Security and governance

Trial a guardrail before enforcing it

Turn on a PII or prompt-injection check in observe mode. The guard runs and writes a GUARD span for each check, but changes nothing. After a week, read what would have been redacted or blocked, then decide whether to enforce.

You look at

It needs

A product that uses the platform guard (insight-guard) and reports to InsightLense.

Good to know

Guard spans hold offsets and labels, never the matched text.

Which of these is your question?

Tell us where your agents act on real records and we’ll show you that case in the product.

Request a demo Tour the product