원클릭으로
langfuse-trace-list
List Langfuse traces with filtering options. Use when checking recent LLM calls, debugging issues, or monitoring costs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
List Langfuse traces with filtering options. Use when checking recent LLM calls, debugging issues, or monitoring costs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
List all Langfuse models with their pricing. Use when checking model costs, verifying pricing configuration, or getting an overview of model definitions.
List Langfuse sessions. Use when checking user sessions, analyzing conversation flows, or monitoring session activity.
View Langfuse session details with all traces. Use when analyzing conversation flows, checking session costs, or debugging multi-turn interactions.
Create or update Langfuse model pricing. Use when setting up new models, updating pricing, or configuring model costs.
View Langfuse observation (Generation/Span) details. Use when checking specific LLM call input/output, debugging issues, or analyzing costs.
List all Langfuse prompts with their labels and versions. Use when checking available prompts, verifying label assignments, or getting an overview of prompt status.
| name | langfuse-trace-list |
| description | List Langfuse traces with filtering options. Use when checking recent LLM calls, debugging issues, or monitoring costs. |
| license | MIT |
| compatibility | Node.js 18+ (native fetch required) |
| metadata | {"author":"neuradex","category":"observability"} |
| allowed-tools | ["Bash(npx tsx *scripts/langfuse-trace-list.ts*)"] |
Display the latest traces with filtering options.
Set the following environment variables before use:
| Variable | Required | Description |
|---|---|---|
LANGFUSE_PUBLIC_KEY | Yes | Langfuse public key |
LANGFUSE_SECRET_KEY | Yes | Langfuse secret key |
LANGFUSE_HOST or LANGFUSE_BASE_URL | No | Langfuse host URL (default: https://us.cloud.langfuse.com) |
Get the latest 20 traces:
npx tsx scripts/langfuse-trace-list.ts
Specify the number of traces:
npx tsx scripts/langfuse-trace-list.ts --limit=50
# Filter by trace name
npx tsx scripts/langfuse-trace-list.ts --name=librarian/chat
# Filter by user ID
npx tsx scripts/langfuse-trace-list.ts --user=user-123
# Filter by session ID
npx tsx scripts/langfuse-trace-list.ts --session=session-abc
# Filter by environment
npx tsx scripts/langfuse-trace-list.ts --env=production
# Combine multiple filters
npx tsx scripts/langfuse-trace-list.ts --name=chat --env=production --limit=100
Langfuse Traces
===============
Timestamp Name User Session Cost ID
----------------------------------------------------------------------------------------------------------------------------------
2025-01-15 10:30:45 librarian/chat user-123 session-abc $0.0150 abc123...
2025-01-15 10:28:12 knowledge-builder/extract user-456 session-def $0.0080 def456...
2025-01-15 10:25:33 chat/respond user-789 - $0.0045 ghi789...
Showing 3 of 1234 traces
| Field | Description |
|---|---|
| Timestamp | Trace creation timestamp |
| Name | Trace name (feature/action format) |
| User | User ID |
| Session | Session ID |
| Cost | Estimated cost |
| ID | Trace ID (for viewing details) |