---
title: "Query and filter usage data"
method: POST
path: "/organizations/{orgId}/usage/query"
tags: ["DataExplorerV2"]
---

# Query and filter usage data

`POST /organizations/{orgId}/usage/query`

Query and filter usage data

## Path parameters

- `orgId` string, required

## Request body

- UsageQueryRequest
  - `startDate` string, date-time, required — ISO 8601 formatted start date to filter by.
  - `endDate` string, date-time, required — ISO 8601 formatted end date to filter by.

## Response `200`

OK response

- UsageQueryResponse
  - `data` object[]
  - `hasMoreData` boolean — Flag to know if there are more data available than the one returned

## Other responses

- `4XX` — Error message
- `5XX` — Error message

## Changes

- **2025-02-21** `d064a12d0d93` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/m3ter-com/apis/m3ter-api/changes/organizations/:orgId/usage/query/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-service-production.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/revisions/9beb1e1df3bd/schema)
