OrganizationEmissions

Get organization emissions data

Changed on

This endpoint may be changed or removed at any time. Don't use it in production environments.

get/organization/{organization_id}/emissions

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/organization/{organization_id}/emissions
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: accounts:read

Path parameters

organization_idstring required

ID of an organization

Query parameters

unknown

Filter by project name (repeatable)

unknown

Filter to specific billing groups (repeatable)

starting_timestring

Start of time range (ISO 8601, default: start of last month)

ending_timestring

End of time range (ISO 8601, default: start of current month)

granularity'day' | 'month'

Time bucket granularity, default: month

group_by'none' | 'project' | 'billing_group'

How to group results, default: none (organization total)

Response

Response

ending_timestring required

End of the query period (exclusive)

granularity'day' | 'month' required

Granularity for emissions time buckets.

starting_timestring required

Start of the query period (inclusive)

Changes