---
updatedAt: 2026-08-10T12:21:58.000Z
agentTools:
  projectIndex: https://monta-partner-api.readme.io/llms.txt
---

# Retrieve a charge kwh consumption breakdown

Required scope: `charges:read`. **Note:** Only available for charges performed on a Monta-connected (via OCPP) charge point.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Monta API",
    "description": "\n             see https://docs.partner-api.monta.com\n             ",
    "contact": {
      "name": "Monta API Support",
      "url": "https://www.monta.com/uk/contact",
      "email": "partner-api@monta.com"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://partner-api.monta.com",
      "description": "Production"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Charges"
    }
  ],
  "paths": {
    "/api/v1/charges/{chargeId}/kwh-consumption": {
      "get": {
        "tags": [
          "Charges"
        ],
        "summary": "Retrieve a charge kwh consumption breakdown",
        "description": "Required scope: `charges:read`. **Note:** Only available for charges performed on a Monta-connected (via OCPP) charge point.",
        "operationId": "get-charge-kwh-consumption",
        "parameters": [
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "consumptionPeriodSizeInSeconds",
            "in": "query",
            "schema": {
              "type": "integer",
              "description": "Filter to retrieve kwh consumption by a given `consumptionPeriodSize` interval in seconds",
              "format": "int64",
              "nullable": true,
              "example": 3600,
              "default": 3600,
              "enum": [
                3600,
                1800,
                900,
                600,
                300
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Charge kwh consumption breakdown for the given id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeKwhConsumption"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "BAD_REQUEST",
                    "message": "Invalid request",
                    "errorCode": "BAD_REQUEST"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Consumer with provided credentials was not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "UNAUTHORIZED",
                    "message": "Consumer with given `clientId` and `clientSecret` not found",
                    "errorCode": "CONSUMER_NOT_FOUND"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Operator doesn't have access to resource",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "FORBIDDEN",
                    "message": "Operator doesn't have access to resource",
                    "errorCode": "ACCESS_FORBIDDEN"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Entity with the provided id was not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "NOT_FOUND",
                    "message": "Requested entity/entity provided in body was not found",
                    "readableMessage": "user friendly message",
                    "errorCode": "RESOURCE_NOT_FOUND",
                    "context": "context"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAccessToken": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ChargeKwhConsumption": {
        "type": "object",
        "properties": {
          "chargeId": {
            "type": "number",
            "description": "Id of the charge",
            "example": 1
          },
          "consumptionPeriodSizeInSeconds": {
            "type": "integer",
            "description": "Specifies the time interval, in seconds",
            "format": "int64",
            "example": 3600
          },
          "kwhConsumption": {
            "type": "array",
            "description": "Detailed breakdown of the kwh consumption in time interval of 5, 10, 15, 30 and 60 minutes</br>**Note**: Representation is in seconds, 3600 by default",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/KwhConsumption"
            }
          }
        }
      },
      "KwhConsumption": {
        "required": [
          "time"
        ],
        "type": "object",
        "properties": {
          "time": {
            "type": "string",
            "description": "Time interval",
            "format": "date-time",
            "example": "2022-05-12T15:00:00Z"
          },
          "value": {
            "type": "number",
            "description": "The amount of energy consumed (in kWh) during the corresponding time interval",
            "format": "double",
            "example": 15.8
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAccessToken": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-stability-level": "stable"
}
```