Environmental Footprint API
The Environmental Footprint API offers tools that help monitor your environmental impact using Scaleway's services.
Calculation
Refer to our dedicated Environmental Footprint calculation breakdownOpen in new context documentation page for more information on how we measure your environmental footprint.
Quickstart
-
Configure your environment variables.
Code -
Run the query below to retrieve a list of available reports:
CodeYou can add the following parameters to your endpoint:
Parameter Description organization_idREQUIRED Your organization ID. start_dateREQUIRED The start date of the query period. The date should not be before 2024-10-01. The date should follow the ISO 8601 format. For example: 2025-07-01T00:00:00Z.end_dateThe end date of the query period. Defaults to the current day if not set. -
Run the query below to retrieve a specific impact report.
CodeYou can add the following parameters to your endpoint:
Parameter Description organization_idREQUIRED Your organization ID. dateREQUIRED The date of the requested report. The date should not be before 2024-10-01. typeThe report type. Can be monthlyoryearly. -
Open the report.
```bash xdg-open /tmp/report.pdf ``` ```bash open /tmp/report.pdf ``` -
Run the query below to retrieve specific impact data for your Organization. You can add the parameters of your choice in the endpoint to filter the query by project ID, region, zone, service category, and/or product category. In the example below we retrieve the impact data of all Elastic Metal servers in the Organization.
CodeParameter Description organization_idREQUIRED Your organization ID. start_dateThe start date of the query period. The date should not be before 2024-10-01. product_categoriesList of product categories of the products for which you want to retrieve impact data. Example: elastic_metal.Tip
Refer to the Retrieve detailed impact data endpoint reference for an extensive list of available parameters and corresponding values.
If the request was successful you will see a response like the following:
Code
The response gives you the estimated impact for the projects, regions, zones, service categories, and product categories that match your filters.
Important
Your environmental footprint data may change for the same consumption.