Skip to content

Get a single billing-event by id

GET
/billing-events/{id}
id
required
string

DocumentId

OK

object
data
object
event_type
required
string
Allowed values: compute_hour storage_gb api_call agent_action export user_seat
quantity
required
number
unit
string
unit_price_usd
number
total_usd
number
period_start
string format: date-time
period_end
string format: date-time
external_meter_id
string
stripe_meter_event_id
string
metadata

Arbitrary JSON value (object, array, string, number, boolean, or null)

organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found