Sense · Schema

Sense Usage History

Historical energy consumption data returned by /app/monitors/{monitor_id}/history/usage. Includes total kWh and a per-device breakdown for the requested scale and time period.

EnergyHome Energy MonitoringIoTSmart HomeElectricitySolarDevice DetectionReal-Time DataClimate Tech

Properties

Name Type Description
start string ISO 8601 UTC timestamp marking the start of the reported period.
consumption object Aggregate consumption data for the period.
device_breakdown array Per-device energy consumption breakdown.
View JSON Schema on GitHub

JSON Schema

sense-usage-history.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sense/main/json-schema/sense-usage-history.json",
  "title": "Sense Usage History",
  "description": "Historical energy consumption data returned by /app/monitors/{monitor_id}/history/usage. Includes total kWh and a per-device breakdown for the requested scale and time period.",
  "type": "object",
  "properties": {
    "start": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 UTC timestamp marking the start of the reported period.",
      "example": "2026-06-13T00:00:00Z"
    },
    "consumption": {
      "type": "object",
      "description": "Aggregate consumption data for the period.",
      "properties": {
        "usage_total_kwh": {
          "type": "number",
          "description": "Total energy consumed in kWh.",
          "minimum": 0,
          "example": 18.42
        }
      },
      "required": ["usage_total_kwh"]
    },
    "device_breakdown": {
      "type": "array",
      "description": "Per-device energy consumption breakdown.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Device ID"
          },
          "name": {
            "type": "string",
            "description": "Device name"
          },
          "icon": {
            "type": "string",
            "description": "Device icon identifier"
          },
          "consumption": {
            "type": "object",
            "properties": {
              "usage_total_kwh": {
                "type": "number",
                "description": "Device energy consumption in kWh for the period.",
                "minimum": 0
              }
            }
          }
        },
        "required": ["id", "name"]
      }
    }
  },
  "required": ["start", "consumption"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sense-usage-history"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.