Skip to main content
GET
/
api
/
partners
/
v2.0
/
org
/
{org_id}
/
users
/
{user_id}
/
electric-vehicles
/
{electric_vehicle_id}
/
sessions
List completed charging sessions for an electric vehicle
curl --request GET \
  --url https://api.example.com/api/partners/v2.0/org/{org_id}/users/{user_id}/electric-vehicles/{electric_vehicle_id}/sessions \
  --header 'Authorization: Bearer <token>'
{
  "total": 123,
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "plug_in_time": "2023-11-07T05:31:56Z",
      "unplug_time": "2023-11-07T05:31:56Z",
      "inferred_session_end": "2023-11-07T05:31:56Z",
      "desired_charging_start_time": "2023-11-07T05:31:56Z",
      "desired_charging_end_time": "2023-11-07T05:31:56Z",
      "charge_deadline": "2023-11-07T05:31:56Z",
      "target_soc_pct": 123,
      "initial_soc_pct": 123,
      "final_soc_pct": 123,
      "energy_charged_kwh": 123,
      "avg_charge_power_kw": 123,
      "peak_charge_power_kw": 123,
      "actual_cost_eur": 123,
      "expected_savings_eur": 123,
      "actual_savings_eur": 123,
      "is_at_home": true,
      "session_outcome": "not_at_home"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.podero.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string<uuid>
required

The organization ID

user_id
string<uuid>
required

The user ID

electric_vehicle_id
string<uuid>
required

The electric vehicle ID

Query Parameters

from
string<date>
required

Inclusive lower bound day (UTC, YYYY-MM-DD)

to
string<date>
required

Inclusive upper bound day (UTC, YYYY-MM-DD)

limit
integer
default:50

Page size (max 200)

Required range: 1 <= x <= 200
offset
integer
default:0

Offset for pagination

Required range: x >= 0

Response

200 - application/json

OK

total
integer
required
items
SessionItem · object[]
required