Overview of the Trench API
JSONExtract function. For example, to query all events where the totalAccounts property is greater than 3, you can use the following query:
identify calls are sent to the same underlying events ClickHouse table, so you can join events with identified users using the userId column. For example, to query all events for a user with the ID user-123, you can use the following query:
track and identify event types:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The queries to execute.
[
"SELECT COUNT(*) FROM events WHERE event = \"UserSignedUp\""
]The queries have been successfully executed.
The limit of the pagination.
The offset of the pagination.
The total number of results. If null, the total is unknown.
The results of the queries, returned in the same order as the queries.
[{ "results": [{ "count": 3485241 }] }]