Retrieve a delivery-emissions estimate
Retrieves a temporary estimate by calculation_id.
Unassociated estimates expire after 24 hours. After association, reporting uses the immutable association snapshot. The temporary estimate record may later be unavailable.
Authorizations
Canonical server-to-server API key header name: X-API-Key.
Partner customer applications must not use this credential.
Examples must never include raw API secrets.
Headers
Optional request correlation header. If omitted, Akhdar generates one. Every success
and error response includes X-Correlation-ID. Error payloads include correlation_id.
Non-PII request correlation identifier.
8 - 128^[A-Za-z0-9._:-]+$"corr_7c2e9b1a4d6f8e0c"
Path Parameters
Akhdar-generated emissions estimate identifier.
8 - 128^[A-Za-z0-9._:-]+$"calc_01HZX4K9M2Q8R7N6P5T4V3W2X1"
Response
Estimate found for the authenticated partner and environment.
Akhdar-generated emissions estimate identifier.
8 - 128^[A-Za-z0-9._:-]+$"calc_01HZX4K9M2Q8R7N6P5T4V3W2X1"
Stable non-PII partner order correlation reference. Enforces one confirmed contribution per partner order within partner and environment. Must not contain direct personal data.
1 - 128^[A-Za-z0-9._:-]+$"ord_9f3c2a71"
Estimate lifecycle statuses.
calculated: valid estimate not yet associatedassociated: valid association snapshot createdexpired: unassociated estimate exceeded the 24-hour windowdiscarded: unassociated estimate invalidated before association Do not expose these statuses in customer-facing UI.
calculated, associated, expired, discarded "calculated"
Partner-supplied estimated route distance in kilometres as a decimal string. Validation rules:
- Positive decimal-string values only
0 < distance_km <= 200- Maximum three decimal places
- Maximum value exactly
200 200,200.0,200.00, and200.000are valid- Values above
200are invalid - Reject excess precision rather than silently round
Trailing-zero numeric equivalence is preserved for values within range (
5,5.0,5.000).
^(?:0\.(?!0+$)\d{1,3}|(?:[1-9]|[1-9]\d|1\d{2})(?:\.\d{1,3})?|200(?:\.0{1,3})?)$"7.400"
Distance unit. Kilometres only.
km "km"
Exact supported vehicle categories. Aliases, inferred vehicles, and defaults are not accepted.
motorcycle_gasoline, car_gasoline "motorcycle_gasoline"
Methodology version identifier.
"DEM-WTW-v1.0.0"
Vehicle-catalog version identifier.
"DVC-v1.0.0"
Emission-factor version identifier used for this estimate.
"EF-DESNZ-2026-MOTORCYCLE-GASOLINE-AVG-WTW-v1.0.0"
Base-10 decimal value encoded as a string to preserve deterministic precision. Implementations must not rely on binary floating-point for calculation storage.
^-?\d+(\.\d+)?$"1.059902"
Delivery-emissions lifecycle boundary.
well_to_wheel "well_to_wheel"
Base-10 decimal value encoded as a string to preserve deterministic precision. Implementations must not rely on binary floating-point for calculation storage.
^-?\d+(\.\d+)?$"1.059902"
Base-10 decimal value encoded as a string to preserve deterministic precision. Implementations must not rely on binary floating-point for calculation storage.
^-?\d+(\.\d+)?$"1.059902"
"Estimated from distance and vehicle type.""تقديرية حسب المسافة ونوع المركبة."ISO 8601 UTC timestamp.
"2026-08-03T12:00:00.000Z"
Temporary unassociated estimate expiry timestamp (24-hour window).
"2026-08-03T12:00:00.000Z"
Partner API environment derived from authenticated credentials.
sandbox, production "sandbox"

