v1

latestOpenAPI 3.0.42026-07-241876123.9 KB
Session

Archived sessions

Retrieves completed charge sessions accessible by the current user, filtered by date range and either an installation or a single charger. Results are returned in cursor-paginated pages; when hasMore is true, send the returned cursor as ?cursor= on the next request to fetch the next page. Default page size: 50. Max: 200.

get/api/sessions/archived

Query parameters

Fromstring date-time

Inclusive lower bound for session end time. Required.

Tostring date-time

Exclusive upper bound for session end time. Required, must be after from.

InstallationIdstring uuid

Installation to list sessions for. Requires owner role on the installation. Mutually exclusive with chargerId exactly one of the two is required.

ChargerIdstring uuid

Single charger to list sessions for. Requires owner role on the charger. Mutually exclusive with installationId exactly one of the two is required.

PageSizeinteger

Page size. Default 50, max 200.

Cursorstring

Opaque cursor from a previous response's cursor field. Omit to start from the first page.

Response

OK

cursorstring nullable

Opaque cursor to fetch the next page. Send as ?cursor= on the next request when hasMore is true. Null when there are no further pages.

hasMoreboolean

True when more pages are available beyond this one.