CodeCarbon · Schema

ExperimentReport

Code Carbon user test with default project

CompanyCarbon EmissionsSustainabilityMachine LearningOpen SourcePythonGreen Software

Properties

Name Type Description
name string
description string
country_name object
country_iso_code object
region object
on_cloud object
cloud_provider object
cloud_region object
timestamp string
project_id string
experiment_id string
emissions number
cpu_power number
gpu_power number
ram_power number
cpu_energy number
gpu_energy number
ram_energy number
energy_consumed number
duration number
emissions_rate number
emissions_count integer
cpu_utilization_percent object
gpu_utilization_percent object
ram_utilization_percent object
View JSON Schema on GitHub

JSON Schema

codecarbon-experiment-report-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codecarbon/json-schema/codecarbon-experiment-report-schema.json",
  "title": "ExperimentReport",
  "description": "Code Carbon user test with default project",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codecarbon-openapi.yml#/components/schemas/ExperimentReport",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "country_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country Name"
    },
    "country_iso_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country Iso Code"
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region"
    },
    "on_cloud": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "On Cloud"
    },
    "cloud_provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cloud Provider"
    },
    "cloud_region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cloud Region"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "title": "Timestamp"
    },
    "project_id": {
      "type": "string",
      "format": "uuid",
      "title": "Project Id"
    },
    "experiment_id": {
      "type": "string",
      "format": "uuid",
      "title": "Experiment Id"
    },
    "emissions": {
      "type": "number",
      "title": "Emissions"
    },
    "cpu_power": {
      "type": "number",
      "title": "Cpu Power"
    },
    "gpu_power": {
      "type": "number",
      "title": "Gpu Power"
    },
    "ram_power": {
      "type": "number",
      "title": "Ram Power"
    },
    "cpu_energy": {
      "type": "number",
      "title": "Cpu Energy"
    },
    "gpu_energy": {
      "type": "number",
      "title": "Gpu Energy"
    },
    "ram_energy": {
      "type": "number",
      "title": "Ram Energy"
    },
    "energy_consumed": {
      "type": "number",
      "title": "Energy Consumed"
    },
    "duration": {
      "type": "number",
      "title": "Duration"
    },
    "emissions_rate": {
      "type": "number",
      "title": "Emissions Rate"
    },
    "emissions_count": {
      "type": "integer",
      "title": "Emissions Count"
    },
    "cpu_utilization_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cpu Utilization Percent"
    },
    "gpu_utilization_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gpu Utilization Percent"
    },
    "ram_utilization_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ram Utilization Percent"
    }
  },
  "type": "object",
  "required": [
    "name",
    "description",
    "timestamp",
    "project_id",
    "experiment_id",
    "emissions",
    "cpu_power",
    "gpu_power",
    "ram_power",
    "cpu_energy",
    "gpu_energy",
    "ram_energy",
    "energy_consumed",
    "duration",
    "emissions_rate",
    "emissions_count"
  ],
  "country_iso_code": "FRA",
  "country_name": "France",
  "cpu_energy": 191.8251863024175,
  "cpu_power": 5760,
  "duration": 7673204,
  "emission": 152.28955200363455,
  "emissions_count": 64,
  "emissions_rate": 1.0984556074701752,
  "energy_consumed": 358.6795013312438,
  "experiment_id": "943b2aa5-9e21-41a9-8a38-562505b4b2aa",
  "gpu_energy": 140.01098718681496,
  "gpu_power": 2983.9739999999993,
  "name": "Code Carbon user test",
  "on_cloud": false,
  "ram_energy": 26.84332784201141,
  "ram_power": 806.0337192959997,
  "region": "france",
  "timestamp": "2021-10-07T20:19:27.716693"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/codecarbon-experiment-report"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.