Tesla API
  • Tesla API
  • Authentication
    • OAuth
    • User
  • Products
    • List
  • Vehicles
    • List
    • State And Settings
    • Commands
  • Powerwalls
    • State And Settings
    • Commands
  • Energy Sites
    • State And Settings
    • Commands
  • Preferences
    • Device
    • Subscriptions
    • Notifications
  • Logs
    • Diagnostics
    • Logs
  • Codes
    • Model S Options
    • Model X Options
Powered by GitBook
On this page
  • Site Summary
  • Site Data
  • Site Configuration
  • Historical Data
  1. Energy Sites

State And Settings

Work In Progress

Site Summary

GET https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/site_status

Path Parameters

Name
Type
Description

:site_id

integer

The {site_id} from the products list

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

Site Data

GET https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/live_status

Path Parameters

Name
Type
Description

:site_id

integer

The {site_id} from the products list

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

Site Configuration

GET https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/site_info

Path Parameters

Name
Type
Description

:site_id

integer

The {site_id} from the products list

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

Historical Data

GET https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/history

Path Parameters

Name
Type
Description

:site_id

integer

The {site_id} from the products list

Query Parameters

Name
Type
Description

period

string

day, week, month, year

kind

string

value of kind e.g. energy

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

PreviousCommandsNextCommands

Last updated 4 years ago