v1
latestOpenAPI 3.0.12026-07-178827.6 KBCarbonAware
Given an array of request objects, each with their own location and time boundaries, calculate the average carbon intensity for that location and time period and return an array of carbon intensity objects.
The application only supports batching across a single location with different time boundaries. If multiple locations are provided, an error is returned. For each item in the request array, the application returns a corresponding object containing the location, time boundaries, and average marginal carbon intensity.
post/emissions/average-carbon-intensity/batch
Request body
Example request
[
{
"location": "eastus",
"startTime": "2022-03-01T15:30:00Z",
"endTime": "2022-03-01T18:30:00Z"
}
]Response
Returns an array of objects where each contains location, time boundaries and the corresponding average marginal carbon intensity
Example response
[
{
"location": "eastus",
"startTime": "2022-03-01T15:30:00Z",
"endTime": "2022-03-01T18:30:00Z",
"carbonIntensity": 345.434
}
]