list usageRecordReports
GET https://api.suger.cloud/org/{orgId}/usageRecordReport
List usageRecordReports under the given organization, partner, entitlement or buyer, within the given time range and pagination.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
partner | query | string | no | Cloud Partner |
buyerId | query | string | no | buyer ID |
entitlementId | query | string | no | entitlement ID |
startDate | query | string | no | start date (UTC) in YYYY-MM-DD format, default is 30 days before the endDate |
endDate | query | string | no | end date (UTC) in YYYY-MM-DD format, default is today |
limit | query | integer | no | List pagination size, default 1000, max value is 1000 |
offset | query | integer | no | List pagination offset, default 0 |
Responses
200 — OK
Content-Type: application/json · Schema: ListUsageRecordReportsResponse
400 — Bad request error
Content-Type: application/json
500 — Internal server error
Content-Type: application/json