Rivian App API - v2.10.0
Jan 10 @ 2:48pm
Dump of the Rivian API GraphQL from version 2.10.0
Changes from 2.8.0:
--- app-v2.8.0/pretty-graphql 2024-06-10 12:21:51.840581406 -0400
+++ app-v2.10.0/pretty-graphql 2024-06-10 11:59:01.091157712 -0400
@@ -8,6 +8,16 @@
success
}
}
+mutation ConsumerSelfSchedule($input: ConsumerSelfScheduleInput!) {
+ consumerSelfSchedule(input: $input) {
+ failedStage
+ message
+ success
+ record {
+ workOrderId
+ }
+ }
+}
mutation CreateDepartureSchedule(
$vehicleId: String!
$schedule: InputDepartureSchedule!
@@ -16,11 +26,35 @@
success
}
}
+mutation CreateUserAddress($userAddress: CreateUserAddressInput!) {
+ createUserAddress(input: $userAddress) {
+ id
+ line1
+ line2
+ city
+ state
+ postalCode
+ country
+ types
+ }
+}
mutation DeclineVehicleInvite($inviteId: String!) {
declineVehicleInvite(inviteId: $inviteId) {
success
}
}
+mutation DeleteUserAddress($addressId: String!) {
+ deleteUserAddress(addressId: $addressId) {
+ id
+ line1
+ line2
+ city
+ state
+ postalCode
+ country
+ types
+ }
+}
mutation DeregisterPushNotificationToken($data: DeregistrationInput!) {
deregisterPushNotificationToken(data: $data) {
success
@@ -36,6 +70,11 @@
success
}
}
+mutation GenerateHandoffToken {
+ generateHandoffToken {
+ accessToken
+ }
+}
mutation InviteUserToVehicle($attrs: VehicleInviteAttributes!) {
inviteUserToVehicle(attrs: $attrs) {
success
@@ -164,21 +203,62 @@
success
}
}
+mutation UpdateUserAddress($updateUserAddressInput: UpdateUserAddressInput!) {
+ updateUserAddress(input: $updateUserAddressInput) {
+ id
+ line1
+ line2
+ city
+ state
+ postalCode
+ country
+ types
+ }
+}
+mutation ValidateOtpAndEnable2FA($input: ValidateOtpInput!) {
+ validateOtpAndEnable2FA(input: $input) {
+ registrationChannels {
+ type
+ }
+ }
+}
mutation acceptDelivery($orderId: ID!) {
acceptDelivery(input: { orderId: $orderId }) {
vehicleId
}
}
+mutation activateSubscription($productId: String!, $vehicleId: String!) {
+ activateSubscription(productId: $productId, vehicleId: $vehicleId) {
+ success
+ }
+}
mutation activateWallbox($wallboxId: String!) {
activateWallbox(wallboxId: $wallboxId) {
linked
}
}
+mutation cancelSubscription($subscriptionId: String!, $reason: String!) {
+ cancelSubscription(subscriptionId: $subscriptionId, reason: $reason) {
+ success
+ }
+}
mutation createBugTicket($userVehicleData: UserVehicleInfoInput!) {
createBugTicket(userVehicleData: $userVehicleData) {
jiraTicketUrl
}
}
+mutation createPaymentMethod($input: CreatePaymentMethodInput!) {
+ createPaymentMethod(input: $input) {
+ id
+ default
+ type
+ card {
+ lastFour
+ brand
+ expiration
+ }
+ }
+}
mutation createServiceRequests($input: [ConsumerRequestServiceInput!]!) {
consumerRequestService(input: $input) {
success
@@ -224,6 +304,18 @@
success
}
}
+mutation deletePaymentMethod($paymentMethodId: String!) {
+ deletePaymentMethod(paymentMethodId: $paymentMethodId) {
+ id
+ default
+ type
+ card {
+ lastFour
+ brand
+ expiration
+ }
+ }
+}
mutation deleteTrip($tripId: String!) {
deleteTrip(tripId: $tripId)
}
@@ -240,6 +332,14 @@
success
}
}
+mutation disable2FA {
+ disable2FA {
+ registrationChannels {
+ type
+ }
+ success
+ }
+}
mutation disableKey($keyIdentityId: ID!, $HRID: String!) {
disableKey(keyIdentityId: $keyIdentityId, HRID: $HRID) {
success
@@ -250,6 +350,11 @@
success
}
}
+mutation forgotPassword($emailInput: ForgotPasswordInput!) {
+ forgotPassword(input: $emailInput) {
+ success
+ }
+}
mutation linkMediasToServiceRequest(
$input: ConsumerUpdateServiceRequestInput!
) {
@@ -262,20 +367,41 @@
}
}
}
+mutation liveNotificationDeregisterStartToken(
+ $deviceId: String!
+ $appBuildType: MobileApp!
+) {
+ liveNotificationDeregisterStartToken(
+ deviceId: $deviceId
+ appBuildType: $appBuildType
+ ) {
+ success
+ }
+}
mutation liveNotificationEnd($key: NotificationKeyInput!) {
liveNotificationEnd(key: $key) {
success
}
}
-mutation liveNotificationStartOrUpdate(
- $key: NotificationKeyInput!
+mutation liveNotificationRegisterStartToken(
+ $deviceId: String!
+ $appBuildType: MobileApp!
$token: String!
- $locale: String
) {
- liveNotificationStartOrUpdate(key: $key, token: $token, locale: $locale) {
+ liveNotificationRegisterStartToken(
+ deviceId: $deviceId
+ appBuildType: $appBuildType
+ token: $token
+ ) {
success
}
}
+mutation registerUserPhone2FA($input: UpdateUserPhoneInput!) {
+ registerUserPhone2FA(input: $input) {
+ success
+ sessionToken
+ }
+}
mutation removeWallbox($wallboxId: String!) {
removeWallbox(wallboxId: $wallboxId) {
linked
@@ -294,6 +420,14 @@
state
}
}
+mutation setInVehicleTransactionsAllowed(
+ $vehicleId: String!
+ $value: Boolean!
+) {
+ setInVehicleTransactionsAllowed(vehicleId: $vehicleId, value: $value) {
+ success
+ }
+}
mutation skipNextScheduledDeparture(
$vehicleId: String!
$scheduleId: String!
@@ -312,12 +446,40 @@
success
}
}
+mutation updateDefaultPaymentMethod($paymentMethodId: String!) {
+ updateDefaultPaymentMethod(paymentMethodId: $paymentMethodId) {
+ id
+ default
+ type
+ card {
+ lastFour
+ brand
+ expiration
+ }
+ }
+}
mutation updateTrip($tripId: String!, $attrs: TripPlanInput!) {
updateTrip(tripId: $tripId, attrs: $attrs)
}
mutation updateTripTimestamp($tripId: String!) {
updateTripTimestamp(tripId: $tripId)
}
+mutation updateUserPassword($updatePasswordInput: UpdatePasswordInput!) {
+ updateUserPassword(input: $updatePasswordInput) {
+ __typename
+ ... on Success {
+ success
+ }
+ ... on MobileMFALoginResponse {
+ otpToken
+ }
+ }
+}
+mutation updateUserPasswordWithOTP($updateInfo: UpdatePasswordWithOTPInput!) {
+ updateUserPasswordWithOTP(input: $updateInfo) {
+ success
+ }
+}
mutation updateUserPhone($updateInfo: UpdateUserPhoneInput!) {
updateUserPhone(input: $updateInfo) {
primaryPhone {
@@ -566,11 +728,24 @@
formatted
}
address {
+ id
+ types
+ line1
+ line2
+ city
+ state
+ postalCode
country
+ state
}
hasNewsletterSubscription
hasSmsSubscription
hasNewsletterSmsSubscription
+ consumerReferralCode
+ consumerReferralCodeEligibility
+ registrationChannels {
+ type
+ }
vehicles {
id
owner
@@ -664,6 +839,17 @@
vehicleModel
}
+ paymentMethods {
+ id
+ default
+ type
+ country
+ card {
+ lastFour
+ brand
+ expiration
+ }
+ }
}
query CurrentUserForLogin {
currentUser {
@@ -697,11 +883,24 @@
formatted
}
address {
+ id
+ types
+ line1
+ line2
+ city
+ state
+ postalCode
country
+ state
}
hasNewsletterSubscription
hasSmsSubscription
hasNewsletterSmsSubscription
+ consumerReferralCode
+ consumerReferralCodeEligibility
+ registrationChannels {
+ type
+ }
vehicles {
id
owner
@@ -795,6 +994,17 @@
vehicleModel
}
+ paymentMethods {
+ id
+ default
+ type
+ country
+ card {
+ lastFour
+ brand
+ expiration
+ }
+ }
}
query FileWrapper($locale: String, $slug: String) {
files: egFileWrapperCollection(
@@ -813,6 +1023,27 @@
}
}
}
+query GearGuardLiveConfig($vehicleId: String!, $cameraId: Camera!) {
+ gearGuardLiveConfig(vehicleId: $vehicleId, cameraId: $cameraId) {
+ endpoint
+ channelArn
+ role
+ iceServers {
+ url
+ username
+ credential
+ ttl
+ }
+ }
+}
+query GeoInfo($input: GeoInfoAddressInput!) {
+ geoInfo(address: $input) {
+ geoLocation {
+ lat
+ lon
+ }
+ }
+}
query GetAdventureFeed($locale: String!, $slug: String!) {
egAdventureFeedCollection(locale: $locale, limit: 1, where: { slug: $slug }) {
items {
@@ -934,6 +1165,124 @@
}
}
}
+query GetAvailableAndActivatedSubscriptions(
+ $vehicleId: String!
+ $locale: String!
+) {
+ vehicleSubscriptions(vehicleId: $vehicleId, locale: $locale) {
+ __typename
+ ... on ActivePaidVehicleSubscription {
+ productId
+ subscriptionId
+ billingCycle
+ nextBillDate
+ currency
+ description
+ name
+ price
+ benefits {
+ id
+ code
+ name
+ darkIconUrl
+ lightIconUrl
+ }
+ }
+ ... on ActiveTrialVehicleSubscription {
+ productId
+ subscriptionId
+ currency
+ billingCycle
+ description
+ name
+ endDate
+ price
+ benefits {
+ id
+ code
+ name
+ darkIconUrl
+ lightIconUrl
+ }
+ }
+ ... on ActivePaidTrialVehicleSubscription {
+ productId
+ subscriptionId
+ currency
+ billingCycle
+ description
+ name
+ endDate
+ nextBillDate
+ price
+ benefits {
+ id
+ code
+ name
+ darkIconUrl
+ lightIconUrl
+ }
+ }
+ ... on CanceledPaidVehicleSubscription {
+ productId
+ subscriptionId
+ billingCycle
+ currency
+ description
+ name
+ endDate
+ price
+ benefits {
+ id
+ code
+ name
+ darkIconUrl
+ lightIconUrl
+ }
+ }
+ ... on CanceledTrialVehicleSubscription {
+ productId
+ subscriptionId
+ currency
+ description
+ name
+ endDate
+ price
+ benefits {
+ id
+ code
+ name
+ darkIconUrl
+ lightIconUrl
+ }
+ }
+ ... on AvailablePaidVehicleSubscription {
+ productId
+ billingCycle
+ currency
+ description
+ name
+ price
+ benefits {
+ id
+ code
+ name
+ darkIconUrl
+ lightIconUrl
+ }
+ }
+ }
+}
+query GetAvailableTimeslots($locationId: String!, $numOfDays: Int!) {
+ consumerAvailableTimeslots(locationId: $locationId, numOfDays: $numOfDays) {
+ activityId
+ endAt
+ startAt
+ timeslotId
+ timeslotInstance
+ timezone
+ }
+}
query GetChargingSchedule($vehicleId: String!) {
getVehicle(id: $vehicleId) {
chargingSchedules {
@@ -957,6 +1306,20 @@
sessionId
}
}
+query GetCurrentUserAddresses {
+ currentUser {
+ backwardsCompatibleAddresses {
+ id
+ line1
+ line2
+ city
+ state
+ postalCode
+ country
+ types
+ }
+ }
+}
query GetReverseGeocode($params: ReverseGeocodeQueryParams!) {
reverseGeocode(params: $params) {
id
@@ -1008,8 +1371,6 @@
fragment TrailerProfileFields on TrailerProfile {
rangeStatus
weight
- onRoadEfficiency
- offRoadEfficiency
name
}
query GetVehicle($getVehicleId: String) {
@@ -1047,6 +1408,10 @@
}
}
fragment vehicleStateFields on VehicleState {
+ geoLocation {
+ value
+ timeStamp
+ }
gnssLocation {
latitude
longitude
@@ -1248,6 +1613,10 @@
timeStamp
value
}
+ batteryCellType {
+ timeStamp
+ value
+ }
chargerState {
timeStamp
value
@@ -1256,6 +1625,10 @@
timeStamp
value
}
+ batteryNeedsLfpCalibration {
+ timeStamp
+ value
+ }
remoteChargingAvailable {
timeStamp
value
@@ -1380,6 +1753,14 @@
timeStamp
value
}
+ seatThirdRowLeftHeat {
+ timeStamp
+ value
+ }
+ seatThirdRowRightHeat {
+ timeStamp
+ value
+ }
chargerStatus {
timeStamp
value
@@ -1428,6 +1809,10 @@
timeStamp
value
}
+ btmOcHardwareFailureStatus {
+ timeStamp
+ value
+ }
btmRfHardwareFailureStatus {
timeStamp
value
@@ -1504,6 +1889,20 @@
}
}
}
+query SearchPlaces($input: SearchPlacesInput!) {
+ searchPlaces(input: $input) {
+ data {
+ address {
+ city
+ state
+ street
+ }
+ distance
+ locationName
+ locationId
+ }
+ }
+}
query SupportedFeatures {
currentUser {
vehicles {
@@ -1519,11 +1918,34 @@
}
}
}
+query chargingSites($filter: ChargingSiteQueryParams!) {
+ chargingSites(filter: $filter) {
+ id
+ networkId
+ location {
+ latitude
+ longitude
+ }
+ maxKw
+ totalCount
+ availableCount
+ outOfOrder
+ unknownAvailability
+ adapterRequired
+ compatible
+ openNow
+ }
+}
query chatSession {
getLatestChatSession {
status
}
}
+query checkPasswordStrength($password: String!) {
+ checkPasswordStrength(password: $password) {
+ score
+ }
+}
query defaultPaymentMethods {
payment {
getPaymentMethods {
@@ -1654,6 +2076,9 @@
)
}
}
+query getInVehicleTransactionsAllowed($vehicleId: String!) {
+ inVehicleTransactionsAllowed(vehicleId: $vehicleId)
+}
query getLiveSessionData($vehicleId: ID, $transactionId: ID, $chargerId: ID) {
getLiveSessionData(
vehicleId: $vehicleId
@@ -1712,6 +2137,21 @@
}
}
}
+query getMobilePaymentOptions {
+ currentUser {
+ paymentMethods {
+ id
+ default
+ type
+ country
+ card {
+ lastFour
+ brand
+ expiration
+ }
+ }
+ }
+}
query getNonRivianUserSession {
getNonRivianUserSession {
chargerId
@@ -1793,6 +2233,20 @@
total
}
}
+query getUserGuides {
+ currentUser {
+ id
+ vehicles {
+ id
+ vehicle {
+ userGuide {
+ slug
+ locale
+ }
+ }
+ }
+ }
+}
query getUserSubscriptions {
currentUser {
hasNewsletterSubscription
@@ -1966,6 +2420,7 @@
departureSOC
departureReachableDistance
adapterRequired
+ isSystemAdded
}
energyConsumptionOnLeg
batteryEmptyToDestinationDistance
@@ -2139,6 +2594,10 @@
}
}
fragment vehicleStateFields on VehicleState {
+ geoLocation {
+ value
+ timeStamp
+ }
gnssLocation {
latitude
longitude
@@ -2340,6 +2799,10 @@
timeStamp
value
}
+ batteryCellType {
+ timeStamp
+ value
+ }
chargerState {
timeStamp
value
@@ -2348,6 +2811,10 @@
timeStamp
value
}
+ batteryNeedsLfpCalibration {
+ timeStamp
+ value
+ }
remoteChargingAvailable {
timeStamp
value
@@ -2472,6 +2939,14 @@
timeStamp
value
}
+ seatThirdRowLeftHeat {
+ timeStamp
+ value
+ }
+ seatThirdRowRightHeat {
+ timeStamp
+ value
+ }
chargerStatus {
timeStamp
value
@@ -2520,6 +2995,10 @@
timeStamp
value
}
+ btmOcHardwareFailureStatus {
+ timeStamp
+ value
+ }
btmRfHardwareFailureStatus {
timeStamp
value
@@ -2560,6 +3039,10 @@
}
}
fragment vehicleStateFields on VehicleState {
+ geoLocation {
+ value
+ timeStamp
+ }
gnssLocation {
latitude
longitude
@@ -2761,6 +3244,10 @@
timeStamp
value
}
+ batteryCellType {
+ timeStamp
+ value
+ }
chargerState {
timeStamp
value
@@ -2769,6 +3256,10 @@
timeStamp
value
}
+ batteryNeedsLfpCalibration {
+ timeStamp
+ value
+ }
remoteChargingAvailable {
timeStamp
value
@@ -2893,6 +3384,14 @@
timeStamp
value
}
+ seatThirdRowLeftHeat {
+ timeStamp
+ value
+ }
+ seatThirdRowRightHeat {
+ timeStamp
+ value
+ }
chargerStatus {
timeStamp
value
@@ -2941,6 +3440,10 @@
timeStamp
value
}
+ btmOcHardwareFailureStatus {
+ timeStamp
+ value
+ }
btmRfHardwareFailureStatus {
timeStamp
value
mutation AcceptVehicleInvite($inviteId: String!) {
acceptVehicleInvite(inviteId: $inviteId) {
success
}
}
mutation CancelVehicleInvite($inviteId: String!) {
cancelVehicleInvite(inviteId: $inviteId) {
success
}
}
mutation ConsumerSelfSchedule($input: ConsumerSelfScheduleInput!) {
consumerSelfSchedule(input: $input) {
failedStage
message
success
record {
workOrderId
}
}
}
mutation CreateDepartureSchedule(
$vehicleId: String!
$schedule: InputDepartureSchedule!
) {
createDepartureSchedule(vehicleId: $vehicleId, schedule: $schedule) {
success
}
}
mutation CreateUserAddress($userAddress: CreateUserAddressInput!) {
createUserAddress(input: $userAddress) {
id
line1
line2
city
state
postalCode
country
types
}
}
mutation DeclineVehicleInvite($inviteId: String!) {
declineVehicleInvite(inviteId: $inviteId) {
success
}
}
mutation DeleteUserAddress($addressId: String!) {
deleteUserAddress(addressId: $addressId) {
id
line1
line2
city
state
postalCode
country
types
}
}
mutation DeregisterPushNotificationToken($data: DeregistrationInput!) {
deregisterPushNotificationToken(data: $data) {
success
}
}
mutation DisenrollPhone($attrs: DisenrollPhoneAttributes!) {
disenrollPhone(attrs: $attrs) {
success
}
}
mutation EnrollPhone($attrs: EnrollPhoneAttributes!) {
enrollPhone(attrs: $attrs) {
success
}
}
mutation GenerateHandoffToken {
generateHandoffToken {
accessToken
}
}
mutation InviteUserToVehicle($attrs: VehicleInviteAttributes!) {
inviteUserToVehicle(attrs: $attrs) {
success
}
}
mutation Login($email: String!, $password: String!) {
login(email: $email, password: $password) {
__typename
... on MobileLoginResponse {
accessToken
refreshToken
userSessionToken
}
... on MobileMFALoginResponse {
otpToken
}
}
}
mutation LoginWithOTP($email: String!, $otpCode: String!, $otpToken: String!) {
loginWithOTP(email: $email, otpCode: $otpCode, otpToken: $otpToken) {
accessToken
refreshToken
userSessionToken
}
}
mutation Logout {
logout {
success
}
}
mutation ParseAndShareLocationToVehicle($str: String!, $vehicleId: String!) {
parseAndShareLocationToVehicle(str: $str, vehicleId: $vehicleId) {
publishResponse {
result
}
}
}
mutation ReassignKey($attrs: ReassignKeyAttributes!) {
reassignKey(attrs: $attrs) {
success
}
}
mutation RegisterPushNotificationToken($data: RegistrationInput!) {
registerPushNotificationToken(data: $data) {
deviceTokenId
locale
success
token
}
}
mutation RemoveUserFromVehicle($attrs: RemoveUserFromVehicleAttributes!) {
removeUserFromVehicle(attrs: $attrs) {
success
}
}
mutation ResendOTPCode($otpToken: String!) {
resendOTPCode(otpToken: $otpToken) {
success
}
}
mutation SendVehicleOperation($vehicleId: String!, $payload: String!) {
sendVehicleOperation(vehicleId: $vehicleId, payload: $payload) {
success
sequenceNumber
}
}
mutation SetChargingSchedule(
$vehicleId: String!
$chargingSchedules: [InputChargingSchedule!]!
) {
setChargingSchedules(
vehicleId: $vehicleId
chargingSchedules: $chargingSchedules
) {
success
}
}
mutation SetDistanceUnit($unit: DistanceUnit!, $timeStamp: UnixTimestamp!) {
setDistanceUnit(unit: $unit, timestamp: $timeStamp)
}
mutation SetPressureUnit($unit: PressureUnit!, $timestamp: UnixTimestamp) {
setPressureUnit(unit: $unit, timestamp: $timestamp)
}
mutation SetTemperatureUnit(
$unit: TemperatureUnit!
$timeStamp: UnixTimestamp!
) {
setTemperatureUnit(unit: $unit, timestamp: $timeStamp)
}
mutation SetVehicleName($vehicleId: String!, $name: String!) {
setVehicleName(vehicleId: $vehicleId, name: $name) {
value
}
}
mutation StartNewChargerSession(
$locationId: ID
$chargingNetwork: ID!
$evseId: ID!
$serialNumber: ID!
$vehicleId: ID
) {
startNewChargerSession(
locationId: $locationId
chargingNetwork: $chargingNetwork
evseId: $evseId
serialNumber: $serialNumber
vehicleId: $vehicleId
) {
id
sessionId
status
errorMessage
errorId
}
}
mutation UpdateDepartureSchedule(
$vehicleId: String!
$scheduleId: String!
$schedule: InputDepartureSchedule!
) {
updateDepartureSchedule(
vehicleId: $vehicleId
scheduleId: $scheduleId
schedule: $schedule
) {
success
}
}
mutation UpdateUserAddress($updateUserAddressInput: UpdateUserAddressInput!) {
updateUserAddress(input: $updateUserAddressInput) {
id
line1
line2
city
state
postalCode
country
types
}
}
mutation ValidateOtpAndEnable2FA($input: ValidateOtpInput!) {
validateOtpAndEnable2FA(input: $input) {
registrationChannels {
type
}
}
}
mutation acceptDelivery($orderId: ID!) {
acceptDelivery(input: { orderId: $orderId }) {
vehicleId
}
}
mutation activateSubscription($productId: String!, $vehicleId: String!) {
activateSubscription(productId: $productId, vehicleId: $vehicleId) {
success
}
}
mutation activateWallbox($wallboxId: String!) {
activateWallbox(wallboxId: $wallboxId) {
linked
}
}
mutation cancelSubscription($subscriptionId: String!, $reason: String!) {
cancelSubscription(subscriptionId: $subscriptionId, reason: $reason) {
success
}
}
mutation createBugTicket($userVehicleData: UserVehicleInfoInput!) {
createBugTicket(userVehicleData: $userVehicleData) {
jiraTicketUrl
}
}
mutation createPaymentMethod($input: CreatePaymentMethodInput!) {
createPaymentMethod(input: $input) {
id
default
type
card {
lastFour
brand
expiration
}
}
}
mutation createServiceRequests($input: [ConsumerRequestServiceInput!]!) {
consumerRequestService(input: $input) {
success
errors
serviceTicket {
id
}
serviceRequests {
localId
serviceRequest {
id
}
uploadImageUrls {
signedUrl
expiresAt
key
}
uploadVideoUrls {
signedUrl
expiresAt
key
}
}
}
}
mutation creditCheck {
payment {
postCreditCheck(
source: "ENERGY_CHARGING"
intent: FULL_PAYMENT
verbose: TRUE
) {
passed
rules {
name
passed
}
}
}
}
mutation deleteDepartureSchedule($vehicleId: String!, $scheduleId: String!) {
deleteDepartureSchedule(vehicleId: $vehicleId, scheduleId: $scheduleId) {
success
}
}
mutation deletePaymentMethod($paymentMethodId: String!) {
deletePaymentMethod(paymentMethodId: $paymentMethodId) {
id
default
type
card {
lastFour
brand
expiration
}
}
}
mutation deleteTrip($tripId: String!) {
deleteTrip(tripId: $tripId)
}
mutation departNow(
$vehicleId: String!
$scheduleId: String!
$skipDate: String!
) {
departNow(
vehicleId: $vehicleId
scheduleId: $scheduleId
skipDate: $skipDate
) {
success
}
}
mutation disable2FA {
disable2FA {
registrationChannels {
type
}
success
}
}
mutation disableKey($keyIdentityId: ID!, $HRID: String!) {
disableKey(keyIdentityId: $keyIdentityId, HRID: $HRID) {
success
}
}
mutation enableKey($keyIdentityId: ID!, $HRID: String!) {
enableKey(keyIdentityId: $keyIdentityId, HRID: $HRID) {
success
}
}
mutation forgotPassword($emailInput: ForgotPasswordInput!) {
forgotPassword(input: $emailInput) {
success
}
}
mutation linkMediasToServiceRequest(
$input: ConsumerUpdateServiceRequestInput!
) {
consumerUpdateServiceRequest(input: $input) {
success
serviceRequest {
id
imageKeys
videoKeys
}
}
}
mutation liveNotificationDeregisterStartToken(
$deviceId: String!
$appBuildType: MobileApp!
) {
liveNotificationDeregisterStartToken(
deviceId: $deviceId
appBuildType: $appBuildType
) {
success
}
}
mutation liveNotificationEnd($key: NotificationKeyInput!) {
liveNotificationEnd(key: $key) {
success
}
}
mutation liveNotificationRegisterStartToken(
$deviceId: String!
$appBuildType: MobileApp!
$token: String!
) {
liveNotificationRegisterStartToken(
deviceId: $deviceId
appBuildType: $appBuildType
token: $token
) {
success
}
}
mutation registerUserPhone2FA($input: UpdateUserPhoneInput!) {
registerUserPhone2FA(input: $input) {
success
sessionToken
}
}
mutation removeWallbox($wallboxId: String!) {
removeWallbox(wallboxId: $wallboxId) {
linked
}
}
mutation saveTrip($attrs: TripPlanInput!) {
saveTrip(attrs: $attrs)
}
mutation sendTripToVehicle($attrs: SendTripToVehicleInput!) {
sendTripToVehicle(attrs: $attrs)
}
mutation sendVehicleCommand($attrs: VehicleCommandAttributes!) {
sendVehicleCommand(attrs: $attrs) {
id
command
state
}
}
mutation setInVehicleTransactionsAllowed(
$vehicleId: String!
$value: Boolean!
) {
setInVehicleTransactionsAllowed(vehicleId: $vehicleId, value: $value) {
success
}
}
mutation skipNextScheduledDeparture(
$vehicleId: String!
$scheduleId: String!
$skipDate: String!
) {
skipNextScheduledDeparture(
vehicleId: $vehicleId
scheduleId: $scheduleId
skipDate: $skipDate
) {
success
}
}
mutation transferOwnership($vehicleID: String!) {
transferOwnership(vehicleId: $vehicleID) {
success
}
}
mutation updateDefaultPaymentMethod($paymentMethodId: String!) {
updateDefaultPaymentMethod(paymentMethodId: $paymentMethodId) {
id
default
type
card {
lastFour
brand
expiration
}
}
}
mutation updateTrip($tripId: String!, $attrs: TripPlanInput!) {
updateTrip(tripId: $tripId, attrs: $attrs)
}
mutation updateTripTimestamp($tripId: String!) {
updateTripTimestamp(tripId: $tripId)
}
mutation updateUserPassword($updatePasswordInput: UpdatePasswordInput!) {
updateUserPassword(input: $updatePasswordInput) {
__typename
... on Success {
success
}
... on MobileMFALoginResponse {
otpToken
}
}
}
mutation updateUserPasswordWithOTP($updateInfo: UpdatePasswordWithOTPInput!) {
updateUserPasswordWithOTP(input: $updateInfo) {
success
}
}
mutation updateUserPhone($updateInfo: UpdateUserPhoneInput!) {
updateUserPhone(input: $updateInfo) {
primaryPhone {
phone
countryCode
national
formatted
}
}
}
mutation updateUserSubscriptions(
$userSubscriptionInput: UpdateUserSubscriptionsInput!
) {
updateUserSubscriptions(input: $userSubscriptionInput) {
success
}
}
mutation updateWallbox(
$wallboxId: String!
$wifiId: String
$name: String
$latitude: String
$longitude: String
) {
updateWallbox(
wallboxId: $wallboxId
wifiId: $wifiId
name: $name
latitude: $latitude
longitude: $longitude
) {
wallboxId
userId
wifiId
name
linked
latitude
longitude
chargingStatus
power
currentVoltage
currentAmps
softwareVersion
model
serialNumber
maxPower
maxVoltage
maxAmps
}
}
query ChargerDetails($ids: [String!]!, $userLocation: GeoCoordinatesInput) {
chargerByIds(ids: $ids, userLocation: $userLocation) {
id
name
location {
addressComponents {
type
shortName
longName
}
formattedAddress
coordinate {
latitude
longitude
}
navCoordinate {
latitude
longitude
}
}
distance
driveDetails {
driveDistance
driveDuration
detourDistance
detourDuration
}
chargingStation {
network
networkId
maxKw
note
chargers {
locationId
pluginDependency
connectors {
id
evseId
evseUid
name
level
maxKw
chargingPrice {
level
description
amount
currency
lastUpdateTime
symbol
type
unit
}
type
free
vend
state
}
}
operatingHours {
alwaysOpen
hours {
close
day
open
}
}
reliabilityScore
siteMetrics {
successRate
avgMaxPower
countChargeSessions
lastChargeSessionTimestamp
}
}
adapterRequired
compatible
}
}
query ChargingSiteDiscovery($filter: ChargingSiteQueryParams!) {
chargingSiteDiscovery(filter: $filter) {
id
name
location {
addressComponents {
type
shortName
longName
}
formattedAddress
coordinate {
latitude
longitude
}
navCoordinate {
latitude
longitude
}
}
distance
driveDetails {
driveDistance
driveDuration
detourDistance
detourDuration
}
chargingStation {
network
networkId
maxKw
note
operatingHours {
alwaysOpen
hours {
day
open
close
}
}
chargers {
locationId
pluginDependency
connectors {
id
evseId
evseUid
name
level
maxKw
chargingPrice {
level
description
amount
currency
lastUpdateTime
symbol
type
unit
}
type
free
vend
state
}
}
reliabilityScore
siteMetrics {
successRate
avgMaxPower
countChargeSessions
lastChargeSessionTimestamp
}
}
adapterRequired
compatible
}
}
query CheckChargePointLinking($rivianId: ID!) {
chargepoint {
checkByRivianId(rivianId: $rivianId)
}
}
query CommsListDiscussions {
commsListDiscussions {
hasUnreadMessages
}
}
query CurrentUser {
currentUser {
__typename
...CurrentUserFields
}
}
fragment CurrentUserFields on User {
id
settings {
distanceUnit {
value
timestamp
}
temperatureUnit {
value
timestamp
}
pressureUnit {
value
timestamp
}
}
firstName
lastName
primaryPhone {
phone
countryCode
national
formatted
}
address {
id
types
line1
line2
city
state
postalCode
country
state
}
hasNewsletterSubscription
hasSmsSubscription
hasNewsletterSmsSubscription
consumerReferralCode
consumerReferralCodeEligibility
registrationChannels {
type
}
vehicles {
id
owner
roles
vin
vas {
vasVehicleId
vehiclePublicKey
}
vehicle {
deviceSlots {
phone {
max
free
}
}
model
mobileConfiguration {
trimOption {
optionId
optionName
}
exteriorColorOption {
optionId
optionName
}
interiorColorOption {
optionId
optionName
}
driveSystemOption {
optionId
optionName
}
tonneauOption {
optionId
optionName
}
wheelOption {
optionId
optionName
}
driveSystemTowingDriveModes
driveSystemDriveModes
maxVehiclePower
}
maintenanceSchedule {
sections {
items {
description
isDue
}
serviceLifetime {
__typename
... on MaintenanceDistanceLimit {
km
mi
}
... on MaintenanceDateLimit {
year
}
}
}
}
}
settings {
name {
value
}
}
}
enrolledPhones {
vas {
vasPhoneId
publicKey
}
enrolled {
deviceType
deviceName
vehicleId
identityId
shortName
}
}
pendingInvites {
id
invitedByFirstName
role
status
vehicleId
vehicleModel
}
paymentMethods {
id
default
type
country
card {
lastFour
brand
expiration
}
}
}
query CurrentUserForLogin {
currentUser {
__typename
...CurrentUserFields
}
}
fragment CurrentUserFields on User {
id
settings {
distanceUnit {
value
timestamp
}
temperatureUnit {
value
timestamp
}
pressureUnit {
value
timestamp
}
}
firstName
lastName
primaryPhone {
phone
countryCode
national
formatted
}
address {
id
types
line1
line2
city
state
postalCode
country
state
}
hasNewsletterSubscription
hasSmsSubscription
hasNewsletterSmsSubscription
consumerReferralCode
consumerReferralCodeEligibility
registrationChannels {
type
}
vehicles {
id
owner
roles
vin
vas {
vasVehicleId
vehiclePublicKey
}
vehicle {
deviceSlots {
phone {
max
free
}
}
model
mobileConfiguration {
trimOption {
optionId
optionName
}
exteriorColorOption {
optionId
optionName
}
interiorColorOption {
optionId
optionName
}
driveSystemOption {
optionId
optionName
}
tonneauOption {
optionId
optionName
}
wheelOption {
optionId
optionName
}
driveSystemTowingDriveModes
driveSystemDriveModes
maxVehiclePower
}
maintenanceSchedule {
sections {
items {
description
isDue
}
serviceLifetime {
__typename
... on MaintenanceDistanceLimit {
km
mi
}
... on MaintenanceDateLimit {
year
}
}
}
}
}
settings {
name {
value
}
}
}
enrolledPhones {
vas {
vasPhoneId
publicKey
}
enrolled {
deviceType
deviceName
vehicleId
identityId
shortName
}
}
pendingInvites {
id
invitedByFirstName
role
status
vehicleId
vehicleModel
}
paymentMethods {
id
default
type
country
card {
lastFour
brand
expiration
}
}
}
query FileWrapper($locale: String, $slug: String) {
files: egFileWrapperCollection(
limit: 1
locale: $locale
where: { slug: $slug }
) {
items {
file {
url
size
sys {
publishedAt
}
}
}
}
}
query GearGuardLiveConfig($vehicleId: String!, $cameraId: Camera!) {
gearGuardLiveConfig(vehicleId: $vehicleId, cameraId: $cameraId) {
endpoint
channelArn
role
iceServers {
url
username
credential
ttl
}
}
}
query GeoInfo($input: GeoInfoAddressInput!) {
geoInfo(address: $input) {
geoLocation {
lat
lon
}
}
}
query GetAdventureFeed($locale: String!, $slug: String!) {
egAdventureFeedCollection(locale: $locale, limit: 1, where: { slug: $slug }) {
items {
slug
entryTitle
cardsCollection(limit: 15) {
items {
__typename
... on EgAdventureFeedStoryCard {
slug
entryTitle
title
subtitle
cover {
entryTitle
sourcesCollection(limit: 1) {
items {
entryTitle
media
auxiliaryData {
__typename
... on EgImageAuxiliaryData {
altText
}
}
}
}
}
slidesCollection {
items {
entryTitle
duration
theme
gradient
mediaCollection(limit: 2) {
items {
__typename
... on EgCloudinaryMedia {
entryTitle
sourcesCollection(limit: 1) {
items {
entryTitle
media
auxiliaryData {
__typename
... on EgImageAuxiliaryData {
altText
}
}
}
}
}
... on EgLottieAnimation {
entryTitle
altText
media
mode
}
}
}
}
}
}
... on EgAdventureFeedEditorialCard {
slug
entryTitle
title
subtitle
cover {
entryTitle
sourcesCollection(limit: 1) {
items {
entryTitle
media
auxiliaryData {
__typename
... on EgImageAuxiliaryData {
altText
}
}
}
}
}
sectionsCollection {
items {
entryTitle
theme
mediaCollection(limit: 2) {
items {
__typename
... on EgCloudinaryMedia {
entryTitle
sourcesCollection(limit: 1) {
items {
entryTitle
media
auxiliaryData {
__typename
... on EgImageAuxiliaryData {
altText
}
}
}
}
}
... on EgLottieAnimation {
entryTitle
altText
media
mode
}
}
}
}
}
}
}
}
}
}
}
query GetAvailableAndActivatedSubscriptions(
$vehicleId: String!
$locale: String!
) {
vehicleSubscriptions(vehicleId: $vehicleId, locale: $locale) {
__typename
... on ActivePaidVehicleSubscription {
productId
subscriptionId
billingCycle
nextBillDate
currency
description
name
price
benefits {
id
code
name
darkIconUrl
lightIconUrl
}
}
... on ActiveTrialVehicleSubscription {
productId
subscriptionId
currency
billingCycle
description
name
endDate
price
benefits {
id
code
name
darkIconUrl
lightIconUrl
}
}
... on ActivePaidTrialVehicleSubscription {
productId
subscriptionId
currency
billingCycle
description
name
endDate
nextBillDate
price
benefits {
id
code
name
darkIconUrl
lightIconUrl
}
}
... on CanceledPaidVehicleSubscription {
productId
subscriptionId
billingCycle
currency
description
name
endDate
price
benefits {
id
code
name
darkIconUrl
lightIconUrl
}
}
... on CanceledTrialVehicleSubscription {
productId
subscriptionId
currency
description
name
endDate
price
benefits {
id
code
name
darkIconUrl
lightIconUrl
}
}
... on AvailablePaidVehicleSubscription {
productId
billingCycle
currency
description
name
price
benefits {
id
code
name
darkIconUrl
lightIconUrl
}
}
}
}
query GetAvailableTimeslots($locationId: String!, $numOfDays: Int!) {
consumerAvailableTimeslots(locationId: $locationId, numOfDays: $numOfDays) {
activityId
endAt
startAt
timeslotId
timeslotInstance
timezone
}
}
query GetChargingSchedule($vehicleId: String!) {
getVehicle(id: $vehicleId) {
chargingSchedules {
startTime
duration
location {
latitude
longitude
}
amperage
enabled
weekDays
}
}
}
query GetChargingSessionStatus($jobId: ID!, $userId: ID!) {
getSessionStatus(jobId: $jobId, userId: $userId) {
status
errorMessage
errorId
sessionId
}
}
query GetCurrentUserAddresses {
currentUser {
backwardsCompatibleAddresses {
id
line1
line2
city
state
postalCode
country
types
}
}
}
query GetReverseGeocode($params: ReverseGeocodeQueryParams!) {
reverseGeocode(params: $params) {
id
name
location {
addressComponents {
type
shortName
longName
}
formattedAddress
coordinate {
latitude
longitude
}
navCoordinate {
latitude
longitude
}
}
distance
}
}
query GetShareFeedbackURL($vehicleId: String!) {
getShareFeedbackURL(vehicleId: $vehicleId)
}
query GetTrailerProfiles($getVehicleId: String!) {
getVehicle(id: $getVehicleId) {
trailerProfiles {
trailerDefault {
__typename
...TrailerProfileFields
}
trailer1 {
__typename
...TrailerProfileFields
}
trailer2 {
__typename
...TrailerProfileFields
}
trailer3 {
__typename
...TrailerProfileFields
}
}
}
}
fragment TrailerProfileFields on TrailerProfile {
rangeStatus
weight
name
}
query GetVehicle($getVehicleId: String) {
getVehicle(id: $getVehicleId) {
invitedUsers {
__typename
... on ProvisionedUser {
devices {
type
mappedIdentityId
id
hrid
deviceName
isPaired
isEnabled
}
firstName
lastName
roles
userId
}
... on UnprovisionedUser {
inviteId
status
}
}
}
}
query GetVehicleState($vehicleID: String!) {
vehicleState(id: $vehicleID) {
__typename
...vehicleStateFields
}
}
fragment vehicleStateFields on VehicleState {
geoLocation {
value
timeStamp
}
gnssLocation {
latitude
longitude
timeStamp
isAuthorized
}
gnssSpeed {
timeStamp
value
}
gnssAltitude {
timeStamp
value
}
gnssError {
timeStamp
positionVertical
positionHorizontal
speed
bearing
}
alarmSoundStatus {
timeStamp
value
}
timeToEndOfCharge {
timeStamp
value
}
doorFrontLeftLocked {
timeStamp
value
}
doorFrontLeftClosed {
timeStamp
value
}
doorFrontRightLocked {
timeStamp
value
}
doorFrontRightClosed {
timeStamp
value
}
doorRearLeftLocked {
timeStamp
value
}
doorRearLeftClosed {
timeStamp
value
}
doorRearRightLocked {
timeStamp
value
}
doorRearRightClosed {
timeStamp
value
}
windowFrontLeftClosed {
timeStamp
value
}
windowFrontRightClosed {
timeStamp
value
}
windowFrontLeftCalibrated {
timeStamp
value
}
windowFrontRightCalibrated {
timeStamp
value
}
windowRearLeftCalibrated {
timeStamp
value
}
windowRearRightCalibrated {
timeStamp
value
}
windowsNextAction {
timeStamp
value
}
closureFrunkLocked {
timeStamp
value
}
closureFrunkClosed {
timeStamp
value
}
closureFrunkNextAction {
timeStamp
value
}
gearGuardLocked {
timeStamp
value
}
closureLiftgateLocked {
timeStamp
value
}
closureLiftgateClosed {
timeStamp
value
}
closureLiftgateNextAction {
timeStamp
value
}
windowRearLeftClosed {
timeStamp
value
}
windowRearRightClosed {
timeStamp
value
}
closureSideBinLeftLocked {
timeStamp
value
}
closureSideBinLeftClosed {
timeStamp
value
}
closureSideBinRightLocked {
timeStamp
value
}
closureSideBinRightClosed {
timeStamp
value
}
closureSideBinLeftNextAction {
timeStamp
value
}
closureSideBinRightNextAction {
timeStamp
value
}
closureTailgateLocked {
timeStamp
value
}
closureTailgateClosed {
timeStamp
value
}
closureTailgateNextAction {
timeStamp
value
}
closureTonneauLocked {
timeStamp
value
}
closureTonneauClosed {
timeStamp
value
}
wiperFluidState {
timeStamp
value
}
powerState {
timeStamp
value
}
batteryHvThermalEventPropagation {
timeStamp
value
}
twelveVoltBatteryHealth {
timeStamp
value
}
vehicleMileage {
timeStamp
value
}
brakeFluidLow {
timeStamp
value
}
gearStatus {
timeStamp
value
}
batteryLevel {
timeStamp
value
}
batteryCellType {
timeStamp
value
}
chargerState {
timeStamp
value
}
batteryLimit {
timeStamp
value
}
batteryNeedsLfpCalibration {
timeStamp
value
}
remoteChargingAvailable {
timeStamp
value
}
batteryHvThermalEvent {
timeStamp
value
}
rangeThreshold {
timeStamp
value
}
distanceToEmpty {
timeStamp
value
}
otaAvailableVersionGitHash {
timeStamp
value
}
otaAvailableVersion {
timeStamp
value
}
otaCurrentVersionGitHash {
timeStamp
value
}
otaCurrentVersion {
timeStamp
value
}
otaDownloadProgress {
timeStamp
value
}
otaInstallDuration {
timeStamp
value
}
otaInstallProgress {
timeStamp
value
}
otaInstallReady {
timeStamp
value
}
otaInstallTime {
timeStamp
value
}
otaInstallType {
timeStamp
value
}
otaStatus {
timeStamp
value
}
otaCurrentStatus {
timeStamp
value
}
cabinClimateInteriorTemperature {
timeStamp
value
}
cabinPreconditioningStatus {
timeStamp
value
}
cabinPreconditioningType {
timeStamp
value
}
petModeStatus {
timeStamp
value
}
petModeTemperatureStatus {
timeStamp
value
}
cabinClimateDriverTemperature {
timeStamp
value
}
gearGuardVideoStatus {
timeStamp
value
}
gearGuardVideoMode {
timeStamp
value
}
gearGuardVideoTermsAccepted {
timeStamp
value
}
defrostDefogStatus {
timeStamp
value
}
steeringWheelHeat {
timeStamp
value
}
seatFrontLeftHeat {
timeStamp
value
}
seatFrontRightHeat {
timeStamp
value
}
seatRearLeftHeat {
timeStamp
value
}
seatRearRightHeat {
timeStamp
value
}
seatThirdRowLeftHeat {
timeStamp
value
}
seatThirdRowRightHeat {
timeStamp
value
}
chargerStatus {
timeStamp
value
}
chargingDisabledAC {
timeStamp
value
}
chargingDisabledAll {
timeStamp
value
}
seatFrontLeftVent {
timeStamp
value
}
seatFrontRightVent {
timeStamp
value
}
chargerDerateStatus {
timeStamp
value
}
driveMode {
timeStamp
value
}
serviceMode {
timeStamp
value
}
trailerStatus {
timeStamp
value
}
btmFfHardwareFailureStatus {
timeStamp
value
}
btmIcHardwareFailureStatus {
timeStamp
value
}
btmLfdHardwareFailureStatus {
timeStamp
value
}
btmOcHardwareFailureStatus {
timeStamp
value
}
btmRfHardwareFailureStatus {
timeStamp
value
}
btmRfdHardwareFailureStatus {
timeStamp
value
}
carWashMode {
timeStamp
value
}
chargePortState {
timeStamp
value
}
chargingTimeEstimationValidity {
timeStamp
value
}
limitedAccelCold {
timeStamp
value
}
limitedRegenCold {
timeStamp
value
}
rearHitchStatus {
timeStamp
value
}
}
query LegalPage($slug: String, $locale: String) {
pageData: egLegalPageCollection(
limit: 1
where: { AND: [{ slug_exists: true }, { slug: $slug }] }
locale: $locale
) {
items {
entryTitle
}
}
}
query Places($params: PlacesQueryParams!) {
places(params: $params) {
dataProvider
results {
id
name
distance
location {
addressComponents {
type
shortName
longName
}
coordinate {
latitude
longitude
}
navCoordinate {
latitude
longitude
}
formattedAddress
}
driveDetails {
detourDistance
detourDuration
driveDistance
driveDuration
}
}
}
}
query SearchPlaces($input: SearchPlacesInput!) {
searchPlaces(input: $input) {
data {
address {
city
state
street
}
distance
locationName
locationId
}
}
}
query SupportedFeatures {
currentUser {
vehicles {
id
vehicle {
vehicleState {
supportedFeatures {
name
status
}
}
}
}
}
}
query chargingSites($filter: ChargingSiteQueryParams!) {
chargingSites(filter: $filter) {
id
networkId
location {
latitude
longitude
}
maxKw
totalCount
availableCount
outOfOrder
unknownAvailability
adapterRequired
compatible
openNow
}
}
query chatSession {
getLatestChatSession {
status
}
}
query checkPasswordStrength($password: String!) {
checkPasswordStrength(password: $password) {
score
}
}
query defaultPaymentMethods {
payment {
getPaymentMethods {
default
card {
brand
lastFour
}
}
}
}
query delivery($orderId: ID!) {
delivery(orderId: $orderId) {
status
carrier
deliveryAddress {
addressLine1
addressLine2
city
state
country
zipcode
}
appointmentDetails {
appointmentId
startDateTime
endDateTime
timeZone
}
vehicleVIN
}
}
query getAppointmentInfo($id: String!) {
workOrders: queryByRivianId(id: $id) {
id
createdAt
assetId
updatedAt
completedAt
status
subStatus
customerRivId
technicianRivId
orderDetails {
currency
locale
total
subtotal
discount_total
tax_total
locale
}
serviceCenterId
totalLaborTime
serviceRequestDetails {
id
assignedTo {
first
last
}
repairDetails {
__typename
...RepairDetailFields
}
status
}
workOrderType
technicianAppointmentId
technicianAppointmentDateTime {
start
end
}
technicianLocation {
__typename
...ServiceAddressFields
}
ingressAppointmentDateTime {
start
end
}
ingressLocation {
__typename
locationType
...ServiceAddressFields
}
egressAppointmentDateTime {
start
end
}
egressLocation {
__typename
locationType
...ServiceAddressFields
}
alternativeSupport
vsContactChannel
vsContactAddress
oneSpanLink
feedbackSubmitted
}
}
fragment RepairDetailFields on ServiceRequestRepairDetails {
serviceCatalogDetail {
laborCode
serviceSystem
serviceSubsystem
}
}
fragment ServiceAddressFields on ServiceAddress {
address1
address2
city
country
postalCode
state
}
query getEstimatedRange(
$vehicleId: String!
$startSoc: Float!
$driveMode: String
$trailerProfile: String
) {
getVehicle(id: $vehicleId) {
estimatedRange(
startSoc: $startSoc
driveMode: $driveMode
trailerProfile: $trailerProfile
)
}
}
query getInVehicleTransactionsAllowed($vehicleId: String!) {
inVehicleTransactionsAllowed(vehicleId: $vehicleId)
}
query getLiveSessionData($vehicleId: ID, $transactionId: ID, $chargerId: ID) {
getLiveSessionData(
vehicleId: $vehicleId
transactionId: $transactionId
chargerId: $chargerId
) {
isRivianCharger
isFreeSession
vehicleChargerState {
value
updatedAt
}
chargerId
startTime
timeElapsed
timeRemaining {
value
updatedAt
}
kilometersChargedPerHour {
value
updatedAt
}
power {
value
updatedAt
}
rangeAddedThisSession {
value
updatedAt
}
totalChargedEnergy {
value
updatedAt
}
timeRemaining {
value
updatedAt
}
vehicleChargerState {
value
updatedAt
}
kilometersChargedPerHour {
value
updatedAt
}
currentPrice
}
}
query getLiveSessionHistory($vehicleId: ID) {
getLiveSessionHistory(vehicleId: $vehicleId) {
chartData {
kw
time
}
}
}
query getMobilePaymentOptions {
currentUser {
paymentMethods {
id
default
type
country
card {
lastFour
brand
expiration
}
}
}
}
query getNonRivianUserSession {
getNonRivianUserSession {
chargerId
transactionId
isRivianCharger
vehicleChargerState {
value
updatedAt
}
}
}
query getOTAUpdateDetails($vehicleId: String!) {
getVehicle(id: $vehicleId) {
availableOTAUpdateDetails {
url
version
locale
}
currentOTAUpdateDetails {
url
version
locale
}
}
}
query getRegisteredWallboxes {
getRegisteredWallboxes {
wallboxId
userId
wifiId
name
linked
latitude
longitude
chargingStatus
power
currentVoltage
currentAmps
softwareVersion
model
serialNumber
maxPower
maxVoltage
maxAmps
}
}
query getSavedTrips {
getSavedTrips {
id
name
startingSOC
stops {
name
location {
latitude
longitude
}
targetArrivalSOCPercent
type
placeId {
value
dataProvider
}
}
driveMode
networkPreferences {
networkId
preference
}
trailerProfile
avoidAdapterRequired
createdAt
updatedAt
departureTime
}
}
query getServiceRequests($input: ConsumerServiceRequestsInput!) {
consumerServiceRequests(input: $input) {
total
}
}
query getUserGuides {
currentUser {
id
vehicles {
id
vehicle {
userGuide {
slug
locale
}
}
}
}
}
query getUserSubscriptions {
currentUser {
hasNewsletterSubscription
hasSmsSubscription
hasNewsletterSmsSubscription
}
}
query getVehicleImages(
$extension: String!
$resolution: String!
$versionForVehicle: String!
$versionForPreOrdere: String!
) {
getVehicleOrderMobileImages(
resolution: $resolution
extension: $extension
version: $versionForPreOrdere
) {
orderId
url
resolution
size
design
placement
overlays {
url
overlay
zIndex
}
}
getVehicleMobileImages(
resolution: $resolution
extension: $extension
version: $versionForVehicle
) {
vehicleId
url
resolution
size
design
placement
overlays {
url
overlay
zIndex
}
}
}
query getWallboxStatus($wallboxId: String!) {
getWallboxStatus(wallboxId: $wallboxId) {
wallboxId
userId
wifiId
name
linked
latitude
longitude
chargingStatus
power
currentVoltage
currentAmps
softwareVersion
model
serialNumber
maxPower
maxVoltage
maxAmps
}
}
query locales {
locales {
localeCode
fullRegionName
shortRegionName
localeName
}
}
query planTrip(
$origin: CoordinatesInput!
$destination: CoordinatesInput!
$bearing: Float!
$vehicleId: String!
$startingSoc: Float!
$startingRangeMeters: Float!
$targetArrivalSocPercent: Float
$driveMode: String
$networkPreferences: [NetworkPreference!]
) {
planTrip(
bearing: $bearing
vehicleId: $vehicleId
startingSoc: $startingSoc
origin: $origin
destination: $destination
startingRangeMeters: $startingRangeMeters
targetArrivalSocPercent: $targetArrivalSocPercent
driveMode: $driveMode
networkPreferences: $networkPreferences
) {
routes {
routeResponse
destinationReached
totalChargingDuration
arrivalSOC
arrivalReachableDistance
waypoints {
waypointType
entityId
name
latitude
longitude
maxPower
chargeDuration
arrivalSOC
arrivalReachableDistance
departureSOC
departureReachableDistance
}
energyConsumptionOnLeg
batteryEmptyToDestinationDistance
batteryEmptyLocationLatitude
batteryEmptyLocationLongitude
}
tripPlanStatus
chargeStationsAvailable
socBelowLimit
}
}
query planTripWithMultiStop(
$waypoints: [CoordinatesInput!]!
$originBearing: Float!
$vehicleId: String!
$startingSoc: Float!
$startingRangeMeters: Float
$targetArrivalSocPercent: Float
$driveMode: String
$networkPreferences: [NetworkPreference!]
$trailerProfile: String
$avoidAdapterRequired: Boolean
$supportedConnectorTypes: [String!]
) {
planTripMultiStop(
originBearing: $originBearing
vehicleId: $vehicleId
startingSoc: $startingSoc
waypoints: $waypoints
startingRangeMeters: $startingRangeMeters
targetArrivalSocPercent: $targetArrivalSocPercent
driveMode: $driveMode
networkPreferences: $networkPreferences
trailerProfile: $trailerProfile
avoidAdapterRequired: $avoidAdapterRequired
supportedConnectorTypes: $supportedConnectorTypes
) {
routes {
routeResponse
destinationReached
totalChargingDuration
arrivalSOC
arrivalReachableDistance
waypoints {
waypointType
entityId
name
latitude
longitude
maxPower
chargeDuration
arrivalSOC
arrivalReachableDistance
departureSOC
departureReachableDistance
adapterRequired
isSystemAdded
}
energyConsumptionOnLeg
batteryEmptyToDestinationDistance
batteryEmptyLocationLatitude
batteryEmptyLocationLongitude
}
tripPlanStatus
chargeStationsAvailable
socBelowLimit
}
}
query vehicleOrders {
orders(
input: {
orderTypes: [PRE_ORDER, VEHICLE]
pageInfo: { from: 0, size: 10000 }
}
) {
data {
id
state
fulfillmentSummaryStatus
items {
sku
}
consumerStatuses {
isConsumerFlowComplete
}
}
}
}
subscription chargingSession($vehicleID: String!) {
chargingSession(vehicleId: $vehicleID) {
chartData {
soc
powerKW
startTime
endTime
timeEstimationValidityStatus
vehicleChargerState
}
liveData {
powerKW
kilometersChargedPerHour
rangeAddedThisSession
totalChargedEnergy
timeElapsed
timeRemaining
price
currency
isFreeSession
}
}
}
subscription otaInstallSchedules($vehicleId: String!) {
otaInstallSchedules(vehicleId: $vehicleId) {
payload
sequenceNumber
}
}
subscription otaInstallState($vehicleId: String!) {
otaInstallState(vehicleId: $vehicleId) {
payload
sequenceNumber
}
}
subscription tirePressureState($vehicleID: String!) {
vehicleState(id: $vehicleID) {
tirePressureStatusFrontLeft {
timeStamp
value
}
tirePressureStatusFrontRight {
timeStamp
value
}
tirePressureStatusRearLeft {
timeStamp
value
}
tirePressureStatusRearRight {
timeStamp
value
}
tirePressureFrontLeft {
timeStamp
value
}
tirePressureFrontRight {
timeStamp
value
}
tirePressureRearLeft {
timeStamp
value
}
tirePressureRearRight {
timeStamp
value
}
}
}
subscription vehicleCloudConnection($vehicleID: String!) {
vehicleCloudConnection(id: $vehicleID) {
isOnline
lastSync
}
}
subscription vehicleCommandState($id: String!) {
vehicleCommandState(id: $id) {
__typename
...vehicleCommandStateFields
}
}
fragment vehicleCommandStateFields on GetVehicleCommandState {
id
command
createdAt
state
responseCode
statusCode
}
subscription vehicleDepartureSchedules($vehicleId: String!) {
vehicleDepartureSchedules(vehicleId: $vehicleId) {
id
name
isEnabled
occurrence {
__typename
... on RepeatsWeekly {
days
startsAtMin
skippedOn
}
}
departureSettings {
__typename
... on DepartureSettings {
shouldOverrideChargeSchedule
comfortSettings {
__typename
... on ComfortSettings {
surfaceHeatVentLevels {
__typename
... on SurfaceHeatVentLevels {
frontLeftSeat
frontRightSeat
rearLeftSeat
rearRightSeat
steeringWheel
}
}
cabinTempCelsius
frontDefogDefrost
}
}
}
}
}
}
subscription vehicleGeofences($vehicleId: String!) {
vehicleGeofences(vehicleId: $vehicleId) {
payload
sequenceNumber
}
}
subscription vehicleState($vehicleID: String!) {
vehicleState(id: $vehicleID) {
__typename
...vehicleStateFields
}
}
fragment vehicleStateFields on VehicleState {
geoLocation {
value
timeStamp
}
gnssLocation {
latitude
longitude
timeStamp
isAuthorized
}
gnssSpeed {
timeStamp
value
}
gnssAltitude {
timeStamp
value
}
gnssError {
timeStamp
positionVertical
positionHorizontal
speed
bearing
}
alarmSoundStatus {
timeStamp
value
}
timeToEndOfCharge {
timeStamp
value
}
doorFrontLeftLocked {
timeStamp
value
}
doorFrontLeftClosed {
timeStamp
value
}
doorFrontRightLocked {
timeStamp
value
}
doorFrontRightClosed {
timeStamp
value
}
doorRearLeftLocked {
timeStamp
value
}
doorRearLeftClosed {
timeStamp
value
}
doorRearRightLocked {
timeStamp
value
}
doorRearRightClosed {
timeStamp
value
}
windowFrontLeftClosed {
timeStamp
value
}
windowFrontRightClosed {
timeStamp
value
}
windowFrontLeftCalibrated {
timeStamp
value
}
windowFrontRightCalibrated {
timeStamp
value
}
windowRearLeftCalibrated {
timeStamp
value
}
windowRearRightCalibrated {
timeStamp
value
}
windowsNextAction {
timeStamp
value
}
closureFrunkLocked {
timeStamp
value
}
closureFrunkClosed {
timeStamp
value
}
closureFrunkNextAction {
timeStamp
value
}
gearGuardLocked {
timeStamp
value
}
closureLiftgateLocked {
timeStamp
value
}
closureLiftgateClosed {
timeStamp
value
}
closureLiftgateNextAction {
timeStamp
value
}
windowRearLeftClosed {
timeStamp
value
}
windowRearRightClosed {
timeStamp
value
}
closureSideBinLeftLocked {
timeStamp
value
}
closureSideBinLeftClosed {
timeStamp
value
}
closureSideBinRightLocked {
timeStamp
value
}
closureSideBinRightClosed {
timeStamp
value
}
closureSideBinLeftNextAction {
timeStamp
value
}
closureSideBinRightNextAction {
timeStamp
value
}
closureTailgateLocked {
timeStamp
value
}
closureTailgateClosed {
timeStamp
value
}
closureTailgateNextAction {
timeStamp
value
}
closureTonneauLocked {
timeStamp
value
}
closureTonneauClosed {
timeStamp
value
}
wiperFluidState {
timeStamp
value
}
powerState {
timeStamp
value
}
batteryHvThermalEventPropagation {
timeStamp
value
}
twelveVoltBatteryHealth {
timeStamp
value
}
vehicleMileage {
timeStamp
value
}
brakeFluidLow {
timeStamp
value
}
gearStatus {
timeStamp
value
}
batteryLevel {
timeStamp
value
}
batteryCellType {
timeStamp
value
}
chargerState {
timeStamp
value
}
batteryLimit {
timeStamp
value
}
batteryNeedsLfpCalibration {
timeStamp
value
}
remoteChargingAvailable {
timeStamp
value
}
batteryHvThermalEvent {
timeStamp
value
}
rangeThreshold {
timeStamp
value
}
distanceToEmpty {
timeStamp
value
}
otaAvailableVersionGitHash {
timeStamp
value
}
otaAvailableVersion {
timeStamp
value
}
otaCurrentVersionGitHash {
timeStamp
value
}
otaCurrentVersion {
timeStamp
value
}
otaDownloadProgress {
timeStamp
value
}
otaInstallDuration {
timeStamp
value
}
otaInstallProgress {
timeStamp
value
}
otaInstallReady {
timeStamp
value
}
otaInstallTime {
timeStamp
value
}
otaInstallType {
timeStamp
value
}
otaStatus {
timeStamp
value
}
otaCurrentStatus {
timeStamp
value
}
cabinClimateInteriorTemperature {
timeStamp
value
}
cabinPreconditioningStatus {
timeStamp
value
}
cabinPreconditioningType {
timeStamp
value
}
petModeStatus {
timeStamp
value
}
petModeTemperatureStatus {
timeStamp
value
}
cabinClimateDriverTemperature {
timeStamp
value
}
gearGuardVideoStatus {
timeStamp
value
}
gearGuardVideoMode {
timeStamp
value
}
gearGuardVideoTermsAccepted {
timeStamp
value
}
defrostDefogStatus {
timeStamp
value
}
steeringWheelHeat {
timeStamp
value
}
seatFrontLeftHeat {
timeStamp
value
}
seatFrontRightHeat {
timeStamp
value
}
seatRearLeftHeat {
timeStamp
value
}
seatRearRightHeat {
timeStamp
value
}
seatThirdRowLeftHeat {
timeStamp
value
}
seatThirdRowRightHeat {
timeStamp
value
}
chargerStatus {
timeStamp
value
}
chargingDisabledAC {
timeStamp
value
}
chargingDisabledAll {
timeStamp
value
}
seatFrontLeftVent {
timeStamp
value
}
seatFrontRightVent {
timeStamp
value
}
chargerDerateStatus {
timeStamp
value
}
driveMode {
timeStamp
value
}
serviceMode {
timeStamp
value
}
trailerStatus {
timeStamp
value
}
btmFfHardwareFailureStatus {
timeStamp
value
}
btmIcHardwareFailureStatus {
timeStamp
value
}
btmLfdHardwareFailureStatus {
timeStamp
value
}
btmOcHardwareFailureStatus {
timeStamp
value
}
btmRfHardwareFailureStatus {
timeStamp
value
}
btmRfdHardwareFailureStatus {
timeStamp
value
}
carWashMode {
timeStamp
value
}
chargePortState {
timeStamp
value
}
chargingTimeEstimationValidity {
timeStamp
value
}
limitedAccelCold {
timeStamp
value
}
limitedRegenCold {
timeStamp
value
}
rearHitchStatus {
timeStamp
value
}
}
subscription vehicleStateWidget($vehicleID: String!) {
vehicleState(id: $vehicleID) {
__typename
...vehicleStateFields
}
}
fragment vehicleStateFields on VehicleState {
geoLocation {
value
timeStamp
}
gnssLocation {
latitude
longitude
timeStamp
isAuthorized
}
gnssSpeed {
timeStamp
value
}
gnssAltitude {
timeStamp
value
}
gnssError {
timeStamp
positionVertical
positionHorizontal
speed
bearing
}
alarmSoundStatus {
timeStamp
value
}
timeToEndOfCharge {
timeStamp
value
}
doorFrontLeftLocked {
timeStamp
value
}
doorFrontLeftClosed {
timeStamp
value
}
doorFrontRightLocked {
timeStamp
value
}
doorFrontRightClosed {
timeStamp
value
}
doorRearLeftLocked {
timeStamp
value
}
doorRearLeftClosed {
timeStamp
value
}
doorRearRightLocked {
timeStamp
value
}
doorRearRightClosed {
timeStamp
value
}
windowFrontLeftClosed {
timeStamp
value
}
windowFrontRightClosed {
timeStamp
value
}
windowFrontLeftCalibrated {
timeStamp
value
}
windowFrontRightCalibrated {
timeStamp
value
}
windowRearLeftCalibrated {
timeStamp
value
}
windowRearRightCalibrated {
timeStamp
value
}
windowsNextAction {
timeStamp
value
}
closureFrunkLocked {
timeStamp
value
}
closureFrunkClosed {
timeStamp
value
}
closureFrunkNextAction {
timeStamp
value
}
gearGuardLocked {
timeStamp
value
}
closureLiftgateLocked {
timeStamp
value
}
closureLiftgateClosed {
timeStamp
value
}
closureLiftgateNextAction {
timeStamp
value
}
windowRearLeftClosed {
timeStamp
value
}
windowRearRightClosed {
timeStamp
value
}
closureSideBinLeftLocked {
timeStamp
value
}
closureSideBinLeftClosed {
timeStamp
value
}
closureSideBinRightLocked {
timeStamp
value
}
closureSideBinRightClosed {
timeStamp
value
}
closureSideBinLeftNextAction {
timeStamp
value
}
closureSideBinRightNextAction {
timeStamp
value
}
closureTailgateLocked {
timeStamp
value
}
closureTailgateClosed {
timeStamp
value
}
closureTailgateNextAction {
timeStamp
value
}
closureTonneauLocked {
timeStamp
value
}
closureTonneauClosed {
timeStamp
value
}
wiperFluidState {
timeStamp
value
}
powerState {
timeStamp
value
}
batteryHvThermalEventPropagation {
timeStamp
value
}
twelveVoltBatteryHealth {
timeStamp
value
}
vehicleMileage {
timeStamp
value
}
brakeFluidLow {
timeStamp
value
}
gearStatus {
timeStamp
value
}
batteryLevel {
timeStamp
value
}
batteryCellType {
timeStamp
value
}
chargerState {
timeStamp
value
}
batteryLimit {
timeStamp
value
}
batteryNeedsLfpCalibration {
timeStamp
value
}
remoteChargingAvailable {
timeStamp
value
}
batteryHvThermalEvent {
timeStamp
value
}
rangeThreshold {
timeStamp
value
}
distanceToEmpty {
timeStamp
value
}
otaAvailableVersionGitHash {
timeStamp
value
}
otaAvailableVersion {
timeStamp
value
}
otaCurrentVersionGitHash {
timeStamp
value
}
otaCurrentVersion {
timeStamp
value
}
otaDownloadProgress {
timeStamp
value
}
otaInstallDuration {
timeStamp
value
}
otaInstallProgress {
timeStamp
value
}
otaInstallReady {
timeStamp
value
}
otaInstallTime {
timeStamp
value
}
otaInstallType {
timeStamp
value
}
otaStatus {
timeStamp
value
}
otaCurrentStatus {
timeStamp
value
}
cabinClimateInteriorTemperature {
timeStamp
value
}
cabinPreconditioningStatus {
timeStamp
value
}
cabinPreconditioningType {
timeStamp
value
}
petModeStatus {
timeStamp
value
}
petModeTemperatureStatus {
timeStamp
value
}
cabinClimateDriverTemperature {
timeStamp
value
}
gearGuardVideoStatus {
timeStamp
value
}
gearGuardVideoMode {
timeStamp
value
}
gearGuardVideoTermsAccepted {
timeStamp
value
}
defrostDefogStatus {
timeStamp
value
}
steeringWheelHeat {
timeStamp
value
}
seatFrontLeftHeat {
timeStamp
value
}
seatFrontRightHeat {
timeStamp
value
}
seatRearLeftHeat {
timeStamp
value
}
seatRearRightHeat {
timeStamp
value
}
seatThirdRowLeftHeat {
timeStamp
value
}
seatThirdRowRightHeat {
timeStamp
value
}
chargerStatus {
timeStamp
value
}
chargingDisabledAC {
timeStamp
value
}
chargingDisabledAll {
timeStamp
value
}
seatFrontLeftVent {
timeStamp
value
}
seatFrontRightVent {
timeStamp
value
}
chargerDerateStatus {
timeStamp
value
}
driveMode {
timeStamp
value
}
serviceMode {
timeStamp
value
}
trailerStatus {
timeStamp
value
}
btmFfHardwareFailureStatus {
timeStamp
value
}
btmIcHardwareFailureStatus {
timeStamp
value
}
btmLfdHardwareFailureStatus {
timeStamp
value
}
btmOcHardwareFailureStatus {
timeStamp
value
}
btmRfHardwareFailureStatus {
timeStamp
value
}
btmRfdHardwareFailureStatus {
timeStamp
value
}
carWashMode {
timeStamp
value
}
chargePortState {
timeStamp
value
}
chargingTimeEstimationValidity {
timeStamp
value
}
limitedAccelCold {
timeStamp
value
}
limitedRegenCold {
timeStamp
value
}
rearHitchStatus {
timeStamp
value
}
}