---
title: "List Usage Summary Lines"
method: GET
path: "/usage-summaries/{usageSummaryId}/usage-lines"
tags: ["Usage Summaries"]
---

# List Usage Summary Lines

`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`

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

## Path parameters

- `usageSummaryId` string, uuid, required

## Query parameters

- `usageDate` string, yyyy-MM-dd, required
- `productId` string, uuid

## Response `200`

Successful operation

- object
  - `content` UsageLine[]
    - `usageSummaryId` string, uuid: The associated usage summary id
    - `usageDate` string, yyyy-MM-dd: The date the usage was recorded
    - `productName` string: The usage product name
    - `productId` string, uuid: The usage product id
    - `unitOfMeasure` string: The product unit of measure
    - `quantity` number: The usage quantity
    - `currentCharges` number: Charges for the usage line
    - `currentProfit` number: Profit for the usage line
    - `partnerTotal` number: The partner total for the usage line
    - `unitPrice` number: The unit price of the usage product
    - `currencyCode` string: The currency ISO 4217 code
    - `isTrial` boolean: Indicates if the usage line is for a trial
  - `page` Page
    - `size` number: The size of the page
    - `totalElements` unknown
    - `totalPages` unknown
    - `number` unknown

## Other responses

- `404`: Invalid usage summary id

---

[API](https://skmtc.dev/pax8/apis/partner-endpoints.md) - [All operations](https://skmtc.dev/pax8/apis/partner-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/pax8/apis/partner-endpoints/revisions/f90cec5b4720?raw)
