langfuse-traces

Query and manage Langfuse traces, observations, and sessions via API.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/beam-ai-team/beam-next-skills --skill langfuse-traces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langfuse-traces
Source: https://github.com/beam-ai-team/beam-next-skills/tree/main/skills/integrations/langfuse/langfuse-traces
Command: npx skills add https://github.com/beam-ai-team/beam-next-skills --skill langfuse-traces

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langfuse-client, and includes scripts (resource) components.

What problem does it solve?

Unifiedly query and manage Langfuse traces, observations, and sessions across a single interface, reducing the need to switch between multiple tools.

Core Features & Use Cases

  • Unified CLI to list, get, and delete traces, observations, and sessions.
  • Supports pagination, filtering, and bulk deletion with safety confirmations.
  • Use Case: Troubleshoot issues by quickly inspecting a trace and its related observations and sessions.

Quick Start

List traces for a session and export results to JSON using the provided CLI.

Frequently Asked Questions about langfuse-traces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Langfuse traces and observations from the CLI?

You can query Langfuse traces and observations using a unified CLI interface that lists, retrieves, and deletes records via the Langfuse API client. It supports filtering and pagination to narrow down results directly from the command line.

Can I bulk delete Langfuse sessions and traces safely?

Yes, you can bulk delete Langfuse sessions and traces safely. The interface supports bulk deletion operations with optional safety confirmations to prevent accidental data removal across the API.

What is the best way to troubleshoot LLM issues using Langfuse traces?

The best way to troubleshoot LLM issues is to inspect a Langfuse trace alongside its related observations and sessions. This unified query interface lets you quickly retrieve and review execution logs to pinpoint failures.

Does this Langfuse API client support pagination for listing sessions?

Yes, the Langfuse API client supports pagination for listing sessions. You can manage and query large volumes of sessions, traces, and observations by paginating through the API results.

How do I export Langfuse trace query results to JSON?

You can export Langfuse trace query results to JSON using the provided CLI. After listing traces for a session with the necessary filters, the CLI outputs the queried data directly to a JSON format.

Why do I need a unified interface for Langfuse traces, observations, and sessions?

A unified interface is needed to manage Langfuse traces, observations, and sessions without switching between multiple tools. It streamlines listing, retrieving, and deleting records across the entire Langfuse API.