Segments
What a segment is and how it produces a CO₂e emission.
A segment is something that creates a CO₂e emission. It's the basic unit of data in the Thrust Calculator: a single flight, hotel stay, car rental, or other travel activity that belongs to a project.
Different segment types accept different data — see Segment payload fields for the base fields every segment shares, the location object, and each type's own fields. For the validation error codes returned when a payload is wrong, see Invalid segment codes.
Adding a segment
When you add a segment to a project, the response returns:
- The segment's ID.
- The tonnes of CO₂e generated by the segment.
You can add segments individually, or as a batch of up to 100 in a single request.