Skip to main content
GET
/
organizations
/
{orgId}
/
integrationdestinations
/
marketplace
/
usageReport
Retrieve reported usage
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/integrationdestinations/marketplace/usageReport \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "accountId": "<string>",
      "billId": "<string>",
      "externalSystem": "<string>",
      "reportedUsage": {}
    }
  ],
  "nextToken": "<string>"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the organization

Query Parameters

billStartDate
string

Only include usage with bill start dates equal to this date

accountId
string

List usage for the customer UUID

externalSystem
string

Filter usage for the provided marketplace

pageSize
integer<int32>

Number of usage records to retrieve per page

Required range: 1 <= x <= 50
nextToken
string

nextToken for multi page retrievals

billId
string | null
Maximum string length: 50

Response

Return Usage reports

data
object[]
nextToken
string