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

# Retrieve insights about charges.

Required scope: `charge-transactions:read`.
**Deprecated, use `/insights/charges/driver-report` and `/insights/charges/charger-report` instead.**

# 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 Insights"
    }
  ],
  "paths": {
    "/api/v1/charges/insights": {
      "get": {
        "tags": [
          "Charges Insights"
        ],
        "summary": "Retrieve insights about charges.",
        "description": "Required scope: `charge-transactions:read`.\n**Deprecated, use `/insights/charges/driver-report` and `/insights/charges/charger-report` instead.**",
        "operationId": "get-charges-insights",
        "parameters": [
          {
            "name": "fromDate",
            "in": "query",
            "required": true,
            "schema": {
              "pattern": "^(\\d{4}-\\d{2}-\\d{2})$",
              "type": "string",
              "description": "Filter to retrieve charge insights created from date (YYYY-MM-DD), we expect a date in UTC</br>The maximum gap between from and to data cannot be longer than 31 days",
              "format": "date",
              "example": "2022-05-01",
              "x-pattern-message": "Invalid date, expected format YYYY-MM-DD"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "required": true,
            "schema": {
              "pattern": "^(\\d{4}-\\d{2}-\\d{2})$",
              "type": "string",
              "description": "Filter to retrieve charge insights created to date (YYYY-MM-DD), we expect a date in UTC</br>The maximum gap between from and to data cannot be longer than 31 days",
              "format": "date",
              "example": "2022-05-30",
              "x-pattern-message": "Invalid date, expected format YYYY-MM-DD"
            }
          },
          {
            "name": "teamId",
            "in": "query",
            "schema": {
              "type": "integer",
              "description": "Filter to retrieve charges insights by the specified `teamId`",
              "format": "int64",
              "nullable": true,
              "example": 13
            }
          },
          {
            "name": "chargePointId",
            "in": "query",
            "schema": {
              "type": "integer",
              "description": "Filter to retrieve charges insights by the specified `chargePointId`",
              "format": "int64",
              "nullable": true,
              "example": 13
            }
          },
          {
            "name": "siteId",
            "in": "query",
            "schema": {
              "type": "integer",
              "description": "Filter to retrieve charges insights by the specified `siteId`",
              "format": "int64",
              "nullable": true,
              "example": 13
            }
          },
          {
            "name": "teamMemberId",
            "in": "query",
            "schema": {
              "type": "integer",
              "description": "Filter to retrieve charges insights by the specified `teamMemberId`",
              "format": "int64",
              "nullable": true,
              "example": 13
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Charge insights for the given filter",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargesInsight"
                }
              }
            }
          },
          "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"
                  }
                }
              }
            }
          }
        },
        "deprecated": true,
        "security": [
          {
            "BearerAccessToken": []
          }
        ],
        "x-sunset": "2024-04-01"
      }
    }
  },
  "components": {
    "schemas": {
      "ChargesInsight": {
        "required": [
          "currency",
          "fromDate",
          "insights",
          "operator",
          "title",
          "toDate",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "description": "The type of charge insight",
            "example": "completed-charges-insights",
            "allOf": [
              {
                "$ref": "#/components/schemas/ChargesInsightTypeDto"
              }
            ]
          },
          "fromDate": {
            "type": "string",
            "description": "Indicates the starting period (`fromDate`) used calculate the insights, format (YYYY-MM-DD)</br></br>*Note*: The date will be always in UTC",
            "format": "date",
            "example": "2023-11-01"
          },
          "toDate": {
            "type": "string",
            "description": "Indicates the end period (`toDate`) used calculate the insights, format (YYYY-MM-DD), always in UCT</br></br>*Note*: The date will be always in UTC",
            "format": "date",
            "example": "2023-11-01"
          },
          "title": {
            "type": "string",
            "description": "The title for for this charge insight",
            "example": "Completed charge sessions insights"
          },
          "operator": {
            "description": "The operator to which this charge insight belongs to",
            "allOf": [
              {
                "$ref": "#/components/schemas/Operator"
              }
            ]
          },
          "currency": {
            "description": "The currency applicable for this charge insight",
            "allOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ]
          },
          "insights": {
            "type": "array",
            "description": "The compilation of insights entries composing this charge insight",
            "items": {
              "$ref": "#/components/schemas/ChargesInsightEntry"
            }
          }
        }
      },
      "ChargesInsightEntry": {
        "required": [
          "summary",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "description": "The type for this insight entry",
            "example": "completed-sponsored-charges-insights",
            "allOf": [
              {
                "$ref": "#/components/schemas/ChargesInsightEntryTypeDto"
              }
            ]
          },
          "summary": {
            "description": "The summary for this insight entry, The summary contains the compiled statistics for the entry",
            "allOf": [
              {
                "$ref": "#/components/schemas/ChargesInsightSummary"
              }
            ]
          }
        }
      },
      "ChargesInsightEntryTypeDto": {
        "type": "string",
        "description": "Enumerate the various types of charge insights",
        "enum": [
          "total-completed-sponsored-charges",
          "total-completed-operator-charges",
          "total-completed-external-charges",
          "total-completed-charges",
          "unknown"
        ],
        "x-enum-varnames": [
          "TOTAL_COMPLETED_SPONSORED_CHARGES",
          "TOTAL_COMPLETED_OPERATOR_CHARGES",
          "TOTAL_COMPLETED_EXTERNAL_CHARGES",
          "TOTAL_COMPLETED_CHARGES",
          "UNKNOWN"
        ]
      },
      "ChargesInsightSummary": {
        "required": [
          "totalCost",
          "totalKwh",
          "totalPrice",
          "totalSessions"
        ],
        "type": "object",
        "properties": {
          "totalKwh": {
            "type": "number",
            "description": "The total kWh charged for this entry",
            "format": "double",
            "example": 10.5
          },
          "totalPrice": {
            "type": "integer",
            "description": "The total price for this entry",
            "format": "int64",
            "example": 50
          },
          "totalCost": {
            "type": "integer",
            "description": "The total cost for this entry",
            "format": "int64",
            "example": 25
          },
          "totalSessions": {
            "type": "integer",
            "description": "The total sessions for this entry",
            "format": "int64"
          }
        }
      },
      "ChargesInsightTypeDto": {
        "type": "string",
        "description": "Enumerate the various types of charges insights",
        "enum": [
          "completed-charges-insights",
          "unknown"
        ],
        "x-enum-varnames": [
          "COMPLETED_CHARGES_INSIGHTS",
          "UNKNOWN"
        ]
      },
      "Currency": {
        "required": [
          "identifier",
          "name"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "Currency identifier, e.g. dkk",
            "example": "dkk"
          },
          "name": {
            "type": "string",
            "description": "Readable name of currency",
            "example": "Danish krone"
          },
          "decimals": {
            "type": "integer",
            "description": "Number of decimals for this currency",
            "format": "int32",
            "example": 2
          }
        }
      },
      "Operator": {
        "required": [
          "identifier",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "ID of the operator",
            "format": "int64",
            "example": 14
          },
          "name": {
            "type": "string",
            "description": "Name of operator",
            "example": "Monta"
          },
          "identifier": {
            "type": "string",
            "description": "Identifier of operator",
            "example": "monta"
          },
          "partnerId": {
            "type": "integer",
            "description": "Id of the partner",
            "format": "int64",
            "nullable": true,
            "example": 1
          },
          "vatNumber": {
            "type": "string",
            "description": "VAT number",
            "nullable": true,
            "example": "FOO-123-ABC"
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAccessToken": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-stability-level": "stable"
}
```