Loading...
Loading...
List Langfuse traces with filtering options. Use when checking recent LLM calls, debugging issues, or monitoring costs.
npx skill4agent add neuradex/langfuse-skills langfuse-trace-list| Variable | Required | Description |
|---|---|---|
| Yes | Langfuse public key |
| Yes | Langfuse secret key |
| No | Langfuse host URL (default: |
npx tsx scripts/langfuse-trace-list.tsnpx 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=100Langfuse 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) |