Query project carbon emissions metrics for an entire organization
Queries the carbon emission data for all projects owned by the specified organiation.
get/organizations/{organization_id}/metrics/carbon
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organization_idstring ulid required
The ID of the organization.
Query parameters
The start of the time frame for the query. Inclusive.
The end of the time frame for the query. Exclusive.
interval'day' | 'month' | 'year'
The interval by which the query groups the results. of the time frame for the query. Exclusive.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.