openapi: 3.1.0 info: title: UtilityAPI REST Accounting Intervals API description: 'UtilityAPI provides authorization, billing, and meter usage data integrations across US utility companies. The REST API supports customer authorization forms, meter and bill retrieval, interval usage data, accounting summaries, and webhook event listing. This OpenAPI captures the public v2 surface documented at https://utilityapi.com/docs. ' version: 1.0.0 contact: name: UtilityAPI url: https://utilityapi.com/docs servers: - url: https://utilityapi.com/api/v2 security: - bearer: [] tags: - name: Intervals paths: /intervals: get: summary: List meter usage intervals operationId: listIntervals tags: - Intervals parameters: - name: meters in: query schema: type: string - name: start in: query schema: type: string format: date-time - name: end in: query schema: type: string format: date-time responses: '200': description: Intervals components: securitySchemes: bearer: type: http scheme: bearer description: 'Use the Authorization header with the Bearer scheme and an UtilityAPI token, e.g. `Authorization: Bearer API_TOKEN_HERE`. '