# State And Settings

{% hint style="warning" %}
Work In Progress
{% endhint %}

## Site Summary

<mark style="color:blue;">`GET`</mark> `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 |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Site Data

<mark style="color:blue;">`GET`</mark> `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 |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Site Configuration

<mark style="color:blue;">`GET`</mark> `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 |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Historical Data

<mark style="color:blue;">`GET`</mark> `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 |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}
