Skip to main content
GET
/
billableEvents
curl --request GET \
     --url https://api.tryaqueduct.com/v1/billableEvents \
     --header 'Accept: application/json' \
     --header 'Authorization: null'
[
  {
    "id": "bevth_23423434",
    "timestamp": "2022-03-15T15:53:00.000Z",
    "accountOwnerId": "owner_23843573",
    "eventType": "count",
    "meterId": "cpu-hours",
    "count": 3
  }
]
curl --request GET \
     --url https://api.tryaqueduct.com/v1/billableEvents \
     --header 'Accept: application/json' \
     --header 'Authorization: null'

Authorizations

Authorization
string
header
required

Query Parameters

eventName
string
required

The eventName to filter by

customerId
string
required

The AccountOwner Id to filter by

Response

200 - application/json

Returns a list of BillableEvents that matched the parameters provided

id
string

A unique identifier for the object

Example:

"bevth_23423434"

timestamp
string

The datetime associated with this event

Example:

"2022-03-15T15:53:00.000Z"

accountOwnerId
string

The id of the AccountOwner associated with this event

Example:

"owner_23843573"

eventType
string

The type of event. Use the "count" eventType alongside the tiered-per-unit-meter NamedPriceFunctions.

Example:

"count"

meterId
string

The id of the meter associated with this event

Example:

"cpu-hours"

count
number

The count associated with this event. Used alongside the tiered-per-unit-meter NamedPriceFunctions.

Example:

3