data_search
Retrieve measurement data for a device over a date range, with automatic aggregation from minute-level raw values to hourly or daily averages based on the selected period.
Instructions
측정 데이터를 기간으로 조회한다. 조회 기간에 따라 서버가 단위를 자동 전환한다 (1일 이하: 분단위 원시, 30일 이하: 시간평균, 초과: 일평균).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | 종료일시 (yyyy-MM-dd HH:mm 또는 yyyy-MM-dd HH:mm:ss) | |
| maxRows | No | 반환 최대 행 수 (기본 500, 초과 시 균등 샘플링) | |
| deviceId | Yes | 측정기 ID | |
| startDate | Yes | 시작일시 (yyyy-MM-dd HH:mm 또는 yyyy-MM-dd HH:mm:ss) |