Usage Summaries

List Usage Summary Lines

Fetch a paginated list of usage lines. Default page is 0 and default size is 10. The maximum page size is 200

get/usage-summaries/{usageSummaryId}/usage-lines

Request

  • Base URL
    https://api.pax8.com/v1
  • URL
    https://api.pax8.com/v1/usage-summaries/{usageSummaryId}/usage-lines
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://token-manager.pax8.com/oauth/token

Path parameters

usageSummaryIdstring uuid required
Example:f5e4cefe-09ff-46a0-b3b0-4f392cfae44c

The usage summary id

Query parameters

usageDatestring yyyy-MM-dd required
Example:2020-01-01

Returns only usage lines recorded on this exact date. This is a single-day filter, not a date range and not a running month-to-date total. To retrieve usage across multiple days, call this endpoint once per date.

productIdstring uuid
Example:aaaee3f-262c-47a4-b0e6-f9ce8b54fcd7

Return only usage summaries with this productId value

Response

Successful operation

Example response

{
  "page": {
    "size": 50,
    "totalElements": 237,
    "totalPages": 5,
    "number": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.