Skip to main content
Glama
avivsinai

langfuse-mcp

get_dataset_item

Retrieve a specific dataset item by ID to access input, expected output, metadata, and linked trace data for LLM application analysis and debugging.

Instructions

Get a specific dataset item by ID.

Retrieves the full dataset item including input, expected output, metadata, and linked traces. Args: ctx: Context object containing lifespan context with Langfuse client item_id: The ID of the dataset item to fetch output_mode: How to format the response data Returns: A dictionary containing the dataset item details: - id: Unique item identifier - datasetId: Parent dataset ID - input: Input data for the item - expectedOutput: Expected output data - metadata: Custom metadata - sourceTraceId: Linked trace ID (if any) - sourceObservationId: Linked observation ID (if any) - status: Item status (ACTIVE or ARCHIVED)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYesThe ID of the dataset item to fetch
output_modeNoOutput format: 'compact' truncates, 'full_json_string' returns full data, 'full_json_file' writes to filecompact

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/avivsinai/landfuse-mcp'

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