langfuse_search_traces
Search and filter Langfuse traces by text, release, cost, latency, and other criteria to debug AI agent sessions and analyze performance.
Instructions
[Langfuse] Search and filter traces with extended criteria including text search, release, cost range, and latency range. Combines API-level and client-side filtering.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Text search query (matches trace name, ID, user ID, session ID, or tags) | |
| name | No | Filter by trace name (API-level) | |
| user_id | No | Filter by user ID | |
| session_id | No | Filter by session ID | |
| tags | No | Filter by tags | |
| release | No | Filter by release (client-side) | |
| min_cost | No | Minimum total cost (client-side filter) | |
| max_cost | No | Maximum total cost (client-side filter) | |
| min_latency | No | Minimum latency in seconds (client-side filter) | |
| max_latency | No | Maximum latency in seconds (client-side filter) | |
| from_timestamp | No | Filter traces starting after this timestamp (ISO format or YYYY-MM-DD) | |
| to_timestamp | No | Filter traces starting before this timestamp (ISO format or YYYY-MM-DD) | |
| limit | No | Maximum number of results (default: 50) | |
| page | No | Page number (1-indexed, default: 1) |