POST /v1/flights:computeScope3DetailedFlightEmissions
Changed onRetrieves detailed GHG emissions estimates for a set of flight segments for Scope 3 reporting. The response will contain all entries that match the input Scope3FlightSegment flight segments, in the same order provided. For each flight segment, the estimates will be computed using the following cascading logic (using the first one that is available): 1. TIM-based emissions given origin, destination, carrier, flightNumber, departureDate, and cabinClass. 2. Typical flight emissions given origin, destination, year in departureDate, and cabinClass. 3. Distance-based emissions calculated using distanceKm, year in departureDate, and cabinClass. Detailed Flight Emissions are transparent per-passenger greenhouse gas emission estimates supplemented by comprehensive metadata detailing the calculation methodology, emissions breakdown, contrail impact, and data provenance. They are available only for Tier 1 emissions (TIM-based). Details on how emission estimates are computed are in GitHub. If there is a future flight requested in this calendar year, we do not support Tier 1 emissions and will fallback to Tier 2 or 3 emissions. If the requested future flight is not in this calendar year, we will return an empty response. We recommend that for future flights, computeFlightEmissions API is used instead. If there are no estimates available for a certain flight with any of the three methods, the response will return a Scope3FlightWithDetailedEmissions object with empty emission fields. The request will still be considered successful. Generally, missing emissions estimates occur when the flight is unknown to the server (e.g. no specific flight exists, or typical flight emissions are not available for the requested pair). The request will fail with an INVALID_ARGUMENT error with a message describing the issue if: * The request contains more than 100 flight legs. * The input flight leg is missing one or more identifiers. For example, missing origin/destination without a valid distance for TIM-based or typical flight emissions, or missing distance for distance-based emissions. * The flight date is before 2019 (Scope 3 data is only available for 2019 and after). * The flight distance is 0 or lower. * Missing cabin class. Because the request is processed with fallback logic, it is possible that misconfigured requests return valid emissions estimates using fallback methods. Consequently, one should check the source of the returned emissions (source) to confirm the results are as expected.
Request
- Base URLhttps://travelimpactmodel.googleapis.com
- Authnone declared
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Request body
Input definition for the ComputeScope3DetailedFlightEmissions request.
Required. Flights to return detailed emission estimates for.
Travel Impact Model version. For more information about the model versioning see GitHub.
Response
Successful response
Output definition for the ComputeScope3DetailedFlightEmissions response.
List of flight segments with detailed emission estimates.
Travel Impact Model version. For more information about the model versioning see GitHub.
Changes
- info
endpoint added
- info