CodeCarbon · Schema
Emission
CompanyCarbon EmissionsSustainabilityMachine LearningOpen SourcePythonGreen Software
Properties
| Name | Type | Description |
|---|---|---|
| timestamp | string | |
| run_id | string | |
| duration | number | The duration must be greater than zero |
| emissions_sum | object | The emissions must be greater than zero |
| emissions_rate | object | The emissions rate must be greater than zero |
| energy_consumed | object | The energy_consumed must be greater than zero |
| cpu_power | object | The cpu_power must be greater than zero |
| gpu_power | object | The gpu_power must be greater than zero |
| ram_power | object | The ram_power must be greater than zero |
| cpu_energy | object | The cpu_energy must be greater than zero |
| gpu_energy | object | The gpu_energy must be greater than zero |
| ram_energy | object | The ram_energy must be greater than zero |
| cpu_utilization_percent | object | The CPU utilization must be between 0 and 100 |
| gpu_utilization_percent | object | The GPU utilization must be between 0 and 100 |
| ram_utilization_percent | object | The RAM utilization must be between 0 and 100 |
| wue | object | The WUE (Water Usage Effectiveness) must be greater than or equal to zero |
| id | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/codecarbon/json-schema/codecarbon-emission-schema.json",
"title": "Emission",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/codecarbon-openapi.yml#/components/schemas/Emission",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time",
"title": "Timestamp"
},
"run_id": {
"type": "string",
"format": "uuid",
"title": "Run Id"
},
"duration": {
"type": "number",
"exclusiveMinimum": 0.0,
"title": "Duration",
"description": "The duration must be greater than zero"
},
"emissions_sum": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Emissions Sum",
"description": "The emissions must be greater than zero"
},
"emissions_rate": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Emissions Rate",
"description": "The emissions rate must be greater than zero"
},
"energy_consumed": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Energy Consumed",
"description": "The energy_consumed must be greater than zero"
},
"cpu_power": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cpu Power",
"description": "The cpu_power must be greater than zero"
},
"gpu_power": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Gpu Power",
"description": "The gpu_power must be greater than zero"
},
"ram_power": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Ram Power",
"description": "The ram_power must be greater than zero"
},
"cpu_energy": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cpu Energy",
"description": "The cpu_energy must be greater than zero"
},
"gpu_energy": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Gpu Energy",
"description": "The gpu_energy must be greater than zero"
},
"ram_energy": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Ram Energy",
"description": "The ram_energy must be greater than zero"
},
"cpu_utilization_percent": {
"anyOf": [
{
"type": "number",
"maximum": 100.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cpu Utilization Percent",
"description": "The CPU utilization must be between 0 and 100"
},
"gpu_utilization_percent": {
"anyOf": [
{
"type": "number",
"maximum": 100.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Gpu Utilization Percent",
"description": "The GPU utilization must be between 0 and 100"
},
"ram_utilization_percent": {
"anyOf": [
{
"type": "number",
"maximum": 100.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Ram Utilization Percent",
"description": "The RAM utilization must be between 0 and 100"
},
"wue": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Wue",
"description": "The WUE (Water Usage Effectiveness) must be greater than or equal to zero",
"default": 0
},
"id": {
"type": "string",
"format": "uuid",
"title": "Id"
}
},
"type": "object",
"required": [
"timestamp",
"run_id",
"duration",
"emissions_sum",
"emissions_rate",
"energy_consumed",
"cpu_power",
"gpu_power",
"ram_power",
"cpu_energy",
"gpu_energy",
"ram_energy",
"id"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/codecarbon-emission"
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.