getCompletedSessionSummaries
Overview
The getCompletedSessionSummaries endpoint shows a summary of your past charging sessions.
POST https://rivian.com/api/gql/chrg/user/graphql
Request Body
{
"operationName": "getCompletedSessionSummaries",
"variables": {},
"query": "query getCompletedSessionSummaries {\n getCompletedSessionSummaries {\n chargerType\n currencyCode\n paidTotal\n startInstant\n endInstant\n totalEnergyKwh\n rangeAddedKm\n city\n transactionId\n vehicleId\n vehicleName\n vendor\n isRoamingNetwork\n isPublic\n isHomeCharger\n meta {\n transactionIdGroupingKey\n dataSources\n }\n }\n}\n"
}
Example Response
{
"data": {
"getCompletedSessionSummaries": [
{
"chargerType": "WALLBOX",
"currencyCode": null,
"paidTotal": null,
"startInstant": "2022-06-01T14:00:00.000Z",
"endInstant": "2022-06-01T16:00:00.000Z",
"totalEnergyKwh": 11.1234,
"rangeAddedKm": null,
"city": <your-city>,
"transactionId": "67890",
"vehicleId": null,
"vehicleName": null,
"vendor": "Home",
"isRoamingNetwork": false,
"isPublic": false,
"isHomeCharger": true,
"meta": {
"transactionIdGroupingKey": ",67890",
"dataSources": [
"TXN:67890"
]
}
},
...
]
}
}