Teslemetry · Schema

Site Info

CompanyTeslaFleet APIHome AutomationEnergy

Properties

Name Type Description
id string Unique identifier for the energy site.
site_name string User-defined name for the energy site.
backup_reserve_percent integer Minimum battery level (0-80% or 100%) to reserve for backup power during grid outages.
default_real_mode string Operating mode: 'autonomous' (time-based control), 'self_consumption' (self-powered), or 'backup' (backup only).
installation_date string Date when the energy system was installed, in ISO 8601 format.
user_settings object User-configurable settings for the energy site.
components object Hardware components and feature capabilities of the energy site.
version string
battery_count integer
nameplate_power number
installation_time_zone string
max_site_meter_power_ac number
min_site_meter_power_ac number
vpp_backup_reserve_percent integer
utility string
island_config object
vehicle_charging_settings object
nameplate_energy integer
off_grid_vehicle_charging_reserve_percent integer
tariff_id string
site_number string
time_zone_offset integer
app_settings object
csip object
external_switch object
aggregation_program object
tesla_electric_billing_periods array
View JSON Schema on GitHub

JSON Schema

teslemetry-def-7-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teslemetry/json-schema/teslemetry-def-7-schema.json",
  "title": "Site Info",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teslemetry-openapi.json#/components/schemas/def-7",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the energy site."
    },
    "site_name": {
      "type": "string",
      "description": "User-defined name for the energy site."
    },
    "backup_reserve_percent": {
      "type": "integer",
      "description": "Minimum battery level (0-80% or 100%) to reserve for backup power during grid outages."
    },
    "default_real_mode": {
      "type": "string",
      "description": "Operating mode: 'autonomous' (time-based control), 'self_consumption' (self-powered), or 'backup' (backup only)."
    },
    "installation_date": {
      "type": "string",
      "description": "Date when the energy system was installed, in ISO 8601 format."
    },
    "user_settings": {
      "type": "object",
      "description": "User-configurable settings for the energy site.",
      "properties": {
        "go_off_grid_test_banner_enabled": {
          "type": [
            "null",
            "boolean"
          ],
          "description": "Whether the Go Off-Grid test banner is shown in the app."
        },
        "storm_mode_enabled": {
          "type": [
            "null",
            "boolean"
          ],
          "description": "Whether Storm Watch is enabled to automatically charge battery before severe weather."
        },
        "powerwall_onboarding_settings_set": {
          "type": [
            "null",
            "boolean"
          ],
          "description": "Whether the user has completed Powerwall onboarding setup."
        },
        "powerwall_tesla_electric_interested_in": {
          "type": [
            "null",
            "boolean"
          ],
          "description": "Whether the user has expressed interest in Tesla Electric utility service."
        },
        "vpp_tour_enabled": {
          "type": [
            "null",
            "boolean"
          ],
          "description": "Whether the Virtual Power Plant tour/introduction is enabled."
        },
        "off_grid_vehicle_charging_enabled": {
          "type": [
            "null",
            "boolean"
          ],
          "description": "Whether vehicle charging is allowed when the site is off-grid (islanded)."
        }
      },
      "required": [
        "go_off_grid_test_banner_enabled",
        "off_grid_vehicle_charging_enabled",
        "powerwall_onboarding_settings_set",
        "powerwall_tesla_electric_interested_in",
        "storm_mode_enabled",
        "vpp_tour_enabled"
      ]
    },
    "components": {
      "type": "object",
      "description": "Hardware components and feature capabilities of the energy site.",
      "properties": {
        "solar": {
          "type": "boolean",
          "description": "Whether solar panels are installed at the site."
        },
        "solar_type": {
          "type": "string",
          "description": "Type of solar installation (e.g., 'pv_panel', 'roof')."
        },
        "battery": {
          "type": "boolean",
          "description": "Whether a Powerwall battery is installed at the site."
        },
        "grid": {
          "type": "boolean",
          "description": "Whether the site has a grid connection."
        },
        "backup": {
          "type": "boolean",
          "description": "Whether backup power functionality is available."
        },
        "gateway": {
          "type": "string",
          "description": "Type of Tesla gateway device (e.g., 'teg' for Tesla Energy Gateway)."
        },
        "load_meter": {
          "type": "boolean",
          "description": "Whether a load meter is installed to measure home consumption."
        },
        "tou_capable": {
          "type": "boolean",
          "description": "Whether the system supports Time-of-Use rate optimization."
        },
        "storm_mode_capable": {
          "type": "boolean",
          "description": "Whether Storm Watch functionality is available."
        },
        "off_grid_vehicle_charging_reserve_supported": {
          "type": "boolean",
          "description": "Whether the system supports reserving battery capacity for vehicle charging during off-grid operation."
        },
        "vehicle_charging_performance_view_enabled": {
          "type": "boolean",
          "description": "Whether vehicle charging performance metrics are available in the app."
        },
        "vehicle_charging_solar_offset_view_enabled": {
          "type": "boolean",
          "description": "Whether solar offset metrics for vehicle charging are available in the app."
        },
        "battery_solar_offset_view_enabled": {
          "type": "boolean",
          "description": "Whether solar offset metrics for battery charging are available in the app."
        },
        "solar_value_enabled": {
          "type": "boolean",
          "description": "Whether solar value calculations are enabled."
        },
        "energy_value_header": {
          "type": "string",
          "description": "Header text displayed for energy value in the app."
        },
        "energy_value_subheader": {
          "type": "string",
          "description": "Subheader text displayed for energy value in the app."
        },
        "energy_service_self_scheduling_enabled": {
          "type": "boolean",
          "description": "Whether the system can self-schedule for grid services events."
        },
        "show_battery_soe_graph": {
          "type": "boolean",
          "description": "Whether to display the battery state of energy graph in the app."
        },
        "show_grid_import_battery_source_cards": {
          "type": "boolean",
          "description": "Whether to show grid import and battery source cards in the app."
        },
        "set_islanding_mode_enabled": {
          "type": "boolean",
          "description": "Whether the user can manually trigger off-grid (island) mode."
        },
        "wifi_commissioning_enabled": {
          "type": "boolean",
          "description": "Whether WiFi commissioning is enabled for the gateway."
        },
        "backup_time_remaining_enabled": {
          "type": "boolean",
          "description": "Whether backup time remaining estimates are available."
        },
        "battery_type": {
          "type": "string",
          "description": "Type of battery installed (e.g., 'ac_powerwall' for Powerwall 2/+, 'dc_powerwall' for Powerwall 3)."
        },
        "configurable": {
          "type": "boolean",
          "description": "Whether the system settings can be modified via the API."
        },
        "grid_services_enabled": {
          "type": "boolean",
          "description": "Whether the site is enrolled in grid services (Virtual Power Plant)."
        },
        "gateways": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "device_id": {
                "type": "string"
              },
              "din": {
                "type": "string"
              },
              "serial_number": {
                "type": "string"
              },
              "part_number": {
                "type": "string"
              },
              "part_type": {
                "type": "integer"
              },
              "part_name": {
                "type": "string"
              },
              "is_active": {
                "type": "boolean"
              },
              "site_id": {
                "type": "string"
              },
              "firmware_version": {
                "type": "string"
              },
              "updated_datetime": {
                "type": "string"
              },
              "leader_device_id": {
                "type": "string"
              }
            },
            "required": [
              "device_id",
              "din",
              "firmware_version",
              "is_active",
              "part_name",
              "part_number",
              "part_type",
              "serial_number",
              "site_id",
              "updated_datetime"
            ]
          }
        },
        "customer_preferred_export_rule": {
          "type": "string"
        },
        "edit_setting_permission_to_export": {
          "type": "boolean"
        },
        "edit_setting_grid_charging": {
          "type": "boolean"
        },
        "edit_setting_energy_exports": {
          "type": "boolean"
        },
        "system_alerts_enabled": {
          "type": "boolean"
        },
        "service_mode_enabled": {
          "type": "boolean"
        },
        "support_manual_backup": {
          "type": "boolean"
        },
        "rate_tariff_service_options": {
          "type": "object",
          "properties": {
            "rate_plan_configured_by_rts": {
              "type": "boolean"
            },
            "rate_tariff_service_enabled": {
              "type": "boolean"
            },
            "request_export_tariff": {
              "type": "boolean"
            },
            "request_network_fees": {
              "type": "boolean"
            }
          },
          "required": [
            "rate_plan_configured_by_rts",
            "rate_tariff_service_enabled",
            "request_export_tariff",
            "request_network_fees"
          ]
        },
        "wall_connectors": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "device_id": {
                "type": "string"
              },
              "din": {
                "type": "string"
              },
              "serial_number": {
                "type": "string"
              },
              "part_number": {
                "type": "string"
              },
              "part_type": {
                "type": "integer"
              },
              "part_name": {
                "type": "string"
              },
              "is_active": {
                "type": "boolean"
              }
            },
            "required": [
              "device_id",
              "din",
              "is_active",
              "part_name",
              "part_number",
              "part_type",
              "serial_number"
            ]
          }
        },
        "net_meter_mode": {
          "type": "string"
        },
        "batteries": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "device_id": {
                "type": "string"
              },
              "din": {
                "type": "string"
              },
              "serial_number": {
                "type": "string"
              },
              "part_number": {
                "type": "string"
              },
              "part_type": {
                "type": "integer"
              },
              "part_name": {
                "type": "string"
              },
              "nameplate_max_charge_power": {
                "type": "integer"
              },
              "nameplate_max_discharge_power": {
                "type": "integer"
              },
              "nameplate_energy": {
                "type": "integer"
              },
              "is_active": {
                "type": "boolean"
              }
            },
            "required": [
              "device_id",
              "din",
              "is_active",
              "nameplate_energy",
              "nameplate_max_charge_power",
              "nameplate_max_discharge_power",
              "part_number",
              "serial_number"
            ]
          }
        },
        "non_export_configured": {
          "type": "boolean"
        },
        "disallow_charge_from_grid_with_solar_installed": {
          "type": "boolean",
          "enum": [
            true
          ]
        },
        "ITC_cliff": {
          "type": "integer"
        },
        "sunrun_options": {
          "type": "object",
          "properties": {
            "my_home_info_deeplink_enabled": {
              "type": "boolean"
            },
            "support_screen_deeplink_enabled": {
              "type": "boolean"
            }
          },
          "required": [
            "my_home_info_deeplink_enabled",
            "support_screen_deeplink_enabled"
          ]
        },
        "inverters": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "device_id": {
                "type": "string"
              },
              "din": {
                "type": "string"
              },
              "serial_number": {
                "type": "string"
              },
              "part_number": {
                "type": "string"
              },
              "part_type": {
                "type": "integer"
              },
              "part_name": {
                "type": "string"
              },
              "is_active": {
                "type": "boolean"
              },
              "site_id": {
                "type": "string"
              },
              "firmware_version": {
                "type": "string"
              }
            },
            "required": [
              "device_id",
              "din",
              "is_active",
              "part_name",
              "part_number",
              "part_type",
              "serial_number",
              "site_id"
            ]
          }
        },
        "nbt_supported": {
          "type": "boolean"
        },
        "local_offline_monitoring_enabled": {
          "type": "boolean"
        },
        "hide_time_of_use_card": {
          "type": "boolean"
        }
      },
      "required": [
        "backup",
        "battery",
        "battery_solar_offset_view_enabled",
        "gateway",
        "grid",
        "load_meter",
        "off_grid_vehicle_charging_reserve_supported",
        "rate_tariff_service_options",
        "solar",
        "storm_mode_capable",
        "tou_capable",
        "vehicle_charging_performance_view_enabled",
        "vehicle_charging_solar_offset_view_enabled"
      ]
    },
    "version": {
      "type": "string"
    },
    "battery_count": {
      "type": "integer"
    },
    "nameplate_power": {
      "type": "number"
    },
    "installation_time_zone": {
      "type": "string"
    },
    "max_site_meter_power_ac": {
      "type": "number"
    },
    "min_site_meter_power_ac": {
      "type": "number"
    },
    "vpp_backup_reserve_percent": {
      "type": "integer"
    },
    "utility": {
      "type": "string"
    },
    "island_config": {
      "type": "object",
      "properties": {
        "low_soe_limit": {
          "type": "integer"
        },
        "jump_start_soe_threshold": {
          "type": "integer"
        },
        "wait_for_solar_retry_soe": {
          "type": "number"
        },
        "max_frequency_shift_hz": {
          "type": "number"
        },
        "wait_for_solar_soe_threshold": {
          "type": "integer"
        },
        "microgrid_not_ok_timeout": {
          "type": "integer"
        },
        "manual_backup": {
          "type": "boolean"
        },
        "neutral_balancer_type": {
          "type": "string"
        }
      }
    },
    "vehicle_charging_settings": {
      "type": "object",
      "properties": {
        "evses": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "din": {
                "type": "string"
              },
              "smart_charging": {
                "type": "object",
                "properties": {
                  "enable": {
                    "type": "boolean"
                  },
                  "schedules": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "time": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "time"
                      ]
                    }
                  },
                  "min_hours_charging": {
                    "type": "integer"
                  }
                }
              },
              "modbus_id": {
                "type": "integer"
              }
            },
            "required": [
              "din"
            ]
          }
        }
      },
      "required": [
        "evses"
      ]
    },
    "nameplate_energy": {
      "type": "integer"
    },
    "off_grid_vehicle_charging_reserve_percent": {
      "type": "integer"
    },
    "tariff_id": {
      "type": "string"
    },
    "site_number": {
      "type": "string"
    },
    "time_zone_offset": {
      "type": "integer"
    },
    "app_settings": {
      "type": "object",
      "properties": {
        "live_status_local_refresh_s": {
          "type": "integer"
        }
      },
      "required": [
        "live_status_local_refresh_s"
      ]
    },
    "csip": {
      "type": "object",
      "properties": {
        "dcap_url": {
          "type": "string"
        },
        "device_certificate": {
          "type": "string"
        },
        "csip_australia": {
          "type": "object",
          "properties": {
            "national_meter_identifier": {
              "type": "string"
            }
          },
          "required": [
            "national_meter_identifier"
          ]
        }
      },
      "required": [
        "csip_australia",
        "dcap_url",
        "device_certificate"
      ]
    },
    "external_switch": {
      "type": "object",
      "properties": {
        "input_type": {
          "type": "string"
        },
        "control_behavior": {
          "type": "string"
        }
      },
      "required": [
        "control_behavior",
        "input_type"
      ]
    },
    "aggregation_program": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "link_name": {
          "type": "string"
        },
        "link_url": {
          "type": "string"
        }
      },
      "required": [
        "description",
        "link_name",
        "link_url",
        "name"
      ]
    },
    "tesla_electric_billing_periods": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start_time": {
            "type": "string"
          },
          "end_time": {
            "type": "string"
          }
        },
        "required": [
          "end_time",
          "start_time"
        ]
      }
    }
  }
}

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/teslemetry-def-7"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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