CodeCarbon · Schema

RunReport

CompanyCarbon EmissionsSustainabilityMachine LearningOpen SourcePythonGreen Software

Properties

Name Type Description
timestamp string
experiment_id object
os object
python_version object
codecarbon_version object
cpu_count object
cpu_model object
gpu_count object
gpu_model object
longitude object
latitude object
region object
provider object
ram_total_size object
tracking_mode object
run_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-run-report-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codecarbon/json-schema/codecarbon-run-report-schema.json",
  "title": "RunReport",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codecarbon-openapi.yml#/components/schemas/RunReport",
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "title": "Timestamp"
    },
    "experiment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Experiment Id"
    },
    "os": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Os"
    },
    "python_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Python Version"
    },
    "codecarbon_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Codecarbon Version"
    },
    "cpu_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cpu Count"
    },
    "cpu_model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cpu Model"
    },
    "gpu_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gpu Count"
    },
    "gpu_model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gpu Model"
    },
    "longitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Longitude"
    },
    "latitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latitude"
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region"
    },
    "provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider"
    },
    "ram_total_size": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ram Total Size"
    },
    "tracking_mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tracking Mode"
    },
    "run_id": {
      "type": "string",
      "format": "uuid",
      "title": "Run 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": [
    "timestamp",
    "run_id",
    "emissions",
    "cpu_power",
    "gpu_power",
    "ram_power",
    "cpu_energy",
    "gpu_energy",
    "ram_energy",
    "energy_consumed",
    "duration",
    "emissions_rate",
    "emissions_count"
  ]
}

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-run-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.