get_session
Retrieve chronological summaries of LLM calls in an agent session, with status, tokens, cost, latency, and tool names. Optionally include full message bodies for detailed review.
Instructions
Retrieve the LLM calls of an agent session in chronological order. By default each call is a compact summary (index, model, status, error reason, tokens, cost, latency, tool names, sizes) — sessions can be megabytes, so full prompt/response bodies are returned only with include_messages=true, and single calls are better fetched via the explain tool using the action_id from a summary row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID passed via x-agenticledger-session-id. | |
| include_messages | No | Return full message bodies for every call. Default false; can be very large. |