Skip to main content
Glama

tool_get_sample

Retrieve complete conversation history and evaluation data for specific samples from UK Government BEIS inspect_ai logs to analyze model interactions and performance.

Instructions

Get detailed sample data including full conversation history.

Returns the complete sample including input, target, all messages exchanged with the model, output, scores, and metadata.

Args: log_file: Path to log file (absolute or relative to log_dir) sample_id: Sample ID to retrieve epoch: Epoch number (default: 1) log_dir: Optional log directory for relative paths include_events: Include event transcript (default: False, can be verbose)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
log_fileYes
sample_idYes
epochNo
log_dirNo
include_eventsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PranshuSrivastava/inspect-logs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server