Skip to navigation

List sessions

Sessions of your drivers on your own chargers and at partner CPOs, filtered by authorization, token, status or start time.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

authorization_referencestring or nullOptional<=36 characters

Only this authorization (the reference you sent the command with).

token_uidstring or nullOptional<=36 characters
Only this token uid.
statusstring or nullOptional<=20 characters

Only this OCPI status, e.g. ACTIVE.

fromdatetime or nullOptional
Only sessions started at or after this time.
todatetime or nullOptional
Only sessions started before this time.
afterstring or nullOptional1-255 characters

Cursor: the previous page’s pagination.end_cursor. Omit it for the first page.

limitintegerOptional1-200Defaults to 50

Maximum rows per page (default 50, max 200).

Response

One page of sessions.
datalist of objects
paginationobject

Spirii cursor page. Pass end_cursor as the next after value.

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error