CodeCarbon · Schema
TelemetryCreate
CompanyCarbon EmissionsSustainabilityMachine LearningOpen SourcePythonGreen Software
Properties
| Name | Type | Description |
|---|---|---|
| timestamp | string | |
| telemetry_level | object | |
| os | object | |
| country_name | object | |
| country_iso_code | object | |
| region | object | |
| cloud_provider | object | |
| cloud_region | object | |
| longitude | object | |
| latitude | object | |
| cpu_count | object | |
| cpu_physical_count | object | |
| cpu_model | object | |
| cpu_architecture | object | |
| gpu_count | object | |
| gpu_model | object | |
| gpu_driver_version | object | |
| gpu_memory_total_gb | object | |
| ram_total_size_gb | object | |
| cuda_version | object | |
| cudnn_version | object | |
| python_version | object | |
| python_implementation | object | |
| python_executable_hash | object | |
| python_env_type | object | |
| codecarbon_version | object | |
| codecarbon_install_method | object | |
| total_emissions_kg | object | |
| emissions_rate_kg_per_sec | object | |
| energy_consumed_kwh | object | |
| cpu_energy_kwh | object | |
| gpu_energy_kwh | object | |
| ram_energy_kwh | object | |
| duration_seconds | object | |
| cpu_utilization_avg | object | |
| gpu_utilization_avg | object | |
| ram_utilization_avg | object | |
| tracking_mode | object | |
| api_mode | object | |
| output_methods | object | |
| hardware_tracked | object | |
| task_tracking_used | object | |
| decorator_vs_context | object | |
| measure_power_interval_secs | object | |
| hardware_detection_success | object | |
| rapl_available | object | |
| gpu_detection_method | object | |
| first_measurement_time_ms | object | |
| tracking_overhead_percent | object | |
| errors_encountered | object | |
| warning_count | object | |
| ide_used | object | |
| notebook_environment | object | |
| ci_environment | object | |
| python_package_manager | object | |
| framework_detected | object | |
| has_torch | object | |
| torch_version | object | |
| has_transformers | object | |
| transformers_version | object | |
| has_diffusers | object | |
| diffusers_version | object | |
| has_tensorflow | object | |
| tensorflow_version | object | |
| has_keras | object | |
| keras_version | object | |
| has_pytorch_lightning | object | |
| pytorch_lightning_version | object | |
| has_fastai | object | |
| fastai_version | object | |
| ml_framework_primary | object | |
| container_runtime | object | |
| in_container | object | |
| host_machine_hash | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/codecarbon/json-schema/codecarbon-telemetry-create-schema.json",
"title": "TelemetryCreate",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/codecarbon-openapi.yml#/components/schemas/TelemetryCreate",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time",
"title": "Timestamp"
},
"telemetry_level": {
"$ref": "#/$defs/TelemetryLevel"
},
"os": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Os"
},
"country_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Country Name"
},
"country_iso_code": {
"anyOf": [
{
"type": "string",
"maxLength": 3,
"minLength": 2
},
{
"type": "null"
}
],
"title": "Country Iso Code"
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Region"
},
"cloud_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cloud Provider"
},
"cloud_region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cloud Region"
},
"longitude": {
"anyOf": [
{
"type": "number",
"maximum": 180.0,
"minimum": -180.0
},
{
"type": "null"
}
],
"title": "Longitude"
},
"latitude": {
"anyOf": [
{
"type": "number",
"maximum": 90.0,
"minimum": -90.0
},
{
"type": "null"
}
],
"title": "Latitude"
},
"cpu_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cpu Count"
},
"cpu_physical_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cpu Physical Count"
},
"cpu_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cpu Model"
},
"cpu_architecture": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cpu Architecture"
},
"gpu_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Gpu Count"
},
"gpu_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Gpu Model"
},
"gpu_driver_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Gpu Driver Version"
},
"gpu_memory_total_gb": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Gpu Memory Total Gb"
},
"ram_total_size_gb": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Ram Total Size Gb"
},
"cuda_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cuda Version"
},
"cudnn_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cudnn Version"
},
"python_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Python Version"
},
"python_implementation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Python Implementation"
},
"python_executable_hash": {
"anyOf": [
{
"type": "string",
"maxLength": 64,
"minLength": 64
},
{
"type": "null"
}
],
"title": "Python Executable Hash"
},
"python_env_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Python Env Type"
},
"codecarbon_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Codecarbon Version"
},
"codecarbon_install_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Codecarbon Install Method"
},
"total_emissions_kg": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Total Emissions Kg"
},
"emissions_rate_kg_per_sec": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Emissions Rate Kg Per Sec"
},
"energy_consumed_kwh": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Energy Consumed Kwh"
},
"cpu_energy_kwh": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cpu Energy Kwh"
},
"gpu_energy_kwh": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Gpu Energy Kwh"
},
"ram_energy_kwh": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Ram Energy Kwh"
},
"duration_seconds": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Duration Seconds"
},
"cpu_utilization_avg": {
"anyOf": [
{
"type": "number",
"maximum": 100.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cpu Utilization Avg"
},
"gpu_utilization_avg": {
"anyOf": [
{
"type": "number",
"maximum": 100.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Gpu Utilization Avg"
},
"ram_utilization_avg": {
"anyOf": [
{
"type": "number",
"maximum": 100.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Ram Utilization Avg"
},
"tracking_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tracking Mode"
},
"api_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Mode"
},
"output_methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Output Methods"
},
"hardware_tracked": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Hardware Tracked"
},
"task_tracking_used": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Task Tracking Used"
},
"decorator_vs_context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Decorator Vs Context"
},
"measure_power_interval_secs": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Measure Power Interval Secs"
},
"hardware_detection_success": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Hardware Detection Success"
},
"rapl_available": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Rapl Available"
},
"gpu_detection_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Gpu Detection Method"
},
"first_measurement_time_ms": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "First Measurement Time Ms"
},
"tracking_overhead_percent": {
"anyOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Tracking Overhead Percent"
},
"errors_encountered": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Errors Encountered"
},
"warning_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Warning Count"
},
"ide_used": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ide Used"
},
"notebook_environment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Notebook Environment"
},
"ci_environment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ci Environment"
},
"python_package_manager": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Python Package Manager"
},
"framework_detected": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Framework Detected"
},
"has_torch": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Torch"
},
"torch_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Torch Version"
},
"has_transformers": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Transformers"
},
"transformers_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Transformers Version"
},
"has_diffusers": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Diffusers"
},
"diffusers_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Diffusers Version"
},
"has_tensorflow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Tensorflow"
},
"tensorflow_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tensorflow Version"
},
"has_keras": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Keras"
},
"keras_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Keras Version"
},
"has_pytorch_lightning": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Pytorch Lightning"
},
"pytorch_lightning_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Pytorch Lightning Version"
},
"has_fastai": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Fastai"
},
"fastai_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Fastai Version"
},
"ml_framework_primary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ml Framework Primary"
},
"container_runtime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Container Runtime"
},
"in_container": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "In Container"
},
"host_machine_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Host Machine Hash"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"timestamp",
"telemetry_level"
],
"$defs": {
"TelemetryLevel": {
"type": "string",
"enum": [
"disabled",
"minimal",
"extensive"
],
"title": "TelemetryLevel"
}
}
}
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-telemetry-create"
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.