Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Usage

Usage

Usage

Ingest events
v1.usage.ingest(UsageIngestParams**kwargs)
post/v1/ingest
Get batched usage data
v1.usage.list(UsageListParams**kwargs) -> datalistnext_pagestrUsageListResponse
post/v1/usage
Get usage data with paginated groupings
v1.usage.list_with_groups(UsageListWithGroupsParams**kwargs) -> SyncCursorPage[ending_beforedatetimegroup_keystrgroup_valuestrstarting_ondatetimevaluefloatUsageListWithGroupsResponse]
post/v1/usage/groups
Search events
v1.usage.search(UsageSearchParams**kwargs) -> idstrcustomer_idstrevent_typestrtimestampdatetimetransaction_idstris_duplicateboolmatched_billable_metricslistmatched_customerUsageSearchResponseItemMatchedCustomerprocessed_atdatetimepropertiesDict[str, object]UsageSearchResponse
post/v1/events/search