Skip to main content
GET
/
v1
/
billing-accounts
/
{billingAccountId}
/
spend
/
details
Get billing account spend details
curl --request GET \
  --url https://rest.compute.cudo.org/v1/billing-accounts/{billingAccountId}/spend/details \
  --header 'Authorization: <api-key>'
{
  "spend": [
    {
      "amount": {
        "value": "<string>"
      },
      "description": "<string>",
      "projectId": "<string>",
      "quantity": 123,
      "unit": "UNIT_UNKNOWN",
      "unitAmount": {
        "value": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

billingAccountId
string
required

Query Parameters

startTime
string<date-time>
required
endTime
string<date-time>
required

Response

A successful response.

spend
object[]
required