langfuse-observation-view

View Langfuse observation (Generation/Span) details. Use when checking specific LLM call input/output, debugging issues, 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-observation-view" with this command: npx skills add neuradex/langfuse-skills/neuradex-langfuse-skills-langfuse-observation-view

Langfuse Observation View

Display detailed information for a specific Observation (Generation/Span).

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 LLM call details
  • Viewing input/output
  • Checking costs and token usage
  • Viewing prompts used

Commands

1. Get Observation Details

npx tsx scripts/langfuse-observation-view.ts <observationId>

2. Show Full Input/Output

npx tsx scripts/langfuse-observation-view.ts <observationId> --full

3. JSON Output

npx tsx scripts/langfuse-observation-view.ts <observationId> --json

Output Example

Langfuse Observation Detail
===========================

ID:          obs_abc123
Trace ID:    trace_xyz789
Type:        GENERATION
Name:        chat
Start Time:  2026-01-21 10:30:45
Duration:    2.35s
Level:       DEFAULT

--- Model Info ---
Model:       qwen/qwen3-32b
Parameters:  {"temperature":0.7}

--- Usage & Cost ---
Input Tokens:   1500
Output Tokens:  350
Total Tokens:   1850
Input Cost:     $0.000435
Output Cost:    $0.000207
Total Cost:     $0.000642

--- Prompt ---
Prompt:      librarian-system (v3)
Prompt ID:   prompt_def456

--- Input ---
[{"role":"system","content":"You are..."}]

--- Output ---
Here are the search results...

Fields

FieldDescription
TypeGENERATION (LLM call), SPAN (processing span), EVENT (event)
DurationProcessing time
ModelModel used
Input/Output TokensToken usage
Calculated CostComputed cost
PromptLangfuse prompt used

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-session-list

No summary provided by upstream source.

Repository SourceNeeds Review
General

langfuse-prompt-list

No summary provided by upstream source.

Repository SourceNeeds Review
General

langfuse-trace-view

No summary provided by upstream source.

Repository SourceNeeds Review