GET
/
openapi
/
v1
/
billing
/
bill
/
monthly
/
list
curl --request GET \
  --url https://api.novita.ai/openapi/v1/billing/bill/monthly/list \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>'
{
  "bills": [
    {
      "userId": "<string>",
      "startTime": "<string>",
      "endTime": "<string>",
      "memberId": "<string>",
      "productName": "<string>",
      "productCategory": "<string>",
      "ownerID": "<string>",
      "tradeMode": "<string>",
      "tradeType": "<string>",
      "basePrice": "<string>",
      "billNum": "<string>",
      "amount": "<string>",
      "voucherAmount": "<string>",
      "payAmount": "<string>",
      "payAmountDisplay": "<string>",
      "pricePrecision": "<string>",
      "createTime": "<string>",
      "cycle": "<string>",
      "storageDays": "<string>"
    }
  ]
}

Request Headers

Content-Type
string
required

Enum: application/json

Authorization
string
required

Bearer authentication format, for example: Bearer {{API Key}}.

Query Parameters

category
string

Product type. default: summary, Options:

  • summary (Summary bill)
  • gpu (GPU instance)
  • local_storage (Storage resources)
  • image (Image dedicated endpoint)
productName
string

Product name. Supports fuzzy matching.

startTime
string

The start time of the bill to query, timestamp in seconds, default: 0.

endTime
string

The end time of the bill to query, timestamp in seconds, default: 0.

ownerId
string

Specify the instance ID to query.

Response Parameters

bills
object[]
required

Billing information for fixed-term instances.