> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect your agents' sessions

> Trace an agent’s turns, model calls, tool calls, and hosted sandbox activity in the Jaccard console to see where a session failed or slowed down.

Open your agent's **Sessions** tab. Select a session, then expand a turn to see its model, tool, and sandbox calls. The outline shows timing and outcomes. Select **View logs** to open the logs around that turn.

Open a sandbox's **Recent operations** to see commands you ran from the Console or CLI.

Where content is available, select **View content** on each turn or **View command preview** on a sandbox call. You can keep multiple turns and previews open. A **Truncated** badge marks content that was cut to fit.

Select **Refresh** to check for new turns and sandbox calls. Turn on **Live** to keep checking while you watch a session. If Sessions can load only part of a session, it shows the available detail and a notice.

A session opens on its newest turns. Select **Load older turns** at the end of the outline to see earlier ones. Turn numbers count from the session's first turn in the window. Live updates pause while you view older turns. Select **Back to latest** to resume.

When a subagent finishes before its parent turn, **Parent session** can open before the parent outline arrives. Use **Refresh** or **Live** to see it after the turn finishes.

## Send session outlines

Outlines need `@jaccard-ai/eve-metrics` 0.4 or later. If your project has an older release, upgrade it:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
pnpm add @jaccard-ai/eve-metrics@~0.5.1
```

In the agent project, create `agent/instrumentation/jaccard-traces.ts`.

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
import { jaccardTraces } from '@jaccard-ai/eve-metrics'

export default jaccardTraces()
```

Deploy the agent and send it a message. After the turn completes, open **Sessions** again. If you're looking for an older turn, widen **Window**. Use **Status** to focus on sessions with failed turns. Select **Reset** to restore the default filters.

When you open a session from the list, refreshing keeps the list's start time until the search reaches its maximum window.

## Store session content

An admin of your organization turns content on for an agent:

1. Open the agent's **Overview** tab in the console.
2. Under **Session content**, turn on **Store session content**.
3. Optionally turn on **Include sandbox previews** or **Include private sessions**.

Other members see the setting but can't change it.

A change applies the next time the agent starts. Until then, **Status** reads "Not stored yet. The change applies from the agent's next start."

To apply it now, select **Stop agent** and then **Start agent** on the agent's page. Requests to the agent fail while it's [stopped](/docs/operate/console.md). Deploying again without a code change doesn't restart the agent.

> [!WARNING]
>
> Content needs `@jaccard-ai/eve-metrics` 0.5.3 or later. An agent on an older release shows no sessions at all once session content is on, not even outlines. Upgrade the package and deploy:
>
> ```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
> pnpm add @jaccard-ai/eve-metrics@~0.5.3
> ```
>
> Keep `agent/instrumentation/jaccard-traces.ts` as `export default jaccardTraces()`. If your code passes `endpoint` or `content` options to send content, remove them.

## What Sessions keeps

For every agent, Sessions keeps each session's outline: its turns, model calls, tool calls, and sandbox calls, with their timing, outcome, model and tool names, and token and byte counts. The outline holds no prompts, replies, tool input, or tool output.

With session content on, Sessions also keeps:

* The session title, prompts, replies, and system instructions.
* Tool definitions, and each tool call's arguments and result.
* With **Include sandbox previews** on, each command the agent runs in a sandbox: the command, its output, and its program name. File operations keep their workspace-relative path, never the file's contents.

Command previews need `@jaccard-ai/eve-sandbox` 2.0.2 or later. With an older release, a sandbox call shows no command and no output. Upgrade the package and deploy:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
pnpm add @jaccard-ai/eve-sandbox@~2.0.2
```

If every command's program name shows as `other`, your project's eve is too old for Sessions to read the name. The names appear after you upgrade eve and deploy again.

Before storing content, Jaccard replaces the value of every secret in your agent's environment with `[REDACTED]`. That includes each variable you add with `jaccard env add`, and the tokens Jaccard gives your agent to call the platform. Variables added with `--config` stay readable. Each field is then cut to 2,048 bytes. A long prompt keeps its newest messages.

A secret of 8 bytes or more is also masked when it appears trimmed of surrounding whitespace, base64-encoded, percent-encoded, hex-encoded, or JSON-escaped.

> [!WARNING]
>
> Other changes to a secret aren't detected. A secret that your agent splits, or encodes another way, before it reaches a prompt, a tool call, or a command is stored as it is.
>
> A secret shorter than 8 bytes, such as `1` or `true`, is masked in text only. It can still appear inside IDs, field names, and JSON numbers. Add plain settings such as ports and flags with `--config`, so they aren't treated as secrets.

Sessions keeps outlines and content for 30 days. When you turn **Store session content** off, the agent stops storing content from its next start. Content stored before stays readable until it expires.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.