---
title: "Download Commitments data as JSON."
method: POST
path: "/organizations/{orgId}/dataexplorer/commitments/download/json"
tags: ["DataExplorer"]
---

# Download Commitments data as JSON.

`POST /organizations/{orgId}/dataexplorer/commitments/download/json`

## Request

- Base URL: `https://api.m3ter.com`
- URL: `https://api.m3ter.com/organizations/{orgId}/dataexplorer/commitments/download/json`
- 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/commitments/download/json/post.ts> (a function with typed inputs; its response is checked against the schema)

Download Commitments data as JSON.

## Path parameters

- `orgId` string, required

## Request body

- QueryCommitmentsRequest: Data Explorer commitments query.
  - `startDate` string, date-time, required: ISO 8601 formatted start date for the commitment.
  - `endDate` string, date-time, required: ISO 8601 formatted end date for the commitment.
  - `dimensions` DimensionQuery[]: Dimensions to filter by. The only valid dimension is 'account'.
    - `name` string, required: The Dimension name to target.
    - `attributes` string[]: The dimension attribute to target
    - `filter` string[], required: The value of a dimension to filter by. Use "*" to filter on all dimension values.
  - `limit` integer: Limit the number of data points returned

## Response `200`

Contains a link to download the file.

- DownloadDataExplorerResponse: Download link for Data Explorer data
  - `downloadUrl` string, url

## 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/commitments/download/json/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)
