list usageRecordGroups
GET/org/:orgId/usageRecordGroup
List UsageRecordGroups by the given organization, partner, product, entitlement or buyer. Only provide one or none of the optional query parameters: partner, productId, entitlementId & buyerId .
Request
Path Parameters
Organization ID
Query Parameters
Possible values: [AWS, AZURE, GCP]
Cloud Partner
filter by buyer ID, default no filter by buyerId if not provided
filter by entitlement ID, default no filter by entitlementId if not provided
Possible values: [CREATED, DELETED, INVALID, REPORTED, REPORT_PENDING, REPORT_FAILED]
The status of the usage record group, default no filter by status if not provided
Possible values: [``, API, INTERNAL, LAGO, METRONOME, ORB, STRIPE]
The source of the usage record group, default no filter by source if not provided
metaInfo filter
start date (UTC) in YYYY-MM-DD format, default is 30 days before the endDate
end date (UTC) in YYYY-MM-DD format, default is today
List pagination size, default 1000, max value is 1000
List pagination offset, default 0
- application/json
Body
object
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
Array [
]
]
]
usageRecordGroups
object[]
metaInfo
object
read-only, don't set it up when reporting the usage record group.
If it is true, the validation of the usage record group is skipped.
billableRecords
object[]
for usage metering API v2
Key is the unique identifier of a billable metric.
properties
object
Properties is the filters of a billable metric. It should be equal to the filters of the billable metric.
Properties is the filters of a billable metric. It should be equal to the filters of the billable metric.
The quantity (or numeric value) of a billable metric.
ERP invoice ID for tracking usage against external ERP service.
The lago amount (in dollars) of the customer. This field keeps the largest of the monthly amount. So it can only be updated when the invoice month increases.
The lago subscription ID of the customer.
The lago usage start time of the customer usage.
The metronome daily cost amount (in dollars) of the customer.
Whether the metronome invoice has been credited back.
The metronome invoice amount (in dollars) of the customer.
The metronome invoice ID of the customer.
The metronome monthly invoice amount (in dollars) of the customer. This field keeps the largest amount of the invoice month. So it can only be updated when the invoice month increases.
The metronome monthly invoice amount (in dollars) of the customer, which is adjusted by the seller. This field is populated only when the invoice amount is decreased by the seller via credit granting.
originRecords
object
The original records reported by the customer before convertion. If no dimension mapping is applied, this field is the same as the records field.
Possible values: [``, API, INTERNAL, LAGO, METRONOME, ORB, STRIPE]
The source of the usage record group. Can be from Suger API or other third party services, such as Metronome.
The stripe period end time of the summary or invoice. UTC time in format "YYYY-MM-DDTHH:MM:SSZ".
The stripe period start time of the summary or invoice. UTC time in format "YYYY-MM-DDTHH:MM:SSZ".
The timestamp (UTC)) of when the usage records were generated. Optional, if not provided, the current report timestamp will be used.
usageAllocations
object
usage allocation information, dimension key -> UsageAllocation array. Only supported for AWS marketplace usage metering at this moment.
property name*
object[]
tags
object[]
Possible values: [AWS, AZURE, GCP]
records
object
nullable
{
"nextOffset": 0,
"usageRecordGroups": [
{
"buyerID": "string",
"creationTime": "2026-03-29T06:53:40.403Z",
"entitlementID": "string",
"id": "string",
"lastUpdateTime": "2026-03-29T06:53:40.403Z",
"metaInfo": {
"SkipValidation": true,
"billableRecords": [
{
"key": "string",
"properties": {},
"quantity": 0
}
],
"erpInvoiceID": "string",
"lagoAmount": 0,
"lagoSubscriptionID": "string",
"lagoUsageStartTime": "2026-03-29T06:53:40.403Z",
"metronomeDailyCostAmount": 0,
"metronomeInvoiceCreditBack": true,
"metronomeInvoiceCreditBackAmount": 0,
"metronomeInvoiceID": "string",
"metronomeMonthlyInvoiceAmount": 0,
"metronomeMonthlyInvoiceAmountAdjusted": 0,
"originRecords": {},
"source": "",
"stripeInvoiceID": "string",
"stripePeriodEndTime": "2026-03-29T06:53:40.403Z",
"stripePeriodStartTime": "2026-03-29T06:53:40.403Z",
"stripeSubscriptionItemID": "string",
"stripeUsageRecordSummaryID": "string",
"stripeUsageRecordSummaryTotalUsage": 0,
"timestamp": "2026-03-29T06:53:40.403Z",
"usageAllocations": {}
},
"organizationID": "string",
"partner": "AWS",
"records": {},
"reportedTime": "2026-03-29T06:53:40.403Z",
"serialID": 0,
"status": "string",
"usageRecordReportID": "string"
}
]
}
Bad request error
- application/json
- Schema
Schema
string
Internal server error
- application/json
- Schema
Schema
string