Skip to content

tinker.types.GetBillingUsageRequest

class tinker.types.GetBillingUsageRequest(StrictBase)

Query parameters for GET /api/v1/billing/usage/events.

Fields:

  • starting_on (datetime) – Inclusive window start, aligned to a UTC hour boundary
  • ending_before (datetime) – Exclusive window end, aligned to a UTC hour boundary; at most 14 days after starting_on; the window must not start in the future