naftiko: 1.0.0-alpha2 info: label: Tibber Data API — Device History description: Walk paginated, immutable device history time series at quarter-hour, hour, day, or month resolution. tags: - Tibber - DataAPI - History - TimeSeries created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: TIBBER_DATA_ACCESS_TOKEN: TIBBER_DATA_ACCESS_TOKEN capability: consumes: - type: http namespace: tibber-data-history baseUri: https://data-api.tibber.com description: Tibber Data API device history endpoint. resources: - name: v1-device-history path: /v1/homes/{homeId}/devices/{deviceId}/history operations: - name: getDeviceHistory method: GET description: Fetch a page of device history points; follow `next`/`prev` cursors for additional pages. outputRawFormat: json outputParameters: - name: page type: object value: $. inputParameters: - name: homeId in: path type: string required: true - name: deviceId in: path type: string required: true - name: resolution in: query type: string required: true description: quarterHour, hour, day, or month. - name: since in: query type: string required: false - name: until in: query type: string required: false authentication: type: apikey key: Authorization value: 'Bearer {{env.TIBBER_DATA_ACCESS_TOKEN}}' placement: header exposes: - type: rest namespace: tibber-data-history-rest port: 8080 description: REST adapter for device history pagination. resources: - path: /v1/homes/{homeId}/devices/{deviceId}/history name: device-history operations: - method: GET name: get call: tibber-data-history.getDeviceHistory with: homeId: rest.path.homeId deviceId: rest.path.deviceId resolution: rest.query.resolution since: rest.query.since until: rest.query.until