---
title: "Grid limitation sessions"
method: GET
path: "/gridsessions"
tags: ["sessions"]
---

# Grid limitation sessions

`GET /gridsessions`

Returns a list of HEMS grid limitation events.

## Query parameters

- `format` 'csv'
- `lang` string

## Response `200`

Success

- object[] — Grid limitation sessions
  - `id` integer — Loadpoint index starting at 1.
  - `created` string, date-time — Timestamp in RFC3339 format
  - `finished` string, date-time — Timestamp in RFC3339 format
  - `type` 'consumption' | 'feedin' — Type of grid limitation event
  - `gridPower` number — Grid power in watts
  - `limitPower` number — Limitation power in watts
  - `chargeDuration` number — Duration of active charging
  - `solarPercentage` number — Solar percentage of the session
  - `price` number — Total price of the session
  - `pricePerKWh` number — Average price per kWh
  - `co2PerKWh` number — Average CO₂ emissions per kWh

## Changes

- **2026-07-20** `32e824ccacfe` — 1 breaking, 1 warning
  - the response's body type/format changed from `object`/`` to `array`/`` for status `200`
  - removed the optional property `result` from the response with the `200` status
- **2025-12-12** `9542b598863d` — 1 info
  - endpoint added
- **2025-08-01** `2429e9297a5c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/evcc-io/apis/evcc/changes/gridsessions/get.md)

---

[API](https://skmtc.dev/evcc-io/apis/evcc.md) · [All operations](https://skmtc.dev/evcc-io/apis/evcc/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evcc-io/evcc/revisions/5152af83a070/schema)
