get_source_event_metrics
Get source event-volume metrics including counts by event type/name. filteredEvents lists every event a destination filter dropped in the window; events rows carry their filteredCount
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": {
"source_id": "<source_id>",
"workspace_id": "<workspace_id>"
},
"name": "get_source_event_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. Default: 0 | |
| sort_by | No | ||
| end_time | No | End time in RFC3339 format. Defaults to now | |
| search_by | No | Filter by exact event name | |
| source_id | Yes | ID from list_sources | |
| sort_order | No | ||
| start_time | No | Start time in RFC3339 format. Defaults to 2 hours before end_time | |
| workspace_id | Yes |