Skip to main content
GET
Get Consumption

Get Consumption

Retrieve the full details of a single vehicle consumption record, enriched with CO2e emission calculations.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
UUID of the vehicle consumption record

Response

string
Consumption record UUID
string
UUID of the vehicle this consumption belongs to
number | null
Fuel quantity consumed
date
Start date of the consumption period
date
End date of the consumption period
string
Record status: active, loading, error
object
Fuel unit (id, name, type)
number | null
Total CO2 equivalent emissions in kg
number | null
Scope 3 (upstream) CO2e from fuel generation
number | null
Scope 1 (direct) CO2e from fuel combustion
number | null
Total energy in kWh
string | null
Vehicle license plate
object | null
Vehicle details (id, name, organization)
object | null
User who uploaded the record
array[string] | null
Error details when status is error

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: The vehicle consumption record does not exist or belongs to another organization

Calculation Steps

View detailed emission calculation breakdown

List Consumptions

Browse all consumptions for a vehicle