Session Timeseries
session-timeseriesRetrieve session volume over time, with optional grouping by field and filtering by Lucene query.
Instructions
Return session volume over time, optionally grouped by a field. Without a field, returns a single timeseries; with a field, returns per-group timeseries.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "session-timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Groups to return when field is set, 1-100 (default: 10) | |
| field | No | Field to group the timeseries by | |
| query | No | Lucene query string to filter sessions | |
| scope | No | Data scope: workspace (default) or demo | |
| end_time | Yes | End time, ISO 8601 (e.g. 2025-01-07T23:59:59Z) | |
| interval | No | Time bucket interval (default: auto) | |
| start_time | Yes | Start time, ISO 8601 (e.g. 2025-01-01T00:00:00Z) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| total | No | ||
| timeseries | No | ||
| request_metadata | No |