langfuse_search_sessions
Search and filter AI agent sessions by text, user ID, trace count, cost, and timestamps to debug runs, compare performance, and analyze LLM usage patterns.
Instructions
[Langfuse] Search and filter sessions with extended criteria including text search, user ID, trace count range, and cost range. Combines API-level and client-side filtering.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Text search query (matches session ID or user IDs) | |
| user_id | No | Filter by user ID (client-side) | |
| min_traces | No | Minimum number of traces in session (client-side filter) | |
| max_traces | No | Maximum number of traces in session (client-side filter) | |
| min_cost | No | Minimum total cost (client-side filter) | |
| max_cost | No | Maximum total cost (client-side filter) | |
| from_timestamp | No | Filter sessions created after this timestamp | |
| to_timestamp | No | Filter sessions created before this timestamp | |
| limit | No | Maximum number of results (default: 50) | |
| page | No | Page number (1-indexed, default: 1) |