---
title: "Query and filter aggregated usage data."
method: POST
path: "/organizations/{orgId}/dataexplorer/usagedata"
tags: ["DataExplorer"]
---

# Query and filter aggregated usage data.

`POST /organizations/{orgId}/dataexplorer/usagedata`

## Request

- Base URL: `https://api.m3ter.com`
- URL: `https://api.m3ter.com/organizations/{orgId}/dataexplorer/usagedata`
- Auth: OAuth 2
  - Authorization code: `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize`, token URL `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/token`
  - Client credentials, token URL `/oauth/token`
- TypeScript: <https://skmtc.dev/m3ter-com/apis/m3ter-api/docs/organizations/:orgId/dataexplorer/usagedata/post.ts> (a function with typed inputs; its response is checked against the schema)

Query and filter aggregated usage data.

## Path parameters

- `orgId` string, required

## Request body

- QueryUsageDataRequest
  - `version` integer: The version number of the entity: - **Create entity:** Not valid for initial insertion of new entity - *do not use for Create*. On initial Create, version is set at 1 and listed in the response. - **Update Entity:** On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.

## Response `200`

Returns a list of aggregated usage data.

- AggregatedUsageDataResponse: Response containing the aggregated usage data
  - `values` AggregatedUsageData[]: List of aggregated usage data
    - `timestamp` string, date-time: Start time of aggregated time period *(in ISO-8601 format)*.
    - `dimensions` object: Dimensions that were used for filtering
    - `measures` object: Measures and their values
    - `meterCode` string: Meter code
    - `meterName` string: Meter name
    - `uid` string: uid

## Other responses

- `4XX`: Error message
- `5XX`: Error message

## Changes

- **2026-10-16** `85c514abc692`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/m3ter-com/apis/m3ter-api/changes/organizations/:orgId/dataexplorer/usagedata/post.md)

---

[API](https://skmtc.dev/m3ter-com/apis/m3ter-api.md) - [All operations](https://skmtc.dev/m3ter-com/apis/m3ter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/m3ter-com/apis/m3ter-api/revisions/85c514abc692?raw)
