Enriching your usage data using the API

Enriching your usage data using the API

How to join Greenpixie factors onto your own usage data.

The Greenpixie API lets you enrich your own cloud usage report in your own environment. You pull the rate card, join it onto your usage data, and multiply, so your usage data stays in your own environment. This is the same enrichment Greenpixie's managed service performs, done on your side.

Before you start, you need an API key (see Getting started with the Greenpixie API) and your exported usage data (see Getting your usage data).

How enrichment works

Pull the rate card at rate-code granularity, where each row is a single rate code with its exact per-unit factors. Join those rows onto your usage report on the rate code, then multiply each factor by the usage quantity on the line to get energy, carbon and water for it.

Platform guides

Each platform names its rate codes and quantities differently, so the join is covered per platform.

If you would rather Greenpixie did it

If you do not want to run the enrichment yourself, grant Greenpixie read access to the bucket or container holding your export and the managed service returns the same enriched dataset to you.

On this page