List Sessions
list_sessionsList AI conversation sessions grouped by ID, showing span counts, token usage, and time bounds to analyze multi-turn activity. Filter by time, service, or LLM provider.
Instructions
List conversations/sessions grouped by gen_ai.conversation.id.
Groups spans that carry the gen_ai.conversation.id attribute (a real, cross-industry OTel semantic convention for session/conversation grouping) to surface per-conversation span counts, token usage, and time bounds - useful for understanding multi-turn conversation activity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum spans to analyze (default: 1000) | |
| end_time | No | End time in ISO 8601 format | |
| start_time | No | Start time in ISO 8601 format (e.g., 2024-01-01T00:00:00Z) | |
| service_name | No | Filter by service name | |
| gen_ai_system | No | Filter by LLM provider (openai, anthropic, etc.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| message | No | ||
| sessions | Yes |