Skip to content

Billing audit views for marketplace usage submissions and workload charge composition.

GET/billing

List billable cloud accounts

Returns marketplace-linked cloud accounts for the calling organization, including the most recent submission timestamp and the current rate card.

Responses

Responses

A list of billable cloud accounts with the current rate card.

application/json
JSON
{
  
"items": [
  
  
{
  
  
  
"id": "A1B2C3D4E5",
  
  
  
"cloudAccountId": "string",
  
  
  
"provider": "AWS",
  
  
  
"status": "pending",
  
  
  
"lastSubmissionAt": "string",
  
  
  
"providerId": "string"
  
  
}
  
],
  
"rateCard": {
  
  
"rates": [
  
  
  
{
  
  
  
  
"factor": "string",
  
  
  
  
"currency": "string",
  
  
  
  
"amount": 0
  
  
  
}
  
  
]
  
},
  
"marker": "string"
}
GET/billing/{cloudAccountId}

List submission windows for a cloud account

Returns metering submission windows for one cloud account, optionally filtered by date range and zero-usage inclusion.

Parameters

limitinteger
limit

The maximum number of items to list.

Type
integer
Format
"int32"
Minimum
0
Maximum
100
Default
100
markerstring
marker

The pagination token returned from the previous list operation.

Type
string
fromstring
from

Include submissions with period_start at or after this timestamp.

Type
string
Format
"date-time"
tostring
to

Include submissions with period_end at or before this timestamp.

Type
string
Format
"date-time"
includeZeroUsageboolean
includeZeroUsage

Include windows where submitted usage quantity was zero.

Type
boolean
Default
false
Responses

Responses

A list of billing submissions for one cloud account.

application/json
JSON
{
  
"items": [
  
  
{
  
  
  
"id": "A1B2C3D4E5",
  
  
  
"periodStart": "string",
  
  
  
"periodEnd": "string",
  
  
  
"status": "string",
  
  
  
"submittedAt": "string",
  
  
  
"quantitySubmitted": 0
  
  
}
  
],
  
"marker": "string"
}
GET/billing/{cloudAccountId}/{submissionId}

Get submission workload composition

Returns workload-level contributions included in a metering submission window, including the physical usage factors used to compute the submitted amount.

Responses

Responses

Workload-level billing composition for one submission.

application/json
JSON
{
  
"items": [
  
  
{
  
  
  
"sourceId": "A1B2C3D4E5",
  
  
  
"vcpuHours": 0,
  
  
  
"memoryGbHours": 0,
  
  
  
"dollarAmount": 0,
  
  
  
"workloadLabel": "string"
  
  
}
  
],
  
"rateCard": {
  
  
"rates": [
  
  
  
{
  
  
  
  
"factor": "string",
  
  
  
  
"currency": "string",
  
  
  
  
"amount": 0
  
  
  
}
  
  
]
  
}
}

Can't find the answer here? Email us: support@lakesail.com