Count events

Return event counts for a pixel. Supports filtering and distinct counting across one or more fields.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Pixel identifier to scope the query.

string

Project identifier. Queries all pixels in the project.

int64

Inclusive start timestamp in milliseconds since epoch. Required unless start_time is provided.

int64

Inclusive end timestamp in milliseconds since epoch. Required unless end_time is provided.

string

Inclusive start time. Accepts RFC 3339, date (YYYY-MM-DD), or Unix timestamp string. Alternative to start_ms.

string

Inclusive end time. Accepts RFC 3339, date (YYYY-MM-DD), or Unix timestamp string. Alternative to end_ms.

string

Filter expression using <field>:<op>:<value> syntax.

string

Fields to calculate a distinct count on. Multiple fields separated by commas.

Responses

400

Invalid parameters.

401

Missing or invalid authentication.

500

Internal server error.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json