Endpoint history
get_endpoint_historyRetrieves historical readings for one IoT endpoint between two UTC dates, ordered oldest first with minimum, maximum, and average values; limits results to 5,000 points and flags truncation.
Instructions
Readings of one endpoint between two dates, oldest first, with min/max/avg. Up to 5000 points; for long ranges ask for a shorter one or accept the truncated flag.
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": {
"endpoint_id": "<endpoint_id>",
"date_from": "<date_from>"
},
"name": "get_endpoint_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | UTC date, "2026-10-01" or "2026-10-01T08:00:00Z" | |
| date_from | Yes | UTC date, "2026-10-01" or "2026-10-01T08:00:00Z" | |
| max_points | No | Default 1000 | |
| endpoint_id | Yes |