aiobs_search_sessions
Search and filter AI agent sessions using criteria like text, labels, provider, model, date range, errors, and evaluations to debug runs and analyze performance.
Instructions
[AIOBS] Search and filter AI agent sessions with multiple criteria including text search, labels, provider, model, function name, date range, errors, and failed evaluations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "aiobs_search_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Text search query (matches session name, ID, labels, metadata) | |
| labels | No | Filter by labels as key-value pairs (e.g., {"environment": "production"}) | |
| provider | No | Filter by LLM provider (e.g., 'openai', 'anthropic') | |
| model | No | Filter by model name (e.g., 'gpt-4o-mini', 'claude-3') | |
| function | No | Filter by function name | |
| after | No | Sessions started after this date (YYYY-MM-DD or ISO format) | |
| before | No | Sessions started before this date (YYYY-MM-DD or ISO format) | |
| has_errors | No | Only return sessions that have errors | |
| evals_failed | No | Only return sessions with failed evaluations | |
| limit | No | Maximum number of sessions to return |