Count an event type’s events over time
How many of its events happened per day, week or month of a period (at most 400 buckets), days starting in `timeZone`.
How many of its events happened per day, week or month of a period (at most 400 buckets), days starting in timeZone.
apiKey readAuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: read
id*stringuuidfrom*stringFrom this time (inclusive)
date-timeto*stringUntil this time (exclusive)
date-timeinterval?string"day""day""week""month"timeZone?stringThe IANA time zone days start in; UTC by default
"UTC"store?stringComma-separated ids
OK
application/json- response
interval*string"day""week""month"timeZone*stringbuckets*array<>total*integercurl -X GET 'https://api.postforge.dev/v1/event-types/497f6eca-6276-4993-bfeb-53cbbbba6f08/counts?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'{ "interval": "day", "timeZone": "string", "buckets": [ { "start": "2019-08-24T14:15:22Z", "count": 0 } ], "total": 0}List an event type’s events GET
Its events, newest first, a page at a time by cursor (`nextCursor` until the last page), each with who it happened to and its payload as received. `from` and `to` keep it to a period: only those months are read.
List object types GET
Archived ones only when the status filter asks for them.