Skip to main content
Glama

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
NameRequiredDescriptionDefault
queryNoText search query (matches session ID or user IDs)
user_idNoFilter by user ID (client-side)
min_tracesNoMinimum number of traces in session (client-side filter)
max_tracesNoMaximum number of traces in session (client-side filter)
min_costNoMinimum total cost (client-side filter)
max_costNoMaximum total cost (client-side filter)
from_timestampNoFilter sessions created after this timestamp
to_timestampNoFilter sessions created before this timestamp
limitNoMaximum number of results (default: 50)
pageNoPage number (1-indexed, default: 1)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neuralis-in/shepherd-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server