# A meter’s aggregate for one customer over [from, to)

`GET /api/v1/meter-events/summary`

Needs the `usage:read` scope, or a full-access key.

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `meter` | string | required |  |
| `customer_id` | string | optional |  |
| `customer_external_id` | string | optional |  |
| `from` | string | required |  |
| `to` | string | required |  |

## Responses

### 200

The aggregate.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "meter": {
          "type": "string"
        },
        "customer_id": {
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "aggregation": {
          "type": "string",
          "enum": [
            "sum",
            "count",
            "max",
            "unique"
          ]
        },
        "from": {
          "type": "string",
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "meter",
        "customer_id",
        "aggregation",
        "from",
        "to",
        "value"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
