v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Reports

Get MSP Commit and Balance Report

Returns a detailed report on consumption units commitment, consumption, and balance for the MSP account.

post/msp/reporting/v2/reports/mspCommitAndBalance

Headers

Authorizationstring required

Specify the Bearer access token

Request body

pageTokenstring

The token to access the next page of results. Use the token value received in the previous response's parameter 'nextPageToken'.

  • Keep this field blank in the first request.

Example request

{
  "pageToken": "eyJwYWdlTnVtYmVyIjoyLCJwYWdlU2l6ZSI6NTAwLCAiZmlsdGVycyI6bnVsbH0=",
  "filters": {
    "pageSize": 10,
    "filterBy": [
      {
        "fieldName": "date",
        "value": "2024-12-22T00:00:00.000Z",
        "operator": "EQUAL"
      }
    ]
  }
}

Response

Ok

lastSyncTimestampstring date-time

Last time sync up timestamp date. Sync up time does not guarantee that consumption stats till this time are included in reported stats. Reported consumption stats may be stale upto 48 hours.

nextPageTokenstring

The token to access the next page of results. This parameter will be empty for the last page of results.

Example response

{
  "data": [
    {
      "cuCommit": 1000,
      "cuConsumption": 1.10326,
      "cuEndingBalance": 653.28342,
      "cuStartingBalance": 654.1408,
      "date": "2024-12-22T00:00:00.000Z",
      "dcpUniqueKey": "380cee0972ed3f2286c03749ffc235d0cc52250121c2d3fac6c6b4f0b14d7875"
    }
  ],
  "filters": {
    "pageSize": 5,
    "filterBy": [
      {
        "fieldName": "date",
        "value": "2024-12-22T00:00:00.000Z",
        "operator": "EQUAL"
      }
    ]
  },
  "lastSyncTimestamp": "2025-10-20T04:53:06Z",
  "nextPageToken": "NjEzZGJiYTctNmU4Ni00OTc0LTkzNjUtYjE4ZWNmNjFkYTRk"
}