Skip to main content
GET
/
organizations
/
{orgId}
/
bills
/
{billId}
/
lineitems
/
{id}
/
usage
/
json
Retrieve Line Item Usage in JSON Format
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/bills/{billId}/lineitems/{id}/usage/json \
  --header 'Authorization: Bearer <token>'
{
  "downloadUrl": "<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

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

billId
string
required

UUID of the Bill

id
string
required

The unique identifier (UUID) of the Bill line item for which to retrieve the usage.

Response

Returns the download URL

downloadUrl
string<url>

The pre-signed download URL.