entitlements

List feature usage history

Changed on
get/feature-usage-history

Request

  • Base URL
    https://api.schematichq.com
  • URL
    https://api.schematichq.com/feature-usage-history
  • Auth
    API key in header X-Schematic-Api-Key

Query parameters

company_idsstring[]

Restrict to these company IDs; omit for every company in the environment

end_timestring date-time required

Exclusive end of the window; must fall on an hour boundary

feature_idsstring[]

Restrict to these event features; omit for every event feature in the environment. Where several features measure the same event, each is reported separately and a page may carry more rows than the requested limit

granularity'daily' | 'hourly' | 'monthly' | 'weekly'

Bucket the window; omit for a single total per company and feature

start_timestring date-time required

Inclusive start of the window; must fall on an hour boundary

limitinteger

Page limit (default 100)

offsetinteger

Page offset (default 0)

Response

OK

Changes