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

Usage

Usage

Usage

Ingest events
client.v1.usage.ingest(UsageIngestParamsbody?, RequestOptionsoptions?): void
post/v1/ingest
Get batched usage data
client.v1.usage.list(UsageListParamsparams, RequestOptionsoptions?): dataarraynext_pageunionUsageListResponse
post/v1/usage
Get usage data with paginated groupings
client.v1.usage.listWithGroups(UsageListWithGroupsParamsparams, RequestOptionsoptions?): CursorPage<ending_beforestringgroup_keyuniongroup_valueunionstarting_onstringvalueunionUsageListWithGroupsResponse>
post/v1/usage/groups
Search events
client.v1.usage.search(UsageSearchParamsbody, RequestOptionsoptions?): idstringcustomer_idstringevent_typestringtimestampstringtransaction_idstringis_duplicatebooleanmatched_billable_metricsarraymatched_customerMatchedCustomerprocessed_atstringpropertiesRecord<string, unknown>UsageSearchResponse
post/v1/events/search