search_sessions
Search and filter user sessions by date, filters, and pagination on the OpenReplay MCP Server. Requires userId and API key authentication for streamlined session analysis.
Instructions
[Requires userId with API key auth] Search and filter sessions. Full search requires JWT authentication.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endDate | No | End date in ISO format | |
filters | No | Filters (limited with API key auth) | |
limit | No | Number of sessions to return | |
offset | No | Offset for pagination | |
sort | No | ||
startDate | No | Start date in ISO format | |
userId | No | Required: User ID to search sessions for |
Input Schema (JSON Schema)
{
"properties": {
"endDate": {
"description": "End date in ISO format",
"type": "string"
},
"filters": {
"description": "Filters (limited with API key auth)",
"items": {
"properties": {
"operator": {
"description": "Operator",
"type": "string"
},
"type": {
"description": "Filter type",
"type": "string"
},
"value": {
"description": "Filter value",
"type": [
"string",
"number",
"array"
]
}
},
"type": "object"
},
"type": "array"
},
"limit": {
"description": "Number of sessions to return",
"type": "number"
},
"offset": {
"description": "Offset for pagination",
"type": "number"
},
"sort": {
"properties": {
"field": {
"description": "Field to sort by",
"type": "string"
},
"order": {
"description": "Sort order",
"enum": [
"asc",
"desc"
],
"type": "string"
}
},
"type": "object"
},
"startDate": {
"description": "Start date in ISO format",
"type": "string"
},
"userId": {
"description": "Required: User ID to search sessions for",
"type": "string"
}
},
"required": [],
"type": "object"
}