langfuse-trace-view

View Langfuse trace details. Use when checking specific trace input/output, debugging LLM calls, or analyzing costs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "langfuse-trace-view" with this command: npx skills add neuradex/langfuse-skills/neuradex-langfuse-skills-langfuse-trace-view

Langfuse Trace View

Display detailed information for a specific trace.

Setup

Set the following environment variables before use:

VariableRequiredDescription
LANGFUSE_PUBLIC_KEYYesLangfuse public key
LANGFUSE_SECRET_KEYYesLangfuse secret key
LANGFUSE_HOST or LANGFUSE_BASE_URLNoLangfuse host URL (default: https://us.cloud.langfuse.com)

When to Use

  • Checking specific trace details
  • Viewing LLM input/output
  • "Show me the details of this trace"
  • Investigating by trace ID

Commands

1. Get Trace Details

npx tsx scripts/langfuse-trace-view.ts <traceId>

2. JSON Output

npx tsx scripts/langfuse-trace-view.ts <traceId> --json

Output Example

Langfuse Trace Detail
=====================

ID:        abc123-def456-ghi789
Name:      librarian/chat
Timestamp: 2025-01-15 10:30:45
User ID:   user-123
Session:   lb:session-456
Latency:   1234ms
Cost:      $0.0150
Tags:      env:production

Metadata:
{
  "projectId": "project-123",
  "organizationId": "org-456"
}

Input:
{
  "userMessage": "Search the knowledge base"
}

Output:
{
  "response": "Here are the search results..."
}

Observations (3):
--------------------------------------------------------------------------------

[GENERATION] llm-call
  Time: 10:30:46  Model: gpt-4o  Cost: $0.0120  Tokens: in:150 out:200
  Input: {"role": "user", ...}
  Output: Here are the search results...

[SPAN] tool-execution
  Time: 10:30:47  Model: -  Cost: -  Tokens: -

Fields

FieldDescription
IDTrace ID
NameTrace name
TimestampCreation timestamp
User IDUser ID
SessionSession ID
LatencyProcessing time (ms)
CostEstimated cost
TagsTag list
MetadataMetadata
InputTrace input
OutputTrace output
ObservationsChild spans (Generation, Span, etc.)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

langfuse-prompt-upsert

No summary provided by upstream source.

Repository SourceNeeds Review
General

langfuse-prompt-list

No summary provided by upstream source.

Repository SourceNeeds Review
General

langfuse-session-list

No summary provided by upstream source.

Repository SourceNeeds Review
General

langfuse-session-view

No summary provided by upstream source.

Repository SourceNeeds Review