quantumleap_get_history
Retrieve historical time-series data for IoT entities from QuantumLeap. Filter by entity ID, attribute, date range, and apply aggregation methods.
Instructions
Get historical time-series data for an entity from QuantumLeap.
Args: entity_id: Entity ID (e.g. 'Camera:TIMONE-01'). entity_type: Entity type for disambiguation. attr: Specific attribute to retrieve (e.g. 'temperature'). All attrs if omitted. from_date: ISO8601 start date (e.g. '2026-03-01T00:00:00'). to_date: ISO8601 end date (e.g. '2026-03-07T23:59:59'). limit: Max data points (default 100). aggr_method: Aggregation: 'count', 'sum', 'avg', 'min', 'max'. aggr_period: Aggregation period: 'year', 'month', 'day', 'hour', 'minute', 'second'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| entity_type | No | ||
| attr | No | ||
| from_date | No | ||
| to_date | No | ||
| limit | No | ||
| aggr_method | No | ||
| aggr_period | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |