Statistics: Total emissions
Fetches the sum of emissions for a given project. You can filter which emissions you'd like to sum using our statistics parameters.
Authorization
API Key Your API Key must be provided as a bearer token. To do this, create an 'Authorization' header with a value of 'Bearer {your-api-key}' (e.g. "Authorization: Bearer xcvboy23idvh").
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request format for a Thrust Calculator statistics endpoints.
Response Body
application/json
curl -X GET "https://example.com/projects/string/statistics/total-emissions" \ -H "Content-Type: application/json" \ -d '{ "start": "2023-01-01", "end": "2023-01-01", "employee_id": "EMP1234", "grouping_type": "cost-center", "grouping": "Marketing", "grouping_include_sub_groups": true }'{ "tonnes_of_co2": 0, "equivalencies": [ { "type": "string", "values": [ "string" ], "amount": 0 } ]}