v1

latestOpenAPI 3.0.42026-07-241876123.9 KB
ChargeHistory

Completed sessions (deprecated)

Deprecated: Use GET /api/sessions/archived instead.
This endpoint is being phased out with the following timeline:

  • From 2026-08-01, closed sessions older than two years are no longer returned.
  • From 2027-01-01, closed sessions are removed / endpoint sunset.
    Retrieves all completed charge sessions accessible by the current user, matching the provided filters.
    Default page size: 50. Max: 100.
get/api/chargehistory

Query parameters

InstallationIdstring uuid
UserIdstring uuid
ChargerIdstring uuid
Fromstring date-time
Tostring date-time
GroupBy0 | 1 | 2

0 = group by charger (default), 1 = group by calendar day, 2 = group by user.

0 = Charger

1 = Day

2 = User

0 = group by charger (default), 1 = group by calendar day, 2 = group by user.

0 = Charger

1 = Day

2 = User

DetailLevel0 | 1

Determines the detail level to return.

0 = Summary

1 = EnergyDetails

Bitflag: 0 = session summary (default), 1 = include detailed session energy data.

0 = Summary

1 = EnergyDetails

SortPropertystring

Name of the property used to sort the result.

SortDescendingboolean

Set to true to sort items in descending order.

PageSizeinteger

Number of items to return per page.

PageIndexinteger

The page index to return, first page is 0.

IncludeDisabledboolean

If true, and your user has access, include disabled objects.

Excludestring[]

Get or set a list of item Id's that will be excluded from the result.

PageInfoOnlyboolean

Returns only information about pages and no data info.

Response

OK

pagesinteger
messagestring nullable
All 18 operations