Usage Records

List usage records

Changed on

Lists usage records. Also accepts filters/sort for a filtered query.

post/usage-records/search

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/usage-records/search
  • Auth
    API key in header x-api-key

Request body

currencystring
customer_external_idstring
customer_idstring
end_timestring date-time
expandstring
limitinteger
offsetinteger
order'asc' | 'desc'
period_endstring date-time
period_startstring date-time

Exact-match on the window boundaries. Together with SubscriptionID these identify a single row: they are the columns the table's unique index is built on.

plan_idstring
start_timestring date-time
status'published' | 'deleted' | 'archived'
subscription_idstring
syncedboolean

Response

OK

Changes